aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/opengl/common.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2016-05-23 17:31:07 +0200
committerGravatar wm4 <wm4@nowhere>2016-05-23 21:27:18 +0200
commitcc72a4e8c3889edf0c3880f166e3417be604ec19 (patch)
treeac07bc99676d99cfd95ea06e83a4e9498072b3a7 /video/out/opengl/common.h
parentcc4a0571fa63420aa06f648dcc2c529b6da62672 (diff)
vo_opengl: support framebuffer invalidation
Not sure how much can be gained with this, as we can't use it properly yet. For now, this is used only before rendering, which probably does overwhelmingly nothing. In the future, this should be used after temporary passes, which could possibly reduce memory usage and even memory bandwidth usage, depending on the drivers.
Diffstat (limited to 'video/out/opengl/common.h')
-rw-r--r--video/out/opengl/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 4f21e25455..4ee61975f4 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -181,6 +181,8 @@ struct GL {
void (GLAPIENTRY *UniformMatrix3fv)(GLint, GLsizei, GLboolean,
const GLfloat *);
+ void (GLAPIENTRY *InvalidateFramebuffer)(GLenum, GLsizei, const GLenum *);
+
GLsync (GLAPIENTRY *FenceSync)(GLenum, GLbitfield);
GLenum (GLAPIENTRY *ClientWaitSync)(GLsync, GLbitfield, GLuint64);
void (GLAPIENTRY *DeleteSync)(GLsync sync);