summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* intel: Call intel_prepare_render() before looking up regions.Kristian Høgsberg2010-03-223-6/+9
| | | | Fixes #27213.
* st/mesa: Remove unnecessary headers.Vinson Lee2010-03-222-3/+0
|
* glslcompiler: fix build againBrian Paul2010-03-221-7/+2
| | | | | Simply use the libglapi.a archive instead of individual .o files. Fixes the non-debug build.
* dri/nouveau: Rectangle texture fixes.Francisco Jerez2010-03-222-28/+46
|
* dri/nouveau: Some render to texture fixes.Francisco Jerez2010-03-221-5/+1
|
* dri/nouveau: Fix swrast fallbacks when the read and draw buffers aren't the ↵Francisco Jerez2010-03-221-10/+20
| | | | same.
* dri/nouveau: Expose EXT_framebuffer_blit.Francisco Jerez2010-03-222-0/+2
|
* dri/nouveau: Plug in some mesa_meta functions instead of the swrast variants.Francisco Jerez2010-03-221-0/+3
|
* dri/nouveau: Emit dirty states on nouveau_validate_framebuffer.Francisco Jerez2010-03-221-1/+3
| | | | | Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4).
* glslcompiler: fix build breakageBrian Paul2010-03-221-0/+1
|
* Merge branch '7.8'Brian Paul2010-03-2211-107/+65
|\ | | | | | | | | | | | | Conflicts: src/gallium/drivers/cell/ppu/cell_screen.c src/mesa/state_tracker/st_cb_drawpixels.c
| * glslcompiler: fix build breakageBrian Paul2010-03-221-1/+2
| |
| * mesa: Add end of line to the end of a debug output.Pauli Nieminen2010-03-221-1/+1
| |
| * r200: Fix emit size prediction to account elt splitting.Pauli Nieminen2010-03-212-3/+4
| | | | | | | | | | Emit sizes prediction didn't account for render splitting in hwtnl path.
| * r200: Don't flush when closing elts in KMS.Pauli Nieminen2010-03-211-1/+2
| | | | | | | | | | | | | | Flush in middle of rendering in KMS is not allowed because buffers are discarded in flush. Fixes crash when emiting split indices with RADEON_DEBUG=all.
| * r200: Fix swtnl fallback to flush pending rendering before transition.Pauli Nieminen2010-03-211-4/+14
| | | | | | | | | | | | | | | | Flush after transition would emit wrong state that could cause wrong state emited for pending rendering operation. Fixes wan once from extrement tuxracer that is using per vertex materials.
| * r200: Fix mixed indetion in r200TclFallback.Pauli Nieminen2010-03-211-21/+20
| |
| * vbo: Fix vbo_split_copy to pass correct max_index to draw.Pauli Nieminen2010-03-211-1/+1
| | | | | | | | | | | | | | | | 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.
| * r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-201-3/+2
| |
| * glapi: Fix aliases to non-static functions.Chia-I Wu2010-03-212-5/+5
| | | | | | | | | | | | | | 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.
| * glapi: Correctly generate static disatches for X86.Chia-I Wu2010-03-202-64/+6
| | | | | | | | | | The entry point names, instead of the function name, should be used to test if the entry point should be statically dispatched.
| * drivers/x11: add PUBLIC qualifier to more API functionsBrian Paul2010-03-191-7/+8
| | | | | | | | Based on a patch from Tom Fogal.
| * intel: Use bit-wise not instead of logical not (i830 path)Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | 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.
| * intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.Ian Romanick2010-03-181-1/+3
| |
| * Use bit-wise not instead of logical not.Ian Romanick2010-03-181-1/+1
| | | | | | | | | | | | | | | | 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.
| * st/mesa: s/unpack/pack/ to be more consistentBrian Paul2010-03-181-6/+6
| |
| * intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg2010-03-181-1/+1
| | | | | | | | | | | | | | | | | | 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.
* | mesa: remove return, do as the comment saysBrian Paul2010-03-221-1/+0
| |
* | rename dri_sw to drisw_util for consistencyGeorge Sapountzis2010-03-214-4/+4
| |
* | dri_inteface: add define for checking presence of drm.hGeorge Sapountzis2010-03-211-0/+2
| | | | | | | | | | | | | | __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
* | dri/nouveau: Reemit the light model state when lighting goes on/off.Francisco Jerez2010-03-211-0/+1
| |
* | dri/nouveau: Random cleanups.Francisco Jerez2010-03-219-109/+48
| |
* | Merge remote branch 'origin/gallium-st-api-dri'Chia-I Wu2010-03-211-0/+1
|\ \
| * | st/mesa: Set the pipe context of the texture object.Chia-I Wu2010-03-181-0/+1
| | | | | | | | | | | | | | | The field was added in b8030c6561e019e079b5be2fe64ec804df4bfa03. This fixes a NULL dereference in xdemos/texture_from_pixmap.
* | | r300/compiler: fix assertion failure in the r500-fragprog emission pathMarek Olšák2010-03-211-3/+2
| | |
* | | mesa: added GL3 query for GL_TEXTURE_SHARED_SIZEBrian Paul2010-03-201-0/+12
| | |
* | | mesa: added missing glGet query for GL_MAX_ARRAY_TEXTURE_LAYERS_EXTBrian Paul2010-03-202-0/+18
| | |
* | | mesa: added new GL3 buffer object queriesBrian Paul2010-03-201-15/+53
| | | | | | | | | | | | And clean up the error checking code.
* | | mesa: added GL3 buffer attachment aliasesBrian Paul2010-03-201-0/+4
| | |
* | | mesa: added GL3 ContextFlags field and query codeBrian Paul2010-03-203-1/+17
| | |
* | | dri/nouveau: Flush after texture validation.Francisco Jerez2010-03-181-0/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* | | dri/nouveau: Avoid pushbuf flushes in the middle of LMA setup.Francisco Jerez2010-03-181-0/+1
| | |
* | | dri/nouveau: Implement texcoord generation.Francisco Jerez2010-03-1811-14/+143
| | |
* | | dri/nouveau: Implement texture matrices.Francisco Jerez2010-03-189-0/+78
| | |
* | | dri/nouveau: Some minor vertex submission fixes.Francisco Jerez2010-03-182-11/+11
| | |
* | | dri/nouveau: only reallocate texture when neededXavier Chantry2010-03-181-11/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* | | intel: Call _mesa_make_current() after getting initial buffersKristian Høgsberg2010-03-171-1/+1
|/ / | | | | | | | | | | | | | | | | 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.
* | intel: Replace mt->pitch with mt->region->pitch.Eric Anholt2010-03-1711-122/+47
| | | | | | | | | | | | The pitch is not really an inherent part of the miptree, since it's not part of any of the layout calculations, and it's dictated by the libdrm-allocated region pitch now.
* | intel: Return false like other blit failure paths if out of aperture.Eric Anholt2010-03-171-16/+2
| | | | | | | | | | | | | | The primary consumer of this (miptree relayout) already has this code for handling failure, and the other paths want to know if failure actually occurs and do something appropriate, which may not include memcpy.
* | intel: Respect src pitch in _mesa_copy_rect().Eric Anholt2010-03-171-1/+1
| | | | | | | | | | If a non-zero src_y was used, this would break piglit depth-level-clamp.