summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/common/meta.h
AgeCommit message (Collapse)Author
2009-09-15mesa: Add _mesa_meta_draw_tex.Chia-I Wu
2009-09-06mesa: initial version of _mesa_meta_generate_mipmap()Brian Paul
Incomplete and totally untested. Based on intel_generate_mipmap().
2009-09-06mesa: _mesa_meta_bitmap() functionBrian Paul
2009-08-31mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer()Brian 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: initial meta implementation of glCopyPixels()Brian 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.