|
|
@ -38,13 +38,16 @@ |
|
|
|
#include <EGL/egl.h> |
|
|
|
#include <EGL/egl.h> |
|
|
|
#include <EGL/eglext.h> |
|
|
|
#include <EGL/eglext.h> |
|
|
|
|
|
|
|
|
|
|
|
#include <src/weston-egl-ext.h> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_swap_buffers_with_damage |
|
|
|
#ifndef EGL_EXT_swap_buffers_with_damage |
|
|
|
#define EGL_EXT_swap_buffers_with_damage 1 |
|
|
|
#define EGL_EXT_swap_buffers_with_damage 1 |
|
|
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); |
|
|
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_buffer_age |
|
|
|
|
|
|
|
#define EGL_EXT_buffer_age 1 |
|
|
|
|
|
|
|
#define EGL_BUFFER_AGE_EXT 0x313D |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
struct window; |
|
|
|
struct window; |
|
|
|
struct seat; |
|
|
|
struct seat; |
|
|
|
|
|
|
|
|
|
|
|