summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common/meta.c
AgeCommit message (Collapse)Author
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-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-16mesa: fix clip plane, fog issuesBrian 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-09mesa: disable GL_LUMINANCE case in _mesa_meta_draw_pixels()Brian Paul
Works around a bug found on i965. See bug 23670.
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
2009-08-10mesa: new driver meta-ops moduleBrian Paul
Implement glClear() in terms of quad rendering, implement glBlitFramebuffer() in terms of glCopyTexImage2D + textured quad, etc. There have been several places in the drivers where we've implemented meta rendering similar to this. This is an effort to do it in a more portable and more efficient form. The _mesa_meta_begin/end() functions act like glPush/PopAttrib() but are lighter-weight. Plus, _mesa_meta_begin() resets GL state back to default values (texturing off, identity vertex transform, etc) so the meta drawing functions don't have to worry about it. For now only _mesa_mesa_blit_framebuffer() and _mesa_meta_clear() are implemented. glDrawPixels() and glCopyPixels() would be the next candidates.