Import eglextchromium.h from Chromium.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Tue, 6 May 2014 19:10:56 +0000 (12:10 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 20 May 2014 18:31:32 +0000 (11:31 -0700)
commitf6e50994e12f1135748a51bf6380dc04bd5f4907
treededf4fac8c4810fd4f3127c458737e364dc1bbc6
parent7a109268ab5b3544e7f7b99e84ef1fdf54023fb4
Import eglextchromium.h from Chromium.

In order to support the (currently unregistered) Chromium-specific EGL
extension eglGetSyncValuesCHROMIUM on Intel systems, we need to import
the Chromium header that defines it.  The file was downloaded from

https://chromium.googlesource.com/chromium/chromium/+/trunk/ui/gl/EGL/eglextchromium.h

It is subject to the license found at

https://chromium.googlesource.com/chromium/chromium/+/trunk/LICENSE

I have imported the header file and added the license text to the top.
The only change was to fix the include guard on the Chromium header to
change the last line from a #define to a #endif, which makes the header
actually compile.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Cc: Jamey Sharp <jamey@minilop.net>
Cc: Ian Romanick <idr@freedesktop.org>
Cc: Stéphane Marchesin <stephane.marchesin@gmail.com>
include/EGL/eglext.h
include/EGL/eglextchromium.h [new file with mode: 0644]
src/egl/main/Makefile.am