main: Fake entry point for glClearNamedFramebufferiv.
authorLaura Ekstrand <laura@jlekstrand.net>
Thu, 5 Feb 2015 21:24:43 +0000 (13:24 -0800)
committerFredrik Höglund <fredrik@kde.org>
Thu, 14 May 2015 13:48:14 +0000 (15:48 +0200)
commit6236c477990d67499f494b3c95844217fbd9a3dd
treeab30117b8dfae8737cfd57d3021a76c920873c5f
parentd890fc710f6d3472ea3837e074fafc100d41e01f
main: Fake entry point for glClearNamedFramebufferiv.

Mesa's ClearBuffer framework is very complicated and thoroughly married to the
object binding model.  Moreover, the OpenGL spec for ClearBuffer is also very
complicated.  At some point, we should implement buffer clearing for arbitrary
framebuffer objects, but for now, we will just wrap ClearBuffer.

Reviewed-by: Fredrik Höglund <fredrik@kde.org>
Signed-off-by: Fredrik Höglund <fredrik@kde.org>
src/mapi/glapi/gen/ARB_direct_state_access.xml
src/mesa/main/clear.c
src/mesa/main/clear.h
src/mesa/main/tests/dispatch_sanity.cpp