summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-21dri_inteface: add define for checking presence of drm.hGeorge Sapountzis
__NOT_HAVE_DRM_H is a like a feature, defined by default on specific platforms and allows to be defined externally as well. __NOT_HAVE_DRM_H should only be used by xserver and mesa swrast_dri drivers
2010-03-21glx: minor cosmeticGeorge Sapountzis
2010-03-21glx: swapBuffers prototype has changedGeorge Sapountzis
2010-03-21vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen
vbo_split_copy was passing one past the max_index to draw function which caused _tnl_draw_prims function to read uninitialized values from copied array. Bug was spoted in valgrind report of progs/tests/cva_huge.
2010-03-21dri/nouveau: Reemit the light model state when lighting goes on/off.Francisco Jerez
2010-03-21dri/nouveau: Random cleanups.Francisco Jerez
2010-03-21r300g: fix occlusion query hangs.Dave Airlie
Okay need to revist the whole OQ stuff anyways, glean test asserts which is never good. I'm liking the cached bufmgr restrictions less and less, I think I'll probably play with the fence and/or busy stuff ASAP and try and clean it up. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21r300g: add bufmgr cached for vertex/index buffers.Dave Airlie
This adds the cached bufmgr for vertex/index buffers on top of the kernel manager. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21gallium: cached bufmgr add map busy checkDave Airlie
Suggested by Jose on the list, probably not perfect but will let me get past this for now, testing with a fenced bufmgr on top of this, was slower, Also this doesn't let you do the busy early exit optimisation either from what I can see. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu
2010-03-21r300g: align misaligned ushort vertex indicesMarek Olšák
2010-03-21r300g: fix misaligned generated offset for ubyte vertex indicesMarek Olšák
2010-03-21r300g: split the vertex buffer alignment validationMarek Olšák
2010-03-21r300g: skip null vertex buffersMarek Olšák
2010-03-21r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák
2010-03-20r300g: Bump immediate limits.Corbin Simpson
Seems like a decent idea, especially since the big barrier now is getting the VBOs back from the VRAM boundary.
2010-03-20r300g: Correctly hax max_index on pipe_vertex_buffers.Corbin Simpson
Still not happy with this, but at least things seem to work.
2010-03-20radeong: Use TRUE and FALSE.Corbin Simpson
2010-03-20radeong: Test the BO ptr for NULL instead of using a bool.Corbin Simpson
Slight memory savings, but more importantly also avoids a potential NULL dereference.
2010-03-21r300g: winsys fix tiling change flushes.Dave Airlie
If we change the tiling on a buffer we need to flush it, the old radeon_buffer.c code had this but it crossed streams when I ported to radeon_drm_buffer.c and I missed it. Should fix some piglit regressions. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-21r300g: add buffer/texture referenced checks.Dave Airlie
I've no idea about the comments that were in there, just pass this down to the winsys. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-20mesa: added GL3 query for GL_TEXTURE_SHARED_SIZEBrian Paul
2010-03-20mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul
2010-03-20mesa: added new GL3 buffer object queriesBrian Paul
And clean up the error checking code.
2010-03-20mesa: added GL3 buffer attachment aliasesBrian Paul
2010-03-20mesa: added GL3 ContextFlags field and query codeBrian Paul
2010-03-20r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák
2010-03-21glapi: Fix aliases to non-static functions.Chia-I Wu
The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
2010-03-20glapi: Correctly generate static disatches for X86.Chia-I Wu
The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
2010-03-20st/dri: fix bug in make_currentGeorge Sapountzis
2010-03-20st/dri: fix bug in allocate_texturesGeorge Sapountzis
2010-03-19r300g: remove hacks from translate_vertex_data_swizzleMarek Olšák
Fixing RGBA 4ub vertex colors.
2010-03-19drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul
Based on a patch from Tom Fogal.
2010-03-19gallivm: simplify and clean-up Z/stencil bit mask/shift codeBrian Paul
Refactor the code into two helper functions which compute the bit mask and shift terms for Z and stencil. Plus add a bunch of new comments to explain everything.
2010-03-19cso: remove cso_set/save/restore_sampler_texturesRoland Scheidegger
no longer used after all statetrackers have been converted.
2010-03-19st/vega: fix up vega state tracker to use cso changesRoland Scheidegger
use cso fragment sampler views instead of sampler textures. since we don't really change views, try to store sampler views instead of the textures to avoid having to recreate views most of the time.
2010-03-19es: added -I$(TOP)/include pathBrian Paul
2010-03-19gallium/docs: Clarify sampler view descriptions.Michal Krol
2010-03-19gallium/docs: Fix a couple ReST errors.Corbin Simpson
2010-03-19r300g: lod min/max clamping should be relative to the base levelMarek Olšák
2010-03-19r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák
2010-03-18intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick
The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
2010-03-18intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.Ian Romanick
2010-03-19r300g: add PIPE_FORMAT_B5G5R5X1_UNORM colorbuffer support, cleanupsMarek Olšák
2010-03-19r300g: mark SRGB colorbuffers as unsupportedMarek Olšák
I can't find the register bits for SRGB-aware blending and it's not even exposed by fglrx so it's most probably not supported by hw.
2010-03-19r300g: add generating texture coordinates for point sprites (WIP)Marek Olšák
2010-03-18gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil codeBrian Paul
2010-03-18Use bit-wise not instead of logical not.Ian Romanick
The assertion is checking that the low-order bits of offset are not set. It does this by anding the inverted offset mask with the offset. This is clearly intended to be a bit-wise "invert". Fixes bug #25984.
2010-03-18gallivm: fix broken INCR/DECR stencil modesBrian Paul
We were mistakenly using the wrong data type for stencil values before.
2010-03-18gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two...