summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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...
2010-03-18llvmpipe: defines for RAST_WHOLE, RAST_EDGE_TESTBrian Paul
2010-03-18Add format B5G5R5X1Alan Hourihane
2010-03-18gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul
Instead of passing an array, just pass two scalar values.
2010-03-18gallivm: checkpoint WIP two-sided stencil testBrian Paul
2010-03-18llvmpipe: set opaque = FALSE if stencil enabledBrian Paul
Fixes occasional bad tiles seen in some demos like progs/demos/reflect.c
2010-03-18st/mesa: s/unpack/pack/ to be more consistentBrian Paul
2010-03-18dri/nouveau: Flush after texture validation.Francisco Jerez
Swizzling needs the destination surface in VRAM, but the subsequent rendering operations making use of it are likely to not care. Fire the ring after validation to leave the memory manager more room for maneuvering.
2010-03-18dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.Francisco Jerez
2010-03-18dri/nouveau: Implement texcoord generation.Francisco Jerez
2010-03-18dri/nouveau: Implement texture matrices.Francisco Jerez
2010-03-18dri/nouveau: Some minor vertex submission fixes.Francisco Jerez
2010-03-18dri/nouveau: only reallocate texture when neededXavier Chantry
nouveau reallocated the mipmap tree on every MIN_FILTER call to account for mipmap change. We only need to do this if the texture does not fit in the existing mipmap tree. This gives a big performance boost for a game like bzflag which changes MIN_FILTER all the time for its font rendering. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-03-18intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg
The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
2010-03-18llvmpipe: Fix crashes when there is no depth buffer bound.José Fonseca
2010-03-17intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg
The default viewport is the window rectangle, which is set up by _mesa_make_current(). To be able to do that we need to get the window dimension (and buffers) first, so we have to call intel_prepare_render() before we can call into _mesa_make_current(). Fixes #26676 and #26678.
2010-03-18st/mesa: Set the pipe context of the texture object.Chia-I Wu
The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03. This fixes a NULL dereference in xdemos/texture_from_pixmap.
2010-03-18st/dri: Switch from st_public.h to st_api.h.Chia-I Wu
This is tested with demos found in progs/demos. However, only the DRI2 path is tested.