diff options
author | Kristian Høgsberg <[email protected]> | 2010-05-06 22:01:35 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-05-13 20:30:45 -0400 |
commit | 52c554a79d3ed3104a9f7d112faa9129073b5a25 (patch) | |
tree | d4b4f76dd045425751065b0679131ba3d8a5350b /src/egl/main/eglmisc.c | |
parent | 13ef7a4be8ecfd87a09ef1cfa48348297ed7b0e3 (diff) |
egl: Implement EGL_NOK_swap_region
This extension adds a new function which provides an alternative to
eglSwapBuffers. eglSwapBuffersRegionNOK accepts two new parameters in
addition to those in eglSwapBuffers. The new parameters consist of a
pointer to a list of 4-integer blocks defining rectangles (x, y,
width, height) and an integer specifying the number of rectangles in
the list.
Diffstat (limited to 'src/egl/main/eglmisc.c')
-rw-r--r-- | src/egl/main/eglmisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c index 984e426686e..82ddb6cad99 100644 --- a/src/egl/main/eglmisc.c +++ b/src/egl/main/eglmisc.c @@ -96,6 +96,7 @@ _eglUpdateExtensionsString(_EGLDisplay *dpy) _EGL_CHECK_EXTENSION(KHR_gl_texture_3D_image); _EGL_CHECK_EXTENSION(KHR_gl_renderbuffer_image); + _EGL_CHECK_EXTENSION(NOK_swap_region); #undef _EGL_CHECK_EXTENSION } |