egl: add eglSwapBuffersWithDamageKHR
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 10 Oct 2016 16:33:17 +0000 (17:33 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Oct 2016 13:04:26 +0000 (14:04 +0100)
commit0a606a400fe382a9bc726beef269b47f4485d85f
tree723ba74b2658b07182ad602ed0fdd52c1dff18e7
parentb9e639589d2e06f3a7ecfebd811cacb9655fab5a
egl: add eglSwapBuffersWithDamageKHR

EGL_KHR_swap_buffers_with_damage is actually already supported, as it is
technically nothing but a rename of EGL_EXT_swap_buffers_with_damage.

To that effect, both extension are advertised depending on the same
condition, and the new entrypoint simply redirects to the previous one.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/main/eglapi.c