summaryrefslogtreecommitdiffstats
path: root/include/EGL/eglplatform.h
Commit message (Collapse)AuthorAgeFilesLines
* egl: replace MESA_EGL_NO_X11_HEADERS hack with upstream EGL_NO_X11Eric Engestrom2019-10-071-6/+14
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Daniel Stone <[email protected]>
* EGL: sync headers with KhronosEric Engestrom2019-08-141-4/+10
| | | | Signed-off-by: Eric Engestrom <[email protected]>
* egl: align the formatting of Haiku section of eglplatform.h with Khronos'Eric Engestrom2018-03-211-4/+6
| | | | | Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* egl: add Ozone section to eglplatform.hEric Engestrom2018-03-211-0/+6
| | | | | | | | | | | | This pulls in commit a93f559e9c11fa53fb5f1cc255b8f75433f85d2a "Add Ozone section to eglplatform.h" from Khronos [1] added by Brian Anderson [2] a few months ago. [1] https://github.com/KhronosGroup/EGL-Registry/commit/a93f559e9c11fa53fb5f1cc255b8f75433f85d2a [2] https://github.com/KhronosGroup/EGL-Registry/pull/26 Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* khronos/egl: remove dependency on Android NDK headerEric Engestrom2017-08-251-2/+1
| | | | | | | Khronos: https://github.com/KhronosGroup/EGL-Registry/pull/22 Suggested-by: Emil Velikov <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Eric Engestrom <[email protected]>
* egl: update headers from registryEric Engestrom2017-01-271-1/+9
| | | | | | | | | | Khronos introduced a new macro (suggested by Google) to avoid using C-style casts in C++ code, as those generate warnings. Khronos Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16113 Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* egl: use unix defines on osx with clangJulien Isorce2015-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I also created an bug in Khronos 's bugzilla as you suggested: https://www.khronos.org/bugzilla/show_bug.cgi?id=1356 I'll let you know if I get feedback from this bug or else where. Patch with updated error messages: [PATCH] eglplatform: treat __APPLE__ the same way as __unix__ to handle X11 types CC eglapi.lo ./egldisplay.h:258:19: error: unknown type name 'Display' _eglGetX11Display(Display *native_display, const EGLint *attrib_list); eglapi.c:290:4: error: array size is negative STATIC_ASSERT(sizeof(void*) == sizeof(nativeDisplay)); eglapi.c:291:25: warning: cast to 'void *' from smaller integer type 'EGLNativeDisplayType' (aka 'int') [-Wint-to-void-pointer-cast] native_display_ptr = (void*) nativeDisplay; eglapi.c:307:32: error: use of undeclared identifier 'Display' dpy = _eglGetX11Display((Display*) native_display, attrib_list); eglapi.c:776:35: error: use of undeclared identifier 'Window' native_window = (void*) (* (Window*) native_window); eglapi.c:847:35: error: use of undeclared identifier 'Pixmap' native_pixmap = (void*) (* (Pixmap*) native_pixmap); Bugzilla Mesa: https://bugs.freedesktop.org/show_bug.cgi?id=90249 Bugzilla Khronos: https://www.khronos.org/bugzilla/show_bug.cgi?id=1356 Signed-off-by: Julien Isorce <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
* egl: import platform headers from registry (v2)Marek Olšák2015-06-051-10/+9
| | | | | | | v2: don't remove local Mesa changes Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* egl: Add Haiku code and supportAlexander von Gluck IV2014-12-231-1/+9
| | | | | | | * This is the cleaned up work of the Haiku GCI student Adrián Arroyo Calle [email protected] * Several patches were consolidated to prevent unnecessary touching of non-related code
* eglplatform: use unsigned long instead of 32-bit ints in generic platformRoss Burton2013-07-011-2/+2
| | | | | | | | | | In the generic Unix case use the "unsigned long" type instead of 32-bit integers so that the type sizes are consistant on 64-bit machines between X11 and not-X11. Signed-off-by: Ross Burton <[email protected]> Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* egl: update headersChia-I Wu2011-12-201-2/+7
| | | | | | | | | | | | | | | | | Update to revision 15052. EGL_MESA_drm_image is now official. But apparently we have our own extension to it and we need this in eglmesaext.h: #ifdef EGL_MESA_drm_image /* Mesa's extension to EGL_MESA_drm_image... */ #ifndef EGL_DRM_BUFFER_USE_CURSOR_MESA #define EGL_DRM_BUFFER_USE_CURSOR_MESA 0x0004 #endif #endif Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* egl: add _EGL_PLATFORM_ANDROIDChia-I Wu2011-08-211-0/+9
| | | | | | | This is Android Gingerbread platform. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Chad Versace <[email protected]>
* Add gbm (generic/graphics buffer manager)Benjamin Franzke2011-06-231-0/+6
|
* wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_displayKristian Høgsberg2011-04-201-1/+1
|
* eglplatform.h: Define Wayland native platform typesKristian Høgsberg2011-02-091-0/+6
| | | | | This is conditional on WL_EGL_PLATFORM being #defined, so application must make sure to include wayland-egl.h before including any egl header.
* egl: Add a test for MESA_EGL_NO_X11_HEADERS.Chia-I Wu2010-06-231-0/+10
| | | | When the macro is defined, X11 headers will not be included.
* eglplatform.h: recognize __unix as well for Solaris & other SVR4 platformsAlan Coopersmith2010-02-051-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* egl: Update headers.Chia-I Wu2010-01-251-63/+75
| | | | | | Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.
* egl: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-051-0/+5
| | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]>
* egl: also use X types for building on Apple/MacOS XBrian Paul2009-09-081-1/+2
| | | | See bug 20413.
* egl: include stdint.h to get the c99 integer typedefsBrian Paul2009-03-251-0/+1
| | | | Fixes breakage from commit 6dd9c221012d5e091b2ede90d9b2a6f0383abd58
* Add Solaris to OS'es using X in eglplatform.hAlan Coopersmith2009-03-251-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* Convert u_int*_t to C99 standard uint*_tAlan Coopersmith2009-03-251-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* egl: Allow compilation to succeed with FreeBSDBenjamin Close2009-02-251-1/+1
| | | | Signed-off-by: Benjamin Close <[email protected]>
* egl: define vsnprintfJonathan White2008-08-061-0/+1
|
* egl: added snprintf, strcasecmp definesJonathan White2008-08-051-0/+3
|
* egl: typedef uint8_t for WindowsJonathan White2008-08-051-0/+2
|
* egl: typedef u_int32_t for WindowsJonathan White2008-08-041-0/+1
|
* egl: WinCE doesn't have sys/types.hJosé Fonseca2008-06-281-1/+3
|
* egl: updated EGLAPI for WindowsJonathan White2008-06-061-3/+7
|
* egl: assorted fixes for WindowsJonathan White2008-06-051-2/+18
| | | | Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
* added typedefs for X/MesaBrian Paul2008-05-271-0/+7
|
* new eglplatform.h from Khronos.org (replaces GLES/egltypes.h)Brian Paul2008-05-271-0/+55