- Jun 28, 2009
-
-
Julien Cristau authored
-
- Jun 24, 2009
-
-
Julien Cristau authored
-
Julien Cristau authored
-
Julien Cristau authored
-
Brian Paul authored
-
- Jun 22, 2009
-
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
This was hit during screen tear-down.
-
Brian Paul authored
This was a call to _mesa_reference_framebuffer(ptr, NULL) but the NULL pointer is incorrect in Mesa 7.4.x. Fixes a failed assertion during screen tear-down.
-
- Jun 19, 2009
-
-
Brian Paul authored
-
Brian Paul authored
-
- Jun 17, 2009
-
-
Brian Paul authored
The first time a context is bound to a drawable, the viewport and scissor bounds are initialized to the buffer's size. This is actually a bit tricky. A new _mesa_check_init_viewport() function is called in several places to check if the viewport has been initialized. We also use a new ctx->ViewportInitialized flag instead of the overloaded ctx->FirstTimeCurrent flag. Hand-picked from mesa_7_5_branch, commit 3f856c6b
-
Brian Paul authored
Fixes segfault in progs/xdemos/glxgears_pixmap.c (cherry picked from master, commit d18c57aa)
-
Brian Paul authored
-
Brian Paul authored
Two parts to this: One we don't keep pointers to possibly freed memory anymore once we unbind the drawables from the context. Brian I need to figure out what the comment you made there, can we get a glean/piglit test so we can fix it properly? If the new gc is the same as the oldGC, we call the unbind even though we just bound it in that function. doh. (cherry picked from master, commit 77506dac)
-
- Jun 16, 2009
-
-
Brian Paul authored
-
Brian Paul authored
A 0 by 0 viewport size is legal. Don't clamp against lower bound of one. The error checking earlier in the function prevents negative values.
-
Brian Paul authored
-
Brian Paul authored
The results were incorrect for some negative values of A. See bug 21872. (cherry picked from mesa_7_5_branch, commit ed7f4b42)
-
- Jun 15, 2009
-
-
Brian Paul authored
-
Brian Paul authored
Fixes memory leak when destroying framebuffers. (cherry picked from mesa_7_5_branch, commit d027e8fe)
-
- Jun 10, 2009
-
-
Brian Paul authored
(cherry picked from master, commit 7fdd64ab)
-
Brian Paul authored
(cherry picked from master, commit cc22620e)
-
Brian Paul authored
(cherry picked from master, commit d9617deb)
-
Brian Paul authored
(cherry picked from master, commit ef8caec2)
-
Brian Paul authored
(cherry picked from master, commit 19a54d9f)
-
Brian Paul authored
(cherry picked from master, commit 854151ba)
-
- Jun 05, 2009
-
-
Brian Paul authored
-
Dan Nicholson authored
Now that the dlopen wrappers are built into libmesa.a, we need to link standalone libOSMesa with libdl to resolve dlopen and friends on platforms that need it. (cherry picked from commit 4795dd59)
-
Dan Nicholson authored
autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980. (cherry picked from commit 7441dcd9)
-
- Jun 01, 2009
-
-
Brian Paul authored
(cherry picked from commit 1045481d)
-
- May 22, 2009
-
-
Brian Paul authored
If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order. (cherry picked from commit 58fadc62)
-
Brian Paul authored
When a vertex shader uses generic vertex attribute 0, but not gl_Vertex, we need to set attribute[16] to point to attribute[0]. We were setting the attribute size, but not the pointer. Fixes crash in glsl/multitex.c when using the VertCoord attribute instead of gl_Vertex. (cherry picked from commit c3538969)
-
Brian Paul authored
It's possible to hand a GL_COLOR_INDEX/GL_BITMAP image to glTexImage3D() which gets converted to RGBA via the glPixelMap tables. This fixes a failure with piglit/fdo10370 with Gallium. (cherry picked from commit 995456f9)
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
-
Brian Paul authored
The generic_array[] is 16 elements in size, but the loop was doing 32 iterations. The out of bounds array write was clobbering the following inputs[] array but as luck would have it, that didn't matter. (cherry picked from commit 8da09e69)
-
Brian Paul authored
-