summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_6_branch'Brian Paul2009-09-207-18/+41
|\ | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
| * Merge branch 'mesa_7_5_branch' into mesa_7_6_branchNicolai Hähnle2009-09-203-8/+21
| |\
| | * mesa/st: Initialize format bits of framebuffer renderbuffersNicolai Hähnle2009-09-201-0/+1
| | | | | | | | | | | | Signed-off-by: Nicolai Hähnle <[email protected]>
| | * glx: Use initstate_r / random_r instead of corrupting global random number stateIan Romanick2009-09-161-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 functionsBrian Paul2009-09-161-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 bugBrian Paul2009-09-161-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 surfaceNicolai Hähnle2009-09-201-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ähnle2009-09-201-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 fileZou Nan hai2009-09-181-0/+1
| | |
| * | [i965] use intel_batchbuffer_flush to flush the clearZou Nan hai2009-09-181-1/+2
| | |
| * | mesa: fix clip plane, fog issuesBrian Paul2009-09-161-4/+0
| | |
* | | mesa: remove redundant readbuffer checkBrian Paul2009-09-191-5/+0
| | |
* | | mesa: rename functions to be more consistant with rest of mesaBrian Paul2009-09-199-55/+54
| | |
* | | swrast: remove obsolete s_imaging.c fileBrian Paul2009-09-191-176/+0
| | |
* | | swrast: remove prototypes for obsolete functionsBrian Paul2009-09-191-21/+0
| | |
* | | mesa: remove s_imaging.c from buildBrian Paul2009-09-191-1/+0
| | |
* | | windows: replace old ColorTable, Convolution functions with newBrian Paul2009-09-193-12/+12
| | |
* | | mesa: use new meta functionsBrian Paul2009-09-191-4/+4
| | |
* | | mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etcBrian Paul2009-09-192-0/+141
| | |
* | | mesa: move readbuffer testsBrian Paul2009-09-193-21/+16
| | |
* | | mesa: use _mesa_get_current_tex_unit() helperBrian Paul2009-09-191-4/+5
| | |
* | | mesa: use _mesa_get_current_tex_unit() helperBrian Paul2009-09-191-5/+6
| | |
* | | mesa: fix some glCopyTex[Sub]Image regressions related to convolutionBrian Paul2009-09-191-0/+26
| | |
* | | mesa: move _mesa_meta_init/free() calls to core MesaBrian Paul2009-09-194-17/+5
| | |
* | | r600: fix point sizesAlex Deucher2009-09-191-4/+4
| | | | | | | | | | | | registers takes radius
* | | r600: fix polygon offsetAlex Deucher2009-09-191-3/+8
| | |
* | | swrast: remove obsolete s_texstore.cBrian Paul2009-09-191-576/+0
| | | | | | | | | | | | Replaced by new, simpler meta functions.
* | | swrast: remove prototypes for obsolete functionsBrian Paul2009-09-191-33/+0
| | |
* | | mesa: remove s_texstore.c from makefile/project filesBrian Paul2009-09-191-1/+0
| | |
* | | glapi: replace old TexCopy functions w/ newBrian Paul2009-09-191-5/+5
| | |
* | | windows: replace old TexCopy functions w/ newBrian Paul2009-09-192-10/+10
| | |
* | | gldirect: remove refs to soon-to-be-obsolete functionsBrian Paul2009-09-191-24/+2
| | | | | | | | | | | | I don't know if this driver is anywhere near build-able, but anyway.
* | | mesa: use new _mesa_meta_CopyTex[Sub]Image() functionsBrian Paul2009-09-191-5/+6
| | |
* | | intel: use new _mesa_meta_CopyTex[Sub]Image() functionsBrian Paul2009-09-191-9/+10
| | |
* | | glapi: regenerated filesBrian Paul2009-09-197-2401/+2428
| | |
* | | glapi: added tokens, function for GL_ARB_provoking_vertexBrian Paul2009-09-191-0/+13
| | |
* | | llvmpipe: Respect input interpolators for the shader.Michal Krol2009-09-191-2/+19
| | | | | | | | | | | | Cherry-picked from fb2c7b6743ba6e89f24843890fb7fcd6a09c3dbb
* | | mesa: Allow BlitFramebuffer from a texture.José Fonseca2009-09-191-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 Krol2009-09-181-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 Krol2009-09-171-2/+19
| | |
* | | tgsi: Scan input interpolators, too.Michal Krol2009-09-172-0/+2
| | |
* | | mesa: begin some texstore code refactoringBrian Paul2009-09-161-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 Paul2009-09-162-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 Paul2009-09-161-25/+0
| | |
* | | s3v: remove unneeded initializationsBrian Paul2009-09-161-11/+0
| | |
* | | ffb: remove disabled codeBrian Paul2009-09-161-18/+0
| | |
* | | llvmpipe: Don't assert due to unsupported texture wrap modes.José Fonseca2009-09-161-0/+5
| | | | | | | | | | | | Issue a warning and fallback to clamping.
* | | Merge branch 'mesa_7_6_branch'Ian Romanick2009-09-163-0/+668
|\| |
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branchIan Romanick2009-09-162-0/+667
| |\| | | | | | | | | | | | | Conflicts: src/mesa/main/dlist.c
| | * intel: Deassociated drawables from private context struct in intelUnbindContextIan Romanick2009-09-161-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.