summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-09r600: don't emit htile regsAlex Deucher
These are needed for HiZ which is not currently used and the _BASE reg requires a reloc which is not currently supported in the drm.
2009-11-07prog parse: Handle GL_VERTEX_PROGRAM_ARB in glLoadProgramNVIan Romanick
2009-11-07prog parse: Handle GL_VERTEX_PROGRAM_NV in glProgramStringARBIan Romanick
Handle both NV vertex programs and NV vertex state programs passed to glProgramStringARB.
2009-11-07prog parse: Handle GL_FRAGMENT_PROGRAM_ARB in glLoadProgramNVIan Romanick
2009-11-07prog parse: Handle GL_FRAGMENT_PROGRAM_NV in glProgramStringARBIan Romanick
2009-11-06GLX: Change GLX client vendor string to "Mesa Project and SGI"Ian Romanick
This change allows a certain closed-source browser plug-in to work with open-source drivers.
2009-11-06ARB prog parser: Regenerate parser from previous commits.Ian Romanick
2009-11-06ARB prog parser: Release old program string in ↵Ian Romanick
_mesa_parse_arb_{fragment,vertex}_program The program structure passed to _mesa_parse_arb_program is just a place holder. The stings that actually need to be released are only known to the functions calling _mesa_parse_arb_program, so they should be freed there.
2009-11-06ARB prog parser: Release strings returned from the lexer that don't need to ↵Ian Romanick
be kept
2009-11-06Revert "ARB prog parser: Fix epic memory leak in lexer / parser interface"Ian Romanick
This reverts commit 93dae6761bc90bbd43b450d2673620ec189b2c7a. This change was completely broken when the parser uses multiple strings in a single production. It would be nice if bug fixes could initially land somewhere other than the stable branch.
2009-11-05xmesa: pass pixmap to clip_for_xgetimage()Brian Paul
The code was assuming ctx->DrawBuffer == ctx->ReadBuffer. Passing the pixmap is simpler and better. Fixes a potential segfault.
2009-11-04mesa: added cast to silence warningBrian Paul
2009-11-04vbo: fix out-of-bounds array accessBrian Paul
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.
2009-11-04mesa: fix broken pack_histogram() case for GLhalfBrian Paul
2009-11-04mesa: silence warning from gcc 4.4.1Brian Paul
2009-11-04progs/tests: Fix MSVC build.Vinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-04Fix YTILE spantmp functionsAlan Hourihane
2009-11-04glslcompiler: Fix Mac OS build.Vinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03mesa: (GLint64) casts in get.c to silence Visual Studio warningsBrian Paul
Revised version of a patch from Karl Schultz.
2009-11-03docs: fix 7.6 build with Visual StudioBrian Paul
2009-11-03windows: updated VC8 project fileKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03windows: remove old entrypoints from mesa.def fileKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03mesa: added GLAPIENTRY keywords for sync object functionsKarl Schultz
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03st/mesa: clip pixels in draw_stencil_pixels to avoid crashMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-03st/mesa: don't use util_blit_pixels_writemask() for depth or depth/stencilBrian Paul
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).
2009-11-03st/mesa: fix tests for depth and depth/stencil texture formatsBrian Paul
2009-11-02glx: Fix memory leak if XF86DRICreateDrawable() failsVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-30Add --with-dri-searchpath argumentChow Loong Jin
* Add an extra argument to configure which allows for specifying different DRI driver search paths to libGL (FDO #24766) Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-10-29progs/tests: fixes for drawbuffers.cBrian Paul
Disable GL_DEPTH_TEST before glDrawPixels. Show color buffer 0 on left, color buffer 1 on right.
2009-10-28progs/tests: added test for GL_EXT_texture_compression_s3tc supportBrian Paul
2009-10-28mesa: Fix memory leak if we run out of memoryVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-28intel: Fix memory leak in case of renderbuffer bad formatVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-28mesa: remove unneeded #includesBrian Paul
2009-10-28mesa: include imports.h to silence warningBrian Paul
2009-10-28intel: Fix memory leak in event of mip tree allocation failureVinson Lee
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-27ARB prog parser: Fix epic memory leak in lexer / parser interfaceIan Romanick
Anything that matched IDENTIFIER was strdup'ed and returned to the parser. However, almost every case of IDENTIFIER in the parser just dropped the returned string on the floor. Every swizzle string, every option string, every use of a variable, etc. leaked memory. Create a temporary buffer in the parser state (string_dumpster and dumpster_size). Return strings from the lexer to the parser in the buffer. Grow the buffer as needed. When the parser needs to keep a string (i.e., delcaring a new variable), let it make a copy then. The only leak that valgrind now detects is /occasionally/ the copy of the program string in gl_program::String is leaked. I'm not seeing how. :(
2009-10-27ARB prog parser: Don't leak program stringIan Romanick
The program string is kept in the program object. On the second call into glProgramStringARB the previous kept string would be leaked.
2009-10-27ARB prog parser: Don't leak symbol table header structuresIan Romanick
2009-10-27intel: Fix flipped condition in ARB_sync GetSYnciv(GL_SYNC_STATUS).Eric Anholt
Bug #24435 (cherry picked from commit d56125a298106d81e10674f1c4b3b43b51a5139d)
2009-10-27intel: added region draw_x/y offsets in x/y_tile_swizzle() funcsBrian Paul
This fixes the second part of bug 23552.
2009-10-27progs/tests: added new blitfb.c testBrian Paul
Tests glBlitFramebuffer() between two texture/renderbuffer surfaces. In particular, blit from level[1] of a cube map face to a 2D texture. Used to find/fix bug in intel do_copy_texsubimage(). See commit aef1ab1073f3e30d699b99dae17518ed48b57c72
2009-10-27intel: fix src offset bug in do_copy_texsubimage()Brian Paul
Use src->draw_offset intead of zero. Zero usually worked, except when the src renderbuffer is actually a texture mipmap level higher than zero. Fixes progs/test/blitfb.c test.
2009-10-27glsl: fix memory leakBrian Paul
A slightly modified version of a patch from Vinson Lee.
2009-10-27i915: Fix driver for the miptree x/y offset changes.Eric Anholt
Bug #24734.
2009-10-27i965: be clear that the Fallback field is a boolean, not a bitfieldBrian Paul
2009-10-27Revert "i965: fix hacked Fallback usage in brw_prepare_vertices()"Brian Paul
This reverts commit 8810b8f67135185d1044746bb861fe2ff997626c. It turns out the i965 driver uses the intel->Fallback field as a boolean, not as a bitmask. The intelFallback() function is a no-op in the i965 driver. It would have been nice if there were some comments about this. I'll fix that next...
2009-10-27draw: Fix memory leak.Vinson Lee
This would only be hit if we got and invalid index_size.
2009-10-26docs: document Intel glBitmap fixesBrian Paul
2009-10-26intel: fix GL state bugs in intel_texture_bitmap()Brian Paul
Need to push texture state and polygon state too. Fixes rendering glitches seen in progs/demos/engine when changing the rendering mode (wireframe, texture modes). This makes bitmap rendering a little slower, unfortunately.
2009-10-23mesa: remove FBO texture depth/stencil testBrian Paul
The texture format should not be checked until validation time since the format might be changed by a subsequent glTexImage() call.