aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch'Brian Paul2009-11-049-191/+191
|\ | | | | | | | | | | Conflicts: src/mesa/drivers/windows/gdi/mesa.def
| * vbo: fix out-of-bounds array accessBrian Paul2009-11-043-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | The exec->vtx.inputs[] array was being written past its end. This was clobbering the following vbo_exec_context::eval state. Probably not noticed since evaluators and immediate mode rendering don't happen at the same time. Fixed the loop in vbo_exec_vtx_init(). Changed the size of the vbo_exec_context::vtx.arrays[] array. Added a bunch of debug-build assertions. Issue found by Vinson Lee.
| * mesa: fix broken pack_histogram() case for GLhalfBrian Paul2009-11-041-3/+4
| |
| * mesa: silence warning from gcc 4.4.1Brian Paul2009-11-041-2/+2
| |
| * Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
| * glslcompiler: Fix Mac OS build.Vinson Lee2009-11-041-1/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul2009-11-032-173/+173
| | | | | | | | Revised version of a patch from Karl Schultz.
| * windows: remove old entrypoints from mesa.def fileKarl Schultz2009-11-031-12/+0
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz2009-11-032-12/+12
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | ARB prog parser: include variable name in error textBrian Paul2009-11-043-468/+749
| |
* | r600: rework draw functionsAlex Deucher2009-11-041-64/+134
| | | | | | | | | | | | | | | | | | | | Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <[email protected]>
* | r600: fix count prediction for IB caseAlex Deucher2009-11-041-1/+1
| | | | | | | | Signed-off-by: Alex Deucher <[email protected]>
* | Fix YTILE spantmp functionsAlan Hourihane2009-11-041-2/+2
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-11-033-13/+23
|\|
| * st/mesa: clip pixels in draw_stencil_pixels to avoid crashMarek Olšák2009-11-031-5/+15
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencilBrian Paul2009-11-031-0/+2
| | | | | | | | | | | | | | | | util_blit_pixels_writemask() only works for color formats at this time. Also, it might never work for depth/stencil surfaces since we can't get handle stencil values in a fragment shader. Fixes glCopyTexSubImage(GL_DEPTH_COMPONENT).
| * st/mesa: fix tests for depth and depth/stencil texture formatsBrian Paul2009-11-031-7/+5
| |
| * Add --with-dri-searchpath argumentChow Loong Jin2009-10-301-1/+1
| | | | | | | | | | | | | | * Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <[email protected]>
* | mesa: clean-up, remove some flushing in FBO functionsBrian Paul2009-11-031-7/+11
| | | | | | | | | | Remove some unneeded flushes. Replace FLUSH_CURRENT w/ FLUSH_VERTICES in other places.
* | mesa: fix indentationBrian Paul2009-11-031-2/+1
| |
* | mesa: clean-up formattingBrian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER changes in _mesa_BindFramebufferEXT()Brian Paul2009-11-031-7/+10
| |
* | mesa: use FLUSH_VERTICES() in _mesa_drawbuffers()Brian Paul2009-11-031-1/+1
| |
* | mesa: avoid extraneous _NEW_BUFFER state in _mesa_drawbuffers()Brian Paul2009-11-031-9/+29
| |
* | mesa: use ffs() to shorten loop in _mesa_drawbuffers()Brian Paul2009-11-031-6/+10
| |
* | mesa: added assertion, another commentBrian Paul2009-11-031-1/+3
| |
* | intel: avoid unnecessary front buffer flushing/updatingBrian Paul2009-11-035-2/+27
| | | | | | | | | | | | | | | | | | | | | | Before, if we just called glXMakeCurrent() and didn't render anything we'd still trigger a flushFrontBuffer() call. Now only set the intel->front_buffer_dirty field at state validation time just before we draw something. NOTE: additional calls to intel_check_front_buffer_rendering() might be needed if I missed some rendering paths.
* | mesa: added commentBrian Paul2009-11-021-0/+2
| |
* | mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-6/+2
| |
* | mesa: use _mesa_get_current_tex_object()Brian Paul2009-11-021-13/+4
| |
* | mesa: make _mesa_get_current_tex_objec() publicBrian Paul2009-11-022-31/+33
| |
* | ARB prog parser: Fix a couple issues with previous merge from mesa_7_6_branchIan Romanick2009-11-022-190/+200
| | | | | | | | | | | | | | | | Since the addition of support for Nvidia condition codes, the lexer internally uses handle_ident to select between returning IDENTIFIER and USED_IDENTIFIER. Also, use return_string instead of strdup. Fixes bug #24809.
* | r600: implement LOG op in compilerPierre Ossman2009-11-022-3/+214
| |
* | r600: implement EXP op in compilerPierre Ossman2009-11-022-3/+130
| |
* | mesa: fix incorrect approx bits/channel for fxt1 formatsBrian Paul2009-11-021-2/+2
| | | | | | | | See bug 24806.
* | radeon: add missing includeDave Airlie2009-10-311-0/+1
| |
* | radeon: use _mesa_get_current_tex_unitDave Airlie2009-10-311-1/+1
| |
* | ARB prog parser: regenerated filesBrian Paul2009-10-302-294/+321
| |
* | ARB prog parser: new set_src_reg(), set_dst_reg() helpersBrian Paul2009-10-301-28/+55
| | | | | | | | These functions do sanity checks on the register file and index.
* | mesa: better error messageBrian Paul2009-10-301-2/+2
| |
* | intel: Use GTT mapping when available for swrast.Eric Anholt2009-10-303-1/+88
| | | | | | | | | | | | | | This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on my GM45. It should also hide most of the A17 swizzling issues, though they'll still exist when swapping occurs (which is the kernel's problem either way).
* | x86: Fix the test for negative pixel count in optimized rgb565 spans.Eric Anholt2009-10-301-1/+1
| | | | | | | | | | There's a bunch of bogus looking stuff the count handling in this code, but this fixes the testcases we have.
* | intel: Fix up z24_x8 depth spans since the texformat merge.Eric Anholt2009-10-301-12/+6
| |
* | i965: Add an index assert on get_fp_inst array like other compiler arrays.Eric Anholt2009-10-301-0/+1
| |
* | i965: Fix BRW_WM_MAX_INSN to reflect current limits.Eric Anholt2009-10-301-2/+1
| | | | | | | | Part of fixing bug #24355.
* | intel: Set the texture format in the TFP path.Eric Anholt2009-10-301-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | This fixes a regression in piglit's tfp test as of 11caea687e3f10ae12d33e44edf84635f73047dd. Additionally, set the texture format for the RGB textures to MESA_FORMAT_XRGB8888 and support it in the hw paths so that hopefully sw fallbacks involving TFP get better alpha behavior. The radeon drivers appear to need the same fix. Bug #24803
* | r600: remove duplicate lineAlex Deucher2009-10-301-1/+0
| |
* | r600: fill in some missing tex formatsAlex Deucher2009-10-301-0/+46
| | | | | | | | | | | | | | | | | | This improves shadowtex since the component ordering is at least correct now, but I'm not sure how to deal with texturing from a depth surface yet due to differences in depth and color tile layouts. Signed-off-by: Alex Deucher <[email protected]>
* | r600: fix a warning, update commentsAlex Deucher2009-10-301-3/+3
| |
* | r600: use AUTO_INDEX for draw - saves cmd buffer spaceAndre Maasikas2009-10-301-18/+10
| | | | | | | | also seems we can use INDX_OFFSET if start != 0