Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'mesa_7_6_branch' into mesa_7_7_branch | Brian Paul | 2009-12-11 | 18 | -46/+120 |
|\ | |||||
| * | mesa: check dst reg in _mesa_find_free_register() | Brian Paul | 2009-12-11 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | If a register was only being used as a destination (as will happen when generated condition-codes) we missed its use. So we'd errantly return a register index that was really in-use, not free. Fixes bug 25579. | ||||
| * | sparc: additional preprocessor test for SPARC 64-bit | Aurelien Jarno | 2009-12-11 | 1 | -1/+1 |
| | | |||||
| * | mesa: Initialize variable in MatchInstruction. | Vinson Lee | 2009-12-10 | 1 | -1/+7 |
| | | |||||
| * | mesa: Assign _mesa_lookup_parameter_index return value to GLint. | Vinson Lee | 2009-12-10 | 1 | -1/+1 |
| | | |||||
| * | i915: Add missing break statement in i915_debug_packet. | Vinson Lee | 2009-12-10 | 1 | -0/+1 |
| | | |||||
| * | glsl: Increase size of array in_slang_lookup_constant from 4 to 16. | Vinson Lee | 2009-12-10 | 1 | -1/+1 |
| | | | | | | | | For some cases, _mesa_GetIntegerv reads up to params[15]. | ||||
| * | progs/samples: Byte swap individual members of struct _rawImageRec. | Vinson Lee | 2009-12-10 | 1 | -1/+6 |
| | | |||||
| * | progs/util: Byte swap individual members of struct _rawImageRec. | Vinson Lee | 2009-12-10 | 1 | -1/+6 |
| | | |||||
| * | glsl: Fix array out-of-bounds access by _slang_lookup_constant. | Vinson Lee | 2009-12-10 | 1 | -4/+5 |
| | | |||||
| * | mesa: Fix array out-of-bounds access by _mesa_TexParameteriv. | Vinson Lee | 2009-12-10 | 1 | -2/+4 |
| | | |||||
| * | mesa: Fix array out-of-bounds access by _mesa_TexGend. | Vinson Lee | 2009-12-09 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_TexGend calls _mesa_TexGenfv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_Lighti. | Vinson Lee | 2009-12-09 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_Lighti calls _mesa_Lightiv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_Lightf. | Vinson Lee | 2009-12-09 | 1 | -1/+4 |
| | | |||||
| * | mesa: Fix array out-of-bounds access by _mesa_PointParameteri. | Vinson Lee | 2009-12-09 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_PointParameteri calls _mesa_PointParameterfv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_PointParameterf. | Vinson Lee | 2009-12-09 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_PointParameterf calls _mesa_PointParameterfv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_LightModelf. | Vinson Lee | 2009-12-09 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_LightModelf calls _mesa_LightModelfv, which uses the params argument as an array. | ||||
| * | glsl: Remove unused member x from struct slang_operation. | Vinson Lee | 2009-12-09 | 1 | -1/+0 |
| | | |||||
| * | mesa: fix baseLevel >= MAX_TEXTURE_LEVELS test | Brian Paul | 2009-12-09 | 1 | -1/+1 |
| | | | | | | | | | | This fixes invalid array indexing when baseLevel == MAX_TEXTURE_LEVELS. See bug 25528. | ||||
| * | r600: fix state size prediction after dc0777d3 | Andre Maasikas | 2009-12-09 | 1 | -1/+5 |
| | | |||||
| * | mesa: Fix array out-of-bounds access by _mesa_LightModeli. | Vinson Lee | 2009-12-08 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_LightModeli calls _mesa_LightModeliv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_Fogf. | Vinson Lee | 2009-12-08 | 1 | -1/+4 |
| | | | | | | | | | | _mesa_Fogf calls _mesa_Fogfv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_TexParameteri. | Vinson Lee | 2009-12-08 | 1 | -1/+6 |
| | | | | | | | | | | _mesa_TexParameteri calls set_tex_parameteri, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_Fogi. | Vinson Lee | 2009-12-08 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_Fogi calls _mesa_Fogfv, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_TexParameteri. | Vinson Lee | 2009-12-08 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_TexParameteri calls set_tex_parameterf, which uses the params argument as an array. | ||||
| * | mesa: Fix array out-of-bounds access by _mesa_TexParameterfv. | Vinson Lee | 2009-12-08 | 1 | -2/+4 |
| | | | | | | | | | | _mesa_TexParameterfv calls set_tex_parameteri, which uses the params argument as an array. | ||||
| * | vbo: fix array index out of bounds error, and fix evaluator priorities | Brian Paul | 2009-12-08 | 1 | -12/+21 |
| | | | | | | | | | | | | | | Fixes bug 25525. Plus, the GL_NV_vertex_program evaluators alias and override the convential evaluator maps, so set their state after the conventional maps. | ||||
| * | i915g: Fix memory leak when pci id is unknown. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | |||||
| * | i915g: Add missing break statement in i915_debug_packet. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | |||||
| * | rbug: Initialize variable in rbug_get_message. | Vinson Lee | 2009-12-08 | 1 | -0/+1 |
| | | | | | | | | Silences uninitialized variable warning. | ||||
* | | scons: Tweak MSVC release options. | José Fonseca | 2009-12-11 | 1 | -2/+7 |
| | | | | | | | | Enable whole program optimizations and fast math. | ||||
* | | svga: Add a missing dependency from the prescale state. | José Fonseca | 2009-12-11 | 1 | -1/+2 |
| | | | | | | | | | | | | Thanks for Keith to finding this. Fixes Jedi Knight 2 menus. | ||||
* | | svga: Always pass SVGA3D_SURFACE_HINT_DYNAMIC. | José Fonseca | 2009-12-11 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | | Since we're reusing buffers we're effectively transforming all of them into dynamic buffers. It would be nice to not cache long lived static buffers. But there is no way to detect the long lived from short lived ones yet. A good heuristic would be buffer size. | ||||
* | | svga: Keep tight control of texture handle ownership. | José Fonseca | 2009-12-11 | 2 | -17/+27 |
| | | | | | | | | | | | | | | | | | | | | The texture owns the surface handle. All derivatives need to keep a reference to texture. This fixes several assertions failures starting up Jedi Knight 2. Should cause no change for DRM surface sharing -- reference count still done as before there. | ||||
* | | svga: Fix mixed signed comparisons. | José Fonseca | 2009-12-11 | 1 | -1/+1 |
| | | |||||
* | | scons: Pass -fno-strict-aliasing to gcc. | José Fonseca | 2009-12-11 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Strict aliasing tule violations were fixed on master, but they're still causing problem in this branch, so disable this assumptions. Do not apply this fix to master (revert when you merge). | ||||
* | | scons: Make it work with MinGW build of LLVM 2.6. | José Fonseca | 2009-12-11 | 1 | -25/+27 |
| | | | | | | | | LLVM 2.5 is no longer supported on windows. | ||||
* | | intel: Remove ARGB internal_format == GL_RGB hacks | Ian Romanick | 2009-12-10 | 4 | -52/+17 |
| | | | | | | | | | | Now that XRGB is supported, we don't need to hack around cases of an RGBA format buffer with an internal format of GL_RGB. | ||||
* | | intel: Make RGB textures use XRGB8888 | Ian Romanick | 2009-12-10 | 1 | -4/+2 |
| | | |||||
* | | intel: Make RGB renderbuffers use XRGB8888 like we do for RGB system buffers. | Ian Romanick | 2009-12-10 | 1 | -5/+1 |
| | | |||||
* | | i965: Fix handling of drawing to MESA_FORMAT_XRGB8888 | Ian Romanick | 2009-12-10 | 2 | -3/+48 |
| | | | | | | | | | | | | | | It turns out that 965 and friends cannot actually render to an xRGB surfaces. Instead, the surface has to be RGBA with writes to alpha disabled and the blend function modified to always use 1.0 for destination alpha. | ||||
* | | intel: Use spantmp2 GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV for XRGB8888 | Ian Romanick | 2009-12-10 | 1 | -1/+1 |
| | | |||||
* | | spantmp2: Add support for GL_BGR / GL_UNSIGNED_INT_8_8_8_8_REV | Ian Romanick | 2009-12-10 | 1 | -0/+57 |
| | | | | | | | | | | This is really for MESA_FORMAT_XRGB8888. Clearly spantmp2.h needs some re-work. Any volunteers? | ||||
* | | intel: name in intel_create_renderbuffer was always 0, remove | Ian Romanick | 2009-12-10 | 1 | -2/+1 |
| | | |||||
* | | intel: Use texformat accessor to get bytes-per-pixel | Ian Romanick | 2009-12-10 | 1 | -7/+1 |
| | | |||||
* | | intel: softwareBuffer in intel_alloc_renderbuffer_storage was always false, ↵ | Ian Romanick | 2009-12-10 | 1 | -22/+15 |
| | | | | | | | | remove | ||||
* | | intel: Axe intel_renderbuffer::texformat | Ian Romanick | 2009-12-10 | 7 | -24/+13 |
| | | | | | | | | | | Since the texformat branch merge, the value of intel_renderbuffer::texformat is just a copy of gl_renderbuffer::Format. | ||||
* | | intel: Flush the render/texture cache when finishing render to texture. | Eric Anholt | 2009-12-10 | 1 | -1/+9 |
| | | | | | | | | | | | | | | | | | | | | Back when we were flushing the entire batch at BindFramebuffer, the kernel would notice the domain transition when someone went to texture from it and flush for us. We no longer do the batch flushing every time, so we get to do aggressive flushing until we move batchbuffer handling to libdrm. Fixes piglit fbo-flushing. Bug #25377. No noticeable performance loss on cairo-gl (so this is better than batch flushing). | ||||
* | | st/xorg: fix yv12 plus some cleanups in the upload code | Zack Rusin | 2009-12-10 | 1 | -57/+70 |
| | | |||||
* | | st/xorg: enable yv12 for xv | Zack Rusin | 2009-12-10 | 1 | -1/+4 |
| | |