weston-egl-ext.h: add EGL_EXT_swap_buffers_with_damage definitions

... and use it from simple-egl and gl-renderer.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Emil Velikov
2016-07-04 15:27:15 +01:00
committed by Daniel Stone
parent 885a9fe4d9
commit 0725cf17f9
3 changed files with 6 additions and 17 deletions
+1 -5
View File
@@ -48,11 +48,7 @@
#define IVI_SURFACE_ID 9000
#include "shared/platform.h"
#ifndef EGL_EXT_swap_buffers_with_damage
#define EGL_EXT_swap_buffers_with_damage 1
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
#endif
#include "weston-egl-ext.h"
#ifndef EGL_EXT_buffer_age
#define EGL_EXT_buffer_age 1