Matt Turner
aec36a10dd
egl: Update eglext.h to revision 19571
...
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-11-15 15:21:28 -08:00
Matt Turner
d654afd892
egl: Import eglext.h revision 19332
...
The version number (14) wasn't updated.
Reviewed-by: Brian Paul <brianp@vmware.com >
2012-10-25 10:49:09 -07:00
Brian Paul
8433f80add
egl: remove redundant PFNEGLQUERYSTREAMTIMEKHRPROC typedef
...
This typedef is present earlier in the header and isn't part of the
EGL_KHR_stream_cross_process_fd extension. Looks like a Khronos glitch.
2012-08-07 07:31:05 -06:00
Ian Romanick
45e592c3dd
egl: Import eglext.h version 14
...
This is necessary for EGL_KHR_create_context work (including writing
piglit tests).
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com >
Reviewed-by: Matt Turner <mattst88@gmail.com >
Reviewed-by: Chad Versace <chad.versace@linux.intel.com >
2012-08-06 15:37:04 -07:00
Kristian Høgsberg
e23bfdb329
wayland: Use existing EGL_TEXTURE_FORMAT for querying wl_buffer texture format
...
We also reuse EGL_TEXTURE_RGBA and EGL_TEXTURE_RGB, adding only the new
planar YUV texture formats: EGL_TEXTURE_Y_U_V_WL, EGL_TEXTURE_Y_UV_WL and
EGL_TEXTURE_Y_XUXV_WL.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net >
2012-07-19 14:03:17 -04:00
Kristian Høgsberg
e6a33570b7
egl: Add EGL_WAYLAND_PLANE_WL attribute
...
This lets us specify the plane to create the image for for multiplanar
wl_buffers.
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net >
2012-07-11 15:28:36 -04:00
Chia-I Wu
ed1ff2acec
egl: remove EGL_ANDROID_swap_rectangle
...
We never support this unofficial extension, and it has been removed from
Android recently. There is no point in keeping it.
2011-12-20 16:20:17 +08:00
Chia-I Wu
b7acfe7755
egl: update headers
...
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 <kenneth@whitecape.org >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
2011-12-20 16:12:14 +08:00
Chia-I Wu
ab7bb10a2a
egl: move unofficial extensions to eglmesaext.h
...
As suggested by Ian in
http://lists.freedesktop.org/archives/mesa-dev/2011-December/016035.html
Note that eglext.h has to include eglmesaext.h at the end instead of the
beginning because some extensions in eglmesaext.h depend on the official
extensions.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com >
2011-12-20 16:11:41 +08:00
Chia-I Wu
75cc24c876
android: add support for ICS
...
With ICS (Android 4.0), several headers and structs are renamed. Define
ANDROID_VERSION so that we can choose a different path depending on the
platform version.
I've tested only softpipe and llvmpipe. r600g is also reported to work.
2011-11-25 12:34:33 +08:00
Chia-I Wu
00b365bc78
egl: add Android-specific extensions
...
Add EGL_ANDROID_image_native_buffer and EGL_ANDROID_swap_rectangle.
There is no spec for them though.
Reviewed-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Chad Versace <chad@chad-versace.us >
2011-08-21 02:01:48 +08:00
Chia-I Wu
b0945c14df
egl: add _EGL_PLATFORM_ANDROID
...
This is Android Gingerbread platform.
Reviewed-by: Brian Paul <brianp@vmware.com >
Reviewed-by: Chad Versace <chad@chad-versace.us >
2011-08-21 02:01:48 +08:00
Benjamin Franzke
eddcecbf74
Add gbm (generic/graphics buffer manager)
2011-06-23 21:07:17 +02:00
Kristian Høgsberg
e5169e9615
egl: Add a cursor use bit to MESA_drm_image
2011-05-06 10:33:50 -04:00
Kristian Høgsberg
b6ed837ffe
wayland: Fix prototypes for EGL_WL_bind_wayland_display extension
2011-04-25 15:07:15 -04:00
Kristian Høgsberg
c0f8c9911c
wayland-egl: Update to wayland-egl.h changes, drop struct wl_egl_display
2011-04-20 17:47:20 -04:00
Benjamin Franzke
6b369c4c7c
egl: Add EGL_WL_bind_wayland_display
2011-03-01 17:23:50 -05:00
Kristian Høgsberg
04c5cc5b8b
eglplatform.h: Define Wayland native platform types
...
This is conditional on WL_EGL_PLATFORM being #defined, so application
must make sure to include wayland-egl.h before including any egl header.
2011-02-09 10:58:20 -05:00
Kristian Høgsberg
b7a8893a24
egl: Add EGL_MESA_drm_image extension
...
Create EGLImages from DRM buffer handles.
2010-08-25 09:17:47 -04:00
Chia-I Wu
b2a575ff28
egl: Update eglext.h.
...
Update to version 7 for EGL_KHR_fence_sync.
2010-08-17 00:06:18 +08:00
Chia-I Wu
985c2fca10
egl: Add a test for MESA_EGL_NO_X11_HEADERS.
...
When the macro is defined, X11 headers will not be included.
2010-06-23 15:15:00 +08:00
Chia-I Wu
78d70ddbbd
egl: Add support for EGL_MESA_drm_display.
...
The extension defines eglGetDRMDisplay that creates an EGLDisplay from a
DRM fd. Calling eglCreateWindowSurace or eglCreatePixmapSurface with
such displays will generate EGL_BAD_NATIVE_WINDOW or
EGL_BAD_NATIVE_PIXMAP.
2010-06-23 15:14:59 +08:00
Chia-I Wu
0d820fc203
egl: Use khronos types for EGL_MESA_screen_surface.
...
That is, use khronos_uint32_t instead of uint32_t.
2010-05-31 11:31:08 +08:00
Kristian Høgsberg
5dc0f49084
egl: Implement EGL_NOK_texture_from_pixmap
...
This extension allows a color buffer to be used for both rendering and
texturing. EGL allows the use of color buffers of pbuffer drawables
for texturing, this extension extends this to allow the use of color
buffers of pixmaps too.
2010-05-14 14:47:54 -04:00
Kristian Høgsberg
52c554a79d
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.
2010-05-13 20:30:45 -04:00
Alan Coopersmith
8a985a988b
eglplatform.h: recognize __unix as well for Solaris & other SVR4 platforms
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2010-02-05 19:38:16 -08:00
Chia-I Wu
95f8f75ad8
egl: Update headers.
...
Update to the current versions found at
http://www.khronos.org/registry/egl/ . There is one modification in
khrplatform.h for GCC visibility.
2010-01-25 11:28:27 +08:00
Chia-I Wu
897cb8950a
egl: Fix breakage from -fvisibility=hidden.
...
Mark EGL API and driver functions as PUBLIC.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
2010-01-05 11:23:52 -05:00
Brian Paul
18bdb6e712
egl: also use X types for building on Apple/MacOS X
...
See bug 20413.
2009-09-08 09:20:43 -06:00
Brian Paul
33fa6a2755
egl: include stdint.h to get the c99 integer typedefs
...
Fixes breakage from commit 6dd9c22101
2009-03-25 13:02:44 -06:00
Alan Coopersmith
2e2f3b4086
Add Solaris to OS'es using X in eglplatform.h
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2009-03-25 11:10:03 -07:00
Alan Coopersmith
6dd9c22101
Convert u_int*_t to C99 standard uint*_t
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com >
2009-03-25 11:07:31 -07:00
Benjamin Close
161307f178
egl: Allow compilation to succeed with FreeBSD
...
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com >
2009-02-25 07:53:26 -07:00
Jonathan White
b908ce93d4
egl: define vsnprintf
2008-08-06 16:42:38 -06:00
Jonathan White
240962faf7
egl: added snprintf, strcasecmp defines
2008-08-05 19:20:43 -06:00
Jonathan White
b51584184a
egl: typedef uint8_t for Windows
2008-08-05 08:12:38 -06:00
Jonathan White
73c3c4d1cc
egl: typedef u_int32_t for Windows
2008-08-04 16:30:58 -06:00
José Fonseca
0f9a1e43bc
egl: WinCE doesn't have sys/types.h
2008-06-28 20:40:44 +09:00
Jonathan White
adaf0385e8
egl: updated EGLAPI for Windows
2008-06-06 15:13:59 -06:00
Jonathan White
fe1a2d1fff
egl: assorted fixes for Windows
...
Note that int32_t is typedef'd both in p_compiler.h and eglplatform.h
2008-06-05 15:07:03 -06:00
Brian Paul
493f3a0032
egl: moved egl.h into EGL/ directory
2008-06-04 10:01:16 -06:00
Brian Paul
3e702fa881
egl: moved eglext.h into EGL/ directory
2008-06-04 10:00:32 -06:00
Brian Paul
57da567dc5
added typedefs for X/Mesa
2008-05-27 13:43:34 -06:00
Brian Paul
704a5c7efb
new eglplatform.h from Khronos.org (replaces GLES/egltypes.h)
2008-05-27 13:43:01 -06:00