|
|
@ -6,7 +6,7 @@ extern "C" { |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
** Copyright (c) 2007-2012 The Khronos Group Inc. |
|
|
|
** Copyright (c) 2007-2013 The Khronos Group Inc. |
|
|
|
** |
|
|
|
** |
|
|
|
** Permission is hereby granted, free of charge, to any person obtaining a |
|
|
|
** Permission is hereby granted, free of charge, to any person obtaining a |
|
|
|
** copy of this software and/or associated documentation files (the |
|
|
|
** copy of this software and/or associated documentation files (the |
|
|
@ -34,8 +34,8 @@ extern "C" { |
|
|
|
|
|
|
|
|
|
|
|
/* Header file version number */ |
|
|
|
/* Header file version number */ |
|
|
|
/* Current version at http://www.khronos.org/registry/egl/ */ |
|
|
|
/* Current version at http://www.khronos.org/registry/egl/ */ |
|
|
|
/* $Revision: 18175 $ on $Date: 2012-06-13 11:26:12 -0700 (Wed, 13 Jun 2012) $ */ |
|
|
|
/* $Revision: 20690 $ on $Date: 2013-02-22 17:15:05 -0800 (Fri, 22 Feb 2013) $ */ |
|
|
|
#define EGL_EGLEXT_VERSION 13 |
|
|
|
#define EGL_EGLEXT_VERSION 15 |
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_KHR_config_attribs |
|
|
|
#ifndef EGL_KHR_config_attribs |
|
|
|
#define EGL_KHR_config_attribs 1 |
|
|
|
#define EGL_KHR_config_attribs 1 |
|
|
@ -250,7 +250,6 @@ struct EGLClientPixmapHI |
|
|
|
EGLint iHeight; |
|
|
|
EGLint iHeight; |
|
|
|
EGLint iStride; |
|
|
|
EGLint iStride; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap); |
|
|
|
EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap); |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
@ -316,9 +315,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay |
|
|
|
#if KHRONOS_SUPPORT_INT64 /* EGLuint64NV requires 64-bit uint support */ |
|
|
|
#if KHRONOS_SUPPORT_INT64 /* EGLuint64NV requires 64-bit uint support */ |
|
|
|
#ifndef EGL_NV_system_time |
|
|
|
#ifndef EGL_NV_system_time |
|
|
|
#define EGL_NV_system_time 1 |
|
|
|
#define EGL_NV_system_time 1 |
|
|
|
|
|
|
|
|
|
|
|
typedef khronos_utime_nanoseconds_t EGLuint64NV; |
|
|
|
typedef khronos_utime_nanoseconds_t EGLuint64NV; |
|
|
|
|
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void); |
|
|
|
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeFrequencyNV(void); |
|
|
|
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void); |
|
|
|
EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV(void); |
|
|
@ -333,19 +330,19 @@ typedef EGLuint64NV (EGLAPIENTRYP PFNEGLGETSYSTEMTIMENVPROC) (void); |
|
|
|
#define EGL_KHR_stream 1 |
|
|
|
#define EGL_KHR_stream 1 |
|
|
|
typedef void* EGLStreamKHR; |
|
|
|
typedef void* EGLStreamKHR; |
|
|
|
typedef khronos_uint64_t EGLuint64KHR; |
|
|
|
typedef khronos_uint64_t EGLuint64KHR; |
|
|
|
#define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) |
|
|
|
#define EGL_NO_STREAM_KHR ((EGLStreamKHR)0) |
|
|
|
#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 |
|
|
|
#define EGL_CONSUMER_LATENCY_USEC_KHR 0x3210 |
|
|
|
#define EGL_PRODUCER_FRAME_KHR 0x3212 |
|
|
|
#define EGL_PRODUCER_FRAME_KHR 0x3212 |
|
|
|
#define EGL_CONSUMER_FRAME_KHR 0x3213 |
|
|
|
#define EGL_CONSUMER_FRAME_KHR 0x3213 |
|
|
|
#define EGL_STREAM_STATE_KHR 0x3214 |
|
|
|
#define EGL_STREAM_STATE_KHR 0x3214 |
|
|
|
#define EGL_STREAM_STATE_CREATED_KHR 0x3215 |
|
|
|
#define EGL_STREAM_STATE_CREATED_KHR 0x3215 |
|
|
|
#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 |
|
|
|
#define EGL_STREAM_STATE_CONNECTING_KHR 0x3216 |
|
|
|
#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 |
|
|
|
#define EGL_STREAM_STATE_EMPTY_KHR 0x3217 |
|
|
|
#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 |
|
|
|
#define EGL_STREAM_STATE_NEW_FRAME_AVAILABLE_KHR 0x3218 |
|
|
|
#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 |
|
|
|
#define EGL_STREAM_STATE_OLD_FRAME_AVAILABLE_KHR 0x3219 |
|
|
|
#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A |
|
|
|
#define EGL_STREAM_STATE_DISCONNECTED_KHR 0x321A |
|
|
|
#define EGL_BAD_STREAM_KHR 0x321B |
|
|
|
#define EGL_BAD_STREAM_KHR 0x321B |
|
|
|
#define EGL_BAD_STATE_KHR 0x321C |
|
|
|
#define EGL_BAD_STATE_KHR 0x321C |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list); |
|
|
|
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamKHR(EGLDisplay dpy, const EGLint *attrib_list); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
@ -364,7 +361,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC)(EGLDisplay dpy, EG |
|
|
|
#ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
|
|
|
#ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
|
|
|
#ifndef EGL_KHR_stream_consumer_gltexture |
|
|
|
#ifndef EGL_KHR_stream_consumer_gltexture |
|
|
|
#define EGL_KHR_stream_consumer_gltexture 1 |
|
|
|
#define EGL_KHR_stream_consumer_gltexture 1 |
|
|
|
#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E |
|
|
|
#define EGL_CONSUMER_ACQUIRE_TIMEOUT_USEC_KHR 0x321E |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
@ -379,7 +376,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMCONSUMERRELEASEKHRPROC)(EGLDisplay |
|
|
|
#ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
|
|
|
#ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
|
|
|
#ifndef EGL_KHR_stream_producer_eglsurface |
|
|
|
#ifndef EGL_KHR_stream_producer_eglsurface |
|
|
|
#define EGL_KHR_stream_producer_eglsurface 1 |
|
|
|
#define EGL_KHR_stream_producer_eglsurface 1 |
|
|
|
#define EGL_STREAM_BIT_KHR 0x0800 |
|
|
|
#define EGL_STREAM_BIT_KHR 0x0800 |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); |
|
|
|
EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list); |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
@ -397,10 +394,10 @@ typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDi |
|
|
|
#ifndef EGL_KHR_stream_fifo |
|
|
|
#ifndef EGL_KHR_stream_fifo |
|
|
|
#define EGL_KHR_stream_fifo 1 |
|
|
|
#define EGL_KHR_stream_fifo 1 |
|
|
|
/* reuse EGLTimeKHR */ |
|
|
|
/* reuse EGLTimeKHR */ |
|
|
|
#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC |
|
|
|
#define EGL_STREAM_FIFO_LENGTH_KHR 0x31FC |
|
|
|
#define EGL_STREAM_TIME_NOW_KHR 0x31FD |
|
|
|
#define EGL_STREAM_TIME_NOW_KHR 0x31FD |
|
|
|
#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE |
|
|
|
#define EGL_STREAM_TIME_CONSUMER_KHR 0x31FE |
|
|
|
#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF |
|
|
|
#define EGL_STREAM_TIME_PRODUCER_KHR 0x31FF |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); |
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamTimeKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLTimeKHR *value); |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
@ -410,10 +407,10 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC)(EGLDisplay dpy, E |
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_create_context_robustness |
|
|
|
#ifndef EGL_EXT_create_context_robustness |
|
|
|
#define EGL_EXT_create_context_robustness 1 |
|
|
|
#define EGL_EXT_create_context_robustness 1 |
|
|
|
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF |
|
|
|
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_EXT 0x30BF |
|
|
|
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 |
|
|
|
#define EGL_CONTEXT_OPENGL_RESET_NOTIFICATION_STRATEGY_EXT 0x3138 |
|
|
|
#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE |
|
|
|
#define EGL_NO_RESET_NOTIFICATION_EXT 0x31BE |
|
|
|
#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF |
|
|
|
#define EGL_LOSE_CONTEXT_ON_RESET_EXT 0x31BF |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANGLE_d3d_share_handle_client_buffer |
|
|
|
#ifndef EGL_ANGLE_d3d_share_handle_client_buffer |
|
|
@ -435,10 +432,134 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMTIMEKHRPROC)(EGLDisplay dpy, E |
|
|
|
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 |
|
|
|
#define EGL_CONTEXT_OPENGL_ROBUST_ACCESS_BIT_KHR 0x00000004 |
|
|
|
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 |
|
|
|
#define EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT_KHR 0x00000001 |
|
|
|
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 |
|
|
|
#define EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT_KHR 0x00000002 |
|
|
|
|
|
|
|
#define EGL_OPENGL_ES3_BIT_KHR 0x00000040 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_KHR_surfaceless_context |
|
|
|
|
|
|
|
#define EGL_KHR_surfaceless_context 1 |
|
|
|
|
|
|
|
/* No tokens/entry points, just relaxes an error condition */ |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef EGL_KHR_stream /* Requires KHR_stream extension */ |
|
|
|
|
|
|
|
#ifndef EGL_KHR_stream_cross_process_fd |
|
|
|
|
|
|
|
#define EGL_KHR_stream_cross_process_fd 1 |
|
|
|
|
|
|
|
typedef int EGLNativeFileDescriptorKHR; |
|
|
|
|
|
|
|
#define EGL_NO_FILE_DESCRIPTOR_KHR ((EGLNativeFileDescriptorKHR)(-1)) |
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
|
|
|
|
EGLAPI EGLNativeFileDescriptorKHR EGLAPIENTRY eglGetStreamFileDescriptorKHR(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
|
|
|
|
EGLAPI EGLStreamKHR EGLAPIENTRY eglCreateStreamFromFileDescriptorKHR(EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); |
|
|
|
|
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
|
|
|
|
typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream); |
|
|
|
|
|
|
|
typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)(EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_multiview_window |
|
|
|
|
|
|
|
#define EGL_EXT_multiview_window 1 |
|
|
|
|
|
|
|
#define EGL_MULTIVIEW_VIEW_COUNT_EXT 0x3134 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_KHR_wait_sync |
|
|
|
|
|
|
|
#define EGL_KHR_wait_sync 1 |
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
|
|
|
|
EGLAPI EGLint EGLAPIENTRY eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); |
|
|
|
|
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
|
|
|
|
typedef EGLint (EGLAPIENTRYP PFNEGLWAITSYNCKHRPROC)(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_NV_post_convert_rounding |
|
|
|
|
|
|
|
#define EGL_NV_post_convert_rounding 1 |
|
|
|
|
|
|
|
/* No tokens or entry points, just relaxes behavior of SwapBuffers */ |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_NV_native_query |
|
|
|
|
|
|
|
#define EGL_NV_native_query 1 |
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
|
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeDisplayNV( EGLDisplay dpy, EGLNativeDisplayType* display_id); |
|
|
|
|
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativeWindowNV( EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType* window); |
|
|
|
|
|
|
|
EGLAPI EGLBoolean EGLAPIENTRY eglQueryNativePixmapNV( EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType* pixmap); |
|
|
|
|
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
|
|
|
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEDISPLAYNVPROC)(EGLDisplay dpy, EGLNativeDisplayType *display_id); |
|
|
|
|
|
|
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEWINDOWNVPROC)(EGLDisplay dpy, EGLSurface surf, EGLNativeWindowType *window); |
|
|
|
|
|
|
|
typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYNATIVEPIXMAPNVPROC)(EGLDisplay dpy, EGLSurface surf, EGLNativePixmapType *pixmap); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_NV_3dvision_surface |
|
|
|
|
|
|
|
#define EGL_NV_3dvision_surface 1 |
|
|
|
|
|
|
|
#define EGL_AUTO_STEREO_NV 0x3136 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANDROID_framebuffer_target |
|
|
|
|
|
|
|
#define EGL_ANDROID_framebuffer_target 1 |
|
|
|
|
|
|
|
#define EGL_FRAMEBUFFER_TARGET_ANDROID 0x3147 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANDROID_blob_cache |
|
|
|
|
|
|
|
#define EGL_ANDROID_blob_cache 1 |
|
|
|
|
|
|
|
typedef khronos_ssize_t EGLsizeiANDROID; |
|
|
|
|
|
|
|
typedef void (*EGLSetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, const void *value, EGLsizeiANDROID valueSize); |
|
|
|
|
|
|
|
typedef EGLsizeiANDROID (*EGLGetBlobFuncANDROID) (const void *key, EGLsizeiANDROID keySize, void *value, EGLsizeiANDROID valueSize); |
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
|
|
|
|
EGLAPI void EGLAPIENTRY eglSetBlobCacheFuncsANDROID(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); |
|
|
|
|
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
|
|
|
|
typedef void (EGLAPIENTRYP PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)(EGLDisplay dpy, EGLSetBlobFuncANDROID set, EGLGetBlobFuncANDROID get); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANDROID_image_native_buffer |
|
|
|
|
|
|
|
#define EGL_ANDROID_image_native_buffer 1 |
|
|
|
|
|
|
|
#define EGL_NATIVE_BUFFER_ANDROID 0x3140 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANDROID_native_fence_sync |
|
|
|
|
|
|
|
#define EGL_ANDROID_native_fence_sync 1 |
|
|
|
|
|
|
|
#define EGL_SYNC_NATIVE_FENCE_ANDROID 0x3144 |
|
|
|
|
|
|
|
#define EGL_SYNC_NATIVE_FENCE_FD_ANDROID 0x3145 |
|
|
|
|
|
|
|
#define EGL_SYNC_NATIVE_FENCE_SIGNALED_ANDROID 0x3146 |
|
|
|
|
|
|
|
#define EGL_NO_NATIVE_FENCE_FD_ANDROID -1 |
|
|
|
|
|
|
|
#ifdef EGL_EGLEXT_PROTOTYPES |
|
|
|
|
|
|
|
EGLAPI EGLint EGLAPIENTRY eglDupNativeFenceFDANDROID( EGLDisplay dpy, EGLSyncKHR); |
|
|
|
|
|
|
|
#endif /* EGL_EGLEXT_PROTOTYPES */ |
|
|
|
|
|
|
|
typedef EGLint (EGLAPIENTRYP PFNEGLDUPNATIVEFENCEFDANDROIDPROC)(EGLDisplay dpy, EGLSyncKHR); |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_ANDROID_recordable |
|
|
|
|
|
|
|
#define EGL_ANDROID_recordable 1 |
|
|
|
|
|
|
|
#define EGL_RECORDABLE_ANDROID 0x3142 |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_buffer_age |
|
|
|
|
|
|
|
#define EGL_EXT_buffer_age 1 |
|
|
|
|
|
|
|
#define EGL_BUFFER_AGE_EXT 0x313D |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EGL_EXT_image_dma_buf_import |
|
|
|
|
|
|
|
#define EGL_EXT_image_dma_buf_import 1 |
|
|
|
|
|
|
|
#define EGL_LINUX_DMA_BUF_EXT 0x3270 |
|
|
|
|
|
|
|
#define EGL_LINUX_DRM_FOURCC_EXT 0x3271 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE0_OFFSET_EXT 0x3273 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE0_PITCH_EXT 0x3274 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE1_FD_EXT 0x3275 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE1_OFFSET_EXT 0x3276 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE1_PITCH_EXT 0x3277 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 |
|
|
|
|
|
|
|
#define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A |
|
|
|
|
|
|
|
#define EGL_YUV_COLOR_SPACE_HINT_EXT 0x327B |
|
|
|
|
|
|
|
#define EGL_SAMPLE_RANGE_HINT_EXT 0x327C |
|
|
|
|
|
|
|
#define EGL_YUV_CHROMA_HORIZONTAL_SITING_HINT_EXT 0x327D |
|
|
|
|
|
|
|
#define EGL_YUV_CHROMA_VERTICAL_SITING_HINT_EXT 0x327E |
|
|
|
|
|
|
|
#define EGL_ITU_REC601_EXT 0x327F |
|
|
|
|
|
|
|
#define EGL_ITU_REC709_EXT 0x3280 |
|
|
|
|
|
|
|
#define EGL_ITU_REC2020_EXT 0x3281 |
|
|
|
|
|
|
|
#define EGL_YUV_FULL_RANGE_EXT 0x3282 |
|
|
|
|
|
|
|
#define EGL_YUV_NARROW_RANGE_EXT 0x3283 |
|
|
|
|
|
|
|
#define EGL_YUV_CHROMA_SITING_0_EXT 0x3284 |
|
|
|
|
|
|
|
#define EGL_YUV_CHROMA_SITING_0_5_EXT 0x3285 |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
#ifdef __cplusplus |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
#endif /* __eglext_h_ */ |
|
|
|