summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'texformat-rework'Brian Paul2009-10-282-8/+8
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
| * mesa: remove ctx->Driver.CompressedTextureSize() hookBrian Paul2009-10-241-1/+0
| | | | | | | | It always just called _mesa_compressed_texture_size() anyway.
| * mesa: replace gl_texture_format with gl_formatBrian Paul2009-09-301-1/+1
| | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next.
| * mesa: use _mesa_get_format_base_format()Brian Paul2009-09-271-1/+2
| |
* | mesa: s/Bilt/BlitBrian Paul2009-10-271-1/+1
| |
* | meta: Fix the BufferSubData in meta clear to be BufferData.Eric Anholt2009-10-201-3/+2
| | | | | | | | | | Fixes a 3.4% +/- 1.3% performance regression in my GL demo (n=3). The other meta code could probably also use the same treatment.
* | mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul2009-10-141-1/+0
| |
* | mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul2009-10-141-1/+0
| |
* | mesa: remove left-over debug printfBrian Paul2009-10-141-1/+0
| |
* | mesa: whitespace fixesBrian Paul2009-10-131-2/+2
| |
* | mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()Brian Paul2009-10-131-7/+48
| | | | | | | | | | | | | | We need to check that we can actually render to the texture's format before doing mipmap generation. This may fix bug 24219.
* | mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()Brian Paul2009-10-121-4/+15
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-10-081-34/+4
|\ \ | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/common/meta.c
| * | mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()Brian Paul2009-10-071-28/+4
| | | | | | | | | | | | | | | They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
* | | meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.Michel Dänzer2009-10-031-0/+7
| | |
* | | mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture caseBrian Paul2009-10-021-0/+130
| | | | | | | | | | | | | | | If the src renderbuffer is actually a texture, we can directly use that texture as the src and avoid a copy.
* | | mesa: added _mesa_meta_check_generate_mipmap_fallback()Brian Paul2009-10-022-3/+28
| | |
* | | meta: Fix invalid PBO access from DrawPixels when trying to just alloc.Eric Anholt2009-09-281-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | This whole reuse of buffers (TexSubImage instead of TexImage, SubData instead of Data) is bad for hardware drivers, but it's even worse when we accidentally try to access the 2x2 PBO to fill the new 16x16 texture we're creating, producing GL errors. Fixes piglit pbo-drawpixels. Bug #14163.
* | | intel: Drop my generatemipmap code in favor of the new shared code.Eric Anholt2009-09-281-1/+1
| |/ |/|
* | mesa: _mesa_meta_GenerateMipmap() now workingBrian Paul2009-09-241-33/+172
| | | | | | | | | | Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP. But GL_TEXTURE_3D and texture borders not supported yet.
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-221-28/+20
|\|
| * mesa: don't re-use the meta glDrawPixels VBO; create a new one each timeBrian Paul2009-09-221-30/+22
| | | | | | | | This should help to work around bugs 24083 and 23670.
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-201-4/+0
|\| | | | | | | | | Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
| * 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-192-41/+40
| |
* | mesa: use new meta functionsBrian Paul2009-09-191-4/+4
| |
* | mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etcBrian Paul2009-09-192-0/+141
| |
* | mesa: fix some glCopyTex[Sub]Image regressions related to convolutionBrian Paul2009-09-191-0/+26
| |
* | mesa: use new _mesa_meta_CopyTex[Sub]Image() functionsBrian Paul2009-09-191-5/+6
| |
* | 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.
* | mesa: remove incorrect texture state checkBrian Paul2009-09-151-6/+0
| | | | | | | | | | | | | | Fixes incorrectly textured bitmap text in engine demo. It's incorrect to test the texture enable bits here since they may have been changed by disabling the shader above. Optimization is still possible but will have to be reexamined.
* | mesa: nicer vertex setupBrian Paul2009-09-101-128/+138
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-101-0/+9
|\|
| * mesa: need to set all stencil bits to 0 before setting the 1 bitsBrian Paul2009-09-101-0/+9
| | | | | | | | Plus, check for pixel transfer stencil index/offset.
* | mesa: fix cut&paste typosMathias Frohlich2009-09-101-4/+4
| |
* | Merge branch 'mesa_7_6_branch'Brian Paul2009-09-091-1/+4
|\|
| * mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels()Brian Paul2009-09-091-1/+4
| | | | | | | | Works around a bug found on i965. See bug 23670.
* | mesa: initial version of _mesa_meta_generate_mipmap()Brian Paul2009-09-062-4/+182
| | | | | | | | Incomplete and totally untested. Based on intel_generate_mipmap().
* | mesa: use separate temp texture for bitmapsBrian Paul2009-09-061-21/+42
| |
* | mesa: temp_texture changesBrian Paul2009-09-061-21/+35
| |
* | mesa: free meta bitmap buffersBrian Paul2009-09-061-0/+4
| |
* | mesa: use _mesa_set_enable()Brian Paul2009-09-061-11/+11
| |
* | mesa: _mesa_meta_bitmap() functionBrian Paul2009-09-062-3/+175
|/
* ARB sync: Add support for GL_ARB_sync to swrastIan Romanick2009-09-031-0/+8
| | | | | This isn't quite right yet. The delete behavior and the context clean-up needs some work.
* mesa: obey stencil write mask in _mesa_meta_draw_pixels()Brian Paul2009-09-011-6/+8
|
* mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer()Brian Paul2009-08-312-25/+96
|
* mesa: disable another debug testBrian Paul2009-08-311-1/+1
|
* mesa: make verts[] arrays local varsBrian Paul2009-08-311-101/+98
|
* mesa: implement depth/stencil formats for meta glDrawPixelsBrian Paul2009-08-311-34/+229
|