summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common/meta.c
AgeCommit message (Collapse)Author
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-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: meta functions for glCopyColorTable, glCopyConvolutionFilter, etcBrian Paul
2009-09-19mesa: fix some glCopyTex[Sub]Image regressions related to convolutionBrian 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
2009-09-06mesa: _mesa_meta_bitmap() functionBrian Paul
2009-09-01mesa: obey stencil write mask in _mesa_meta_draw_pixels()Brian Paul
2009-08-31mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer()Brian Paul
2009-08-31mesa: disable another debug testBrian Paul
2009-08-31mesa: make verts[] arrays local varsBrian Paul
2009-08-31mesa: implement depth/stencil formats for meta glDrawPixelsBrian Paul
2009-08-31mesa: remove accidentally commited debug/disabled codeBrian Paul
2009-08-30mesa: consolidate texture-related code in meta.cBrian Paul
Also, allow using texture rectangles, NPOT textures or regular POT textures (preferred in that order).
2009-08-30mesa: avoid redundant viewport changes in meta codeBrian Paul
2009-08-13mesa: refactor: move _mesa_is_color/depth/stencil_format() helpers to image.cBrian Paul
2009-08-11mesa: handle glDrawPixels images which are larger than max rect texture sizeBrian Paul
2009-08-11mesa: added _mesa_meta_draw_pixels()Brian Paul
2009-08-11mesa: added META_FOG and optimize some meta_begin/end() codeBrian Paul
2009-08-10mesa: save/restore texture matrix in meta codeBrian Paul
Also, save/restore viewport and texture state in _mesa_meta_copy_pixels()
2009-08-10mesa: for meta blit, check max texture size, use glCopyTexSubImage2D() when ↵Brian Paul
possible
2009-08-10mesa: initial meta implementation of glCopyPixels()Brian Paul
2009-08-10mesa: remove debug flush callBrian Paul