diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2015-08-19 22:39:52 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-21 00:01:01 +0200 |
commit | 3245bfefc3803904f5aeade0b3e60cd504ccb16c (patch) | |
tree | 02f1cd0d32f4470396438c44a828a1e863088b89 /video/out/gl_common.h | |
parent | b144da63a890dfebf6fd4f1d7bfefa6dcac1f7aa (diff) | |
download | mpv-3245bfefc3803904f5aeade0b3e60cd504ccb16c.tar.bz2 mpv-3245bfefc3803904f5aeade0b3e60cd504ccb16c.tar.xz |
gl_wayland: eglSwapInterval(0) to avoid blocking
This makes mesa not wait for frame callback internally.
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r-- | video/out/gl_common.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h index 39cde380a4..50817090be 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -136,11 +136,6 @@ typedef struct MPGLContext { // Resize the window, or create a new window if there isn't one yet. // On the first call, it creates a GL context. bool (*config_window)(struct MPGLContext *ctx, int flags); - - // Optional callback on the beginning of a frame. The frame will be finished - // with swapGlBuffers(). This returns false if use of the OpenGL context - // should be avoided. - bool (*start_frame)(struct MPGLContext *); } MPGLContext; MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags); |