Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | glx: Use initstate_r / random_r instead of corrupting global random number state | Ian Romanick | 2009-09-16 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously srandom and random were used. This cause the global random number generator state to be modified. This caused problems for applications that called srandom before calling into GLX. By using local state the global state is left unmodified. This should fix bug #23774. | |||||
| | * | st/mesa: fix some incorrect branching/clean-up code in TexImage functions | Brian Paul | 2009-09-16 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | We need to be sure to call the _mesa_unmap_teximage_pbo() function if we called _mesa_validate_pbo_teximage(). | |||||
| | * | st/mesa: fix texture memory allocation bug | Brian Paul | 2009-09-16 | 1 | -2/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following example caused an incorrect GL_OUT_OF_MEMORY error to be raised in glTexSubImage2D: glTexImage2D(level=0, width=32, height=32, pixels=NULL); glTexImage2D(level=0, width=64, height=64, pixels=NULL); glTexSubImage2D(level=0, pixels!=NULL); The second glTexImage2D() call needs to cause the first image to be deallocated then reallocated at the new size. This was not happening because we were testing for pixels==NULL too early. | |||||
| * | | mesa/st: Create front renderbuffer on the fly when supplied with a surface | Nicolai Hähnle | 2009-09-20 | 1 | -3/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally, the mesa/st would create a fake front buffer out of a client-allocated surface. In the DRI setting, however, st/dri provides a front buffer surface which is created and maintained by the X server. Prefer to use this surface instead, so that front buffer rendering and reading works correctly. Signed-off-by: Nicolai Hähnle <[email protected]> | |||||
| * | | r300/compiler: Fix R300 fragment program regression introduced by 0723cd1... | Nicolai Hähnle | 2009-09-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We obviously need to move the code addr register backwards because their may be overlap. This bug affected in particular the Compiz water plugin. Signed-off-by: Nicolai Hähnle <[email protected]> | |||||
| * | | [i965] add a missing header file | Zou Nan hai | 2009-09-18 | 1 | -0/+1 | |
| | | | ||||||
| * | | [i965] use intel_batchbuffer_flush to flush the clear | Zou Nan hai | 2009-09-18 | 1 | -1/+2 | |
| | | | ||||||
| * | | mesa: fix clip plane, fog issues | Brian Paul | 2009-09-16 | 1 | -4/+0 | |
| | | | ||||||
* | | | mesa: remove redundant readbuffer check | Brian Paul | 2009-09-19 | 1 | -5/+0 | |
| | | | ||||||
* | | | mesa: rename functions to be more consistant with rest of mesa | Brian Paul | 2009-09-19 | 9 | -55/+54 | |
| | | | ||||||
* | | | swrast: remove obsolete s_imaging.c file | Brian Paul | 2009-09-19 | 1 | -176/+0 | |
| | | | ||||||
* | | | swrast: remove prototypes for obsolete functions | Brian Paul | 2009-09-19 | 1 | -21/+0 | |
| | | | ||||||
* | | | mesa: remove s_imaging.c from build | Brian Paul | 2009-09-19 | 1 | -1/+0 | |
| | | | ||||||
* | | | windows: replace old ColorTable, Convolution functions with new | Brian Paul | 2009-09-19 | 3 | -12/+12 | |
| | | | ||||||
* | | | mesa: use new meta functions | Brian Paul | 2009-09-19 | 1 | -4/+4 | |
| | | | ||||||
* | | | mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etc | Brian Paul | 2009-09-19 | 2 | -0/+141 | |
| | | | ||||||
* | | | mesa: move readbuffer tests | Brian Paul | 2009-09-19 | 3 | -21/+16 | |
| | | | ||||||
* | | | mesa: use _mesa_get_current_tex_unit() helper | Brian Paul | 2009-09-19 | 1 | -4/+5 | |
| | | | ||||||
* | | | mesa: use _mesa_get_current_tex_unit() helper | Brian Paul | 2009-09-19 | 1 | -5/+6 | |
| | | | ||||||
* | | | mesa: fix some glCopyTex[Sub]Image regressions related to convolution | Brian Paul | 2009-09-19 | 1 | -0/+26 | |
| | | | ||||||
* | | | mesa: move _mesa_meta_init/free() calls to core Mesa | Brian Paul | 2009-09-19 | 4 | -17/+5 | |
| | | | ||||||
* | | | r600: fix point sizes | Alex Deucher | 2009-09-19 | 1 | -4/+4 | |
| | | | | | | | | | | | | registers takes radius | |||||
* | | | r600: fix polygon offset | Alex Deucher | 2009-09-19 | 1 | -3/+8 | |
| | | | ||||||
* | | | swrast: remove obsolete s_texstore.c | Brian Paul | 2009-09-19 | 1 | -576/+0 | |
| | | | | | | | | | | | | Replaced by new, simpler meta functions. | |||||
* | | | swrast: remove prototypes for obsolete functions | Brian Paul | 2009-09-19 | 1 | -33/+0 | |
| | | | ||||||
* | | | mesa: remove s_texstore.c from makefile/project files | Brian Paul | 2009-09-19 | 1 | -1/+0 | |
| | | | ||||||
* | | | glapi: replace old TexCopy functions w/ new | Brian Paul | 2009-09-19 | 1 | -5/+5 | |
| | | | ||||||
* | | | windows: replace old TexCopy functions w/ new | Brian Paul | 2009-09-19 | 2 | -10/+10 | |
| | | | ||||||
* | | | gldirect: remove refs to soon-to-be-obsolete functions | Brian Paul | 2009-09-19 | 1 | -24/+2 | |
| | | | | | | | | | | | | I don't know if this driver is anywhere near build-able, but anyway. | |||||
* | | | mesa: use new _mesa_meta_CopyTex[Sub]Image() functions | Brian Paul | 2009-09-19 | 1 | -5/+6 | |
| | | | ||||||
* | | | intel: use new _mesa_meta_CopyTex[Sub]Image() functions | Brian Paul | 2009-09-19 | 1 | -9/+10 | |
| | | | ||||||
* | | | glapi: regenerated files | Brian Paul | 2009-09-19 | 7 | -2401/+2428 | |
| | | | ||||||
* | | | glapi: added tokens, function for GL_ARB_provoking_vertex | Brian Paul | 2009-09-19 | 1 | -0/+13 | |
| | | | ||||||
* | | | llvmpipe: Respect input interpolators for the shader. | Michal Krol | 2009-09-19 | 1 | -2/+19 | |
| | | | | | | | | | | | | Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb | |||||
* | | | mesa: Allow BlitFramebuffer from a texture. | José Fonseca | 2009-09-19 | 1 | -11/+45 | |
| | | | | | | | | | | | | | | | Although GL_EXT_framebuffer_blit does not mention textures, it doesn't forbid them either, and some thirdparty driver appear to support this. | |||||
* | | | softpipe: Fix cube face selection. | Michal Krol | 2009-09-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | If arx and ary are equal, we still want to choose from one of them, and not arz. | |||||
* | | | softpipe: Respect input interpolators for the shader. | Michal Krol | 2009-09-17 | 1 | -2/+19 | |
| | | | ||||||
* | | | tgsi: Scan input interpolators, too. | Michal Krol | 2009-09-17 | 2 | -0/+2 | |
| | | | ||||||
* | | | mesa: begin some texstore code refactoring | Brian Paul | 2009-09-16 | 1 | -28/+25 | |
| | | | | | | | | | | | | | | | Next step will be to move the calls to ctx->Driver.ChooseTextureFormat() into the teximage.c functions so drivers don't have to do it. | |||||
* | | | mesa: meta driver functions for glCopyTex[Sub]Image() | Brian Paul | 2009-09-16 | 2 | -23/+335 | |
| | | | | | | | | | | | | | | | Implement in terms of glReadPixels + glTex[Sub]Image(). This will allow us to get rid of some swrast texture code. | |||||
* | | | swrast: remove mipmap generation checks (done in core Mesa now) | Brian Paul | 2009-09-16 | 1 | -25/+0 | |
| | | | ||||||
* | | | s3v: remove unneeded initializations | Brian Paul | 2009-09-16 | 1 | -11/+0 | |
| | | | ||||||
* | | | ffb: remove disabled code | Brian Paul | 2009-09-16 | 1 | -18/+0 | |
| | | | ||||||
* | | | llvmpipe: Don't assert due to unsupported texture wrap modes. | José Fonseca | 2009-09-16 | 1 | -0/+5 | |
| | | | | | | | | | | | | Issue a warning and fallback to clamping. | |||||
* | | | Merge branch 'mesa_7_6_branch' | Ian Romanick | 2009-09-16 | 3 | -0/+668 | |
|\| | | ||||||
| * | | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Ian Romanick | 2009-09-16 | 2 | -0/+667 | |
| |\| | | | | | | | | | | | | | Conflicts: src/mesa/main/dlist.c | |||||
| | * | intel: Deassociated drawables from private context struct in intelUnbindContext | Ian Romanick | 2009-09-16 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generic DRI infrastructure makes sure that __DRIcontextRec::driDrawablePriv and __DRIcontextRec::driReadablePriv are set to NULL after unbinding a context. However, the intel_context structure keeps cached copies of these pointers. If these cached pointers are not NULLed and the drawable is actually destroyed after unbinding the context (typically by way of glXDestroyWindow), freed memory will be dereferenced in intelDestroyContext. This should fix bug #23418. | |||||
| | * | mesa: compile glUniformMatrix() functions into display lists | Brian Paul | 2009-09-15 | 1 | -0/+242 | |
| | | | | | | | | | | | | | | | I believe this is the last of the shader-related functions that needed display list treatment. | |||||
| | * | mesa: implement more glUniform display list functions | Brian Paul | 2009-09-15 | 1 | -1/+365 | |
| | | | ||||||
| | * | mesa: compile glUniform4f() into display lists | Brian Paul | 2009-09-15 | 1 | -0/+26 | |
| | | | | | | | | | | | | Note: there are more glUniform functions to compile... |