mesa: Add skeleton implementations of glInvalidate{Sub,}Framebuffer
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Aug 2012 16:27:00 +0000 (09:27 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 14 Aug 2012 21:39:33 +0000 (14:39 -0700)
commit342be8aa88819446220bba680d8e0b628078156f
tree0b89a33e4596c2a40d793ca9d18e794062e8b419
parent12249b9c96da730ea958976908e1bbb88bda9789
mesa: Add skeleton implementations of glInvalidate{Sub,}Framebuffer

These are part of GL_ARB_invalidate_subdata and OpenGL ES 3.0.

v2: Reject aux buffers in core context, and use _mesa_is_desktop_gl and
_mesa_is_gles3.  Both suggested by Ken.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/api_exec.c
src/mesa/main/fbobject.c
src/mesa/main/fbobject.h