summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common
AgeCommit message (Collapse)Author
2010-01-06meta: remove F suffix from _mesa_Ortho() paramsBrian Paul
_mesa_Ortho() takes GLdoubles.
2010-01-06meta: move destination vertex/projection setup out of _mesa_meta_GenerateMipmapBrian Paul
Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2010-01-06meta: set viewport and projection matrix in _mesa_meta_GenerateMipmapBrian Paul
This fixes mipmap levels being clipped to the last viewport. Based on a patch submitted by Pierre Willenbrock <pierre@pirsoft.de>
2009-12-14mesa/meta: move BindTexture() call in _mesa_meta_GenerateMipmap()Brian Paul
This is a follow-up to commit e3fa700c178e11e6735430119232919176ab7b42. The call to _mesa_BindTexture() must be before we set any other texture object state, namely the _mesa_TexParameteri() calls. This fixes bug 25601 (piglit gen-nonzero-unit failure).
2009-12-09meta: Bind texture to unit 0 for mipmap generationIan Romanick
If the active texture unit on entry to mipmap generation is not zero, bind the texture to unit zero. Fixes bug #24219.
2009-11-16mesa: remove unused vertex array driver hooksBrian Paul
2009-11-02mesa: use _mesa_get_current_tex_object()Brian Paul
2009-10-28Merge branch 'texformat-rework'Brian Paul
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
2009-10-27mesa: s/Bilt/BlitBrian Paul
2009-10-24mesa: remove ctx->Driver.CompressedTextureSize() hookBrian Paul
It always just called _mesa_compressed_texture_size() anyway.
2009-10-20meta: Fix the BufferSubData in meta clear to be BufferData.Eric Anholt
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.
2009-10-14mesa: remove unused ctx->Driver.PrioritizeTextures() hookBrian Paul
2009-10-14mesa: remove unused ctx->Driver.TextureMatrix() hookBrian Paul
2009-10-14mesa: remove left-over debug printfBrian Paul
2009-10-13mesa: whitespace fixesBrian Paul
2009-10-13mesa: do RTT check in _mesa_meta_check_generate_mipmap_fallback()Brian Paul
We need to check that we can actually render to the texture's format before doing mipmap generation. This may fix bug 24219.
2009-10-12mesa: save/set/restore texture base/wrap state in blitframebuffer_texture()Brian Paul
2009-10-08Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/common/meta.c
2009-10-07mesa: don't need to free textures, VBOs, etc. in _mesa_meta_free()Brian Paul
They're freed by the normal context deallocation code. Fixes Blender crash, bug 24185.
2009-10-03meta: Make sure texImage->TexFormat is valid for CopyTex(Sub)Image.Michel Dänzer
2009-10-02mesa: optimized _mesa_meta_BlitFramebuffer() for src=texture caseBrian Paul
If the src renderbuffer is actually a texture, we can directly use that texture as the src and avoid a copy.
2009-10-02mesa: added _mesa_meta_check_generate_mipmap_fallback()Brian Paul
2009-09-30mesa: replace gl_texture_format with gl_formatBrian Paul
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.
2009-09-28meta: Fix invalid PBO access from DrawPixels when trying to just alloc.Eric Anholt
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.
2009-09-28intel: Drop my generatemipmap code in favor of the new shared code.Eric Anholt
2009-09-27mesa: use _mesa_get_format_base_format()Brian Paul
2009-09-24mesa: _mesa_meta_GenerateMipmap() now workingBrian Paul
Handles GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_CUBE_MAP. But GL_TEXTURE_3D and texture borders not supported yet.
2009-09-22Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-22mesa: don't re-use the meta glDrawPixels VBO; create a new one each timeBrian Paul
This should help to work around bugs 24083 and 23670.
2009-09-20Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/intel/intel_clear.c
2009-09-19mesa: remove redundant readbuffer checkBrian Paul
2009-09-19mesa: rename functions to be more consistant with rest of mesaBrian Paul
2009-09-19mesa: use new meta functionsBrian Paul
2009-09-19mesa: meta functions for glCopyColorTable, glCopyConvolutionFilter, etcBrian Paul
2009-09-19mesa: fix some glCopyTex[Sub]Image regressions related to convolutionBrian Paul
2009-09-19mesa: use new _mesa_meta_CopyTex[Sub]Image() functionsBrian Paul
2009-09-16mesa: fix clip plane, fog issuesBrian Paul
2009-09-16mesa: meta driver functions for glCopyTex[Sub]Image()Brian Paul
Implement in terms of glReadPixels + glTex[Sub]Image(). This will allow us to get rid of some swrast texture code.
2009-09-15mesa: remove incorrect texture state checkBrian Paul
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.
2009-09-10mesa: nicer vertex setupBrian Paul
2009-09-10Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-10mesa: need to set all stencil bits to 0 before setting the 1 bitsBrian Paul
Plus, check for pixel transfer stencil index/offset.
2009-09-10mesa: fix cut&paste typosMathias Frohlich
2009-09-09Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-09mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels()Brian Paul
Works around a bug found on i965. See bug 23670.
2009-09-06mesa: initial version of _mesa_meta_generate_mipmap()Brian Paul
Incomplete and totally untested. Based on intel_generate_mipmap().
2009-09-06mesa: use separate temp texture for bitmapsBrian Paul
2009-09-06mesa: temp_texture changesBrian Paul
2009-09-06mesa: free meta bitmap buffersBrian Paul
2009-09-06mesa: use _mesa_set_enable()Brian Paul