8 #error Do not include YiEGLExtGenerated.h directly. Include YiEGLExt.h instead. 11 #ifndef _YI_EGL_EXT_GENERATED_H_ 12 #define _YI_EGL_EXT_GENERATED_H_ 13 #if defined(YI_OPENGL_ES2_RENDERING) && !defined(YI_IOS) && !defined(YI_TVOS) && !defined(YI_WEBOS) && !defined(YI_TIZEN_NACL) 22 inline EGLint YiEGLClientWaitSyncKHR(EGLDisplay pDpy, EGLSyncKHR pSync, EGLint nFlags, EGLTimeKHR uTimeout)
24 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglClientWaitSyncKHRStr);
25 YI_ASSERT(CYIEGL::CurrentAPI.eglClientWaitSyncKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglClientWaitSyncKHRStr, CYIEGL::EGL_KHR_fence_sync_STR);
26 return CYIEGL::CurrentAPI.eglClientWaitSyncKHRProc(pDpy, pSync, nFlags, uTimeout);
28 #define eglClientWaitSyncKHR YiEGLClientWaitSyncKHR 35 inline EGLint YiEGLClientWaitSyncNV(EGLSyncNV pSync, EGLint nFlags, EGLTimeNV uTimeout)
37 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglClientWaitSyncNVStr);
38 YI_ASSERT(CYIEGL::CurrentAPI.eglClientWaitSyncNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglClientWaitSyncNVStr, CYIEGL::EGL_NV_sync_STR);
39 return CYIEGL::CurrentAPI.eglClientWaitSyncNVProc(pSync, nFlags, uTimeout);
41 #define eglClientWaitSyncNV YiEGLClientWaitSyncNV 48 inline EGLImageKHR YiEGLCreateDRMImageMESA(EGLDisplay pDpy,
const EGLint *pnAttribList)
50 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateDRMImageMESAStr);
51 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateDRMImageMESAProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateDRMImageMESAStr, CYIEGL::EGL_MESA_drm_image_STR);
52 return CYIEGL::CurrentAPI.eglCreateDRMImageMESAProc(pDpy, pnAttribList);
54 #define eglCreateDRMImageMESA YiEGLCreateDRMImageMESA 61 inline EGLSyncNV YiEGLCreateFenceSyncNV(EGLDisplay pDpy, EGLenum eCondition,
const EGLint *pnAttribList)
63 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateFenceSyncNVStr);
64 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateFenceSyncNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateFenceSyncNVStr, CYIEGL::EGL_NV_sync_STR);
65 return CYIEGL::CurrentAPI.eglCreateFenceSyncNVProc(pDpy, eCondition, pnAttribList);
67 #define eglCreateFenceSyncNV YiEGLCreateFenceSyncNV 74 inline EGLImageKHR YiEGLCreateImageKHR(EGLDisplay pDpy, EGLContext pCtx, EGLenum eTarget, EGLClientBuffer pBuffer,
const EGLint *pnAttribList)
76 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateImageKHRStr);
77 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateImageKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateImageKHRStr, CYIEGL::EGL_KHR_image_STR);
78 return CYIEGL::CurrentAPI.eglCreateImageKHRProc(pDpy, pCtx, eTarget, pBuffer, pnAttribList);
80 #define eglCreateImageKHR YiEGLCreateImageKHR 87 inline EGLClientBuffer YiEGLCreateNativeClientBufferANDROID(
const EGLint *pnAttribList)
89 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateNativeClientBufferANDROIDStr);
90 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateNativeClientBufferANDROIDProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateNativeClientBufferANDROIDStr, CYIEGL::EGL_ANDROID_create_native_client_buffer_STR);
91 return CYIEGL::CurrentAPI.eglCreateNativeClientBufferANDROIDProc(pnAttribList);
93 #define eglCreateNativeClientBufferANDROID YiEGLCreateNativeClientBufferANDROID 100 inline EGLSurface YiEGLCreatePixmapSurfaceHI(EGLDisplay pDpy, EGLConfig pConfig,
struct EGLClientPixmapHI *pPixmap)
102 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreatePixmapSurfaceHIStr);
103 YI_ASSERT(CYIEGL::CurrentAPI.eglCreatePixmapSurfaceHIProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreatePixmapSurfaceHIStr, CYIEGL::EGL_HI_clientpixmap_STR);
104 return CYIEGL::CurrentAPI.eglCreatePixmapSurfaceHIProc(pDpy, pConfig, pPixmap);
106 #define eglCreatePixmapSurfaceHI YiEGLCreatePixmapSurfaceHI 113 inline EGLSurface YiEGLCreatePlatformPixmapSurfaceEXT(EGLDisplay pDpy, EGLConfig pConfig,
void *pNativePixmap,
const EGLint *pnAttribList)
115 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreatePlatformPixmapSurfaceEXTStr);
116 YI_ASSERT(CYIEGL::CurrentAPI.eglCreatePlatformPixmapSurfaceEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreatePlatformPixmapSurfaceEXTStr, CYIEGL::EGL_EXT_platform_base_STR);
117 return CYIEGL::CurrentAPI.eglCreatePlatformPixmapSurfaceEXTProc(pDpy, pConfig, pNativePixmap, pnAttribList);
119 #define eglCreatePlatformPixmapSurfaceEXT YiEGLCreatePlatformPixmapSurfaceEXT 126 inline EGLSurface YiEGLCreatePlatformWindowSurfaceEXT(EGLDisplay pDpy, EGLConfig pConfig,
void *pNativeWindow,
const EGLint *pnAttribList)
128 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreatePlatformWindowSurfaceEXTStr);
129 YI_ASSERT(CYIEGL::CurrentAPI.eglCreatePlatformWindowSurfaceEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreatePlatformWindowSurfaceEXTStr, CYIEGL::EGL_EXT_platform_base_STR);
130 return CYIEGL::CurrentAPI.eglCreatePlatformWindowSurfaceEXTProc(pDpy, pConfig, pNativeWindow, pnAttribList);
132 #define eglCreatePlatformWindowSurfaceEXT YiEGLCreatePlatformWindowSurfaceEXT 139 inline EGLStreamKHR YiEGLCreateStreamAttribKHR(EGLDisplay pDpy,
const EGLAttrib *pnAttribList)
141 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateStreamAttribKHRStr);
142 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateStreamAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateStreamAttribKHRStr, CYIEGL::EGL_KHR_stream_attrib_STR);
143 return CYIEGL::CurrentAPI.eglCreateStreamAttribKHRProc(pDpy, pnAttribList);
145 #define eglCreateStreamAttribKHR YiEGLCreateStreamAttribKHR 152 inline EGLStreamKHR YiEGLCreateStreamFromFileDescriptorKHR(EGLDisplay pDpy, EGLNativeFileDescriptorKHR nFileDescriptor)
154 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateStreamFromFileDescriptorKHRStr);
155 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateStreamFromFileDescriptorKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateStreamFromFileDescriptorKHRStr, CYIEGL::EGL_KHR_stream_cross_process_fd_STR);
156 return CYIEGL::CurrentAPI.eglCreateStreamFromFileDescriptorKHRProc(pDpy, nFileDescriptor);
158 #define eglCreateStreamFromFileDescriptorKHR YiEGLCreateStreamFromFileDescriptorKHR 165 inline EGLStreamKHR YiEGLCreateStreamKHR(EGLDisplay pDpy,
const EGLint *pnAttribList)
167 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateStreamKHRStr);
168 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateStreamKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateStreamKHRStr, CYIEGL::EGL_KHR_stream_STR);
169 return CYIEGL::CurrentAPI.eglCreateStreamKHRProc(pDpy, pnAttribList);
171 #define eglCreateStreamKHR YiEGLCreateStreamKHR 178 inline EGLSurface YiEGLCreateStreamProducerSurfaceKHR(EGLDisplay pDpy, EGLConfig pConfig, EGLStreamKHR pStream,
const EGLint *pnAttribList)
180 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateStreamProducerSurfaceKHRStr);
181 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateStreamProducerSurfaceKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateStreamProducerSurfaceKHRStr, CYIEGL::EGL_KHR_stream_producer_eglsurface_STR);
182 return CYIEGL::CurrentAPI.eglCreateStreamProducerSurfaceKHRProc(pDpy, pConfig, pStream, pnAttribList);
184 #define eglCreateStreamProducerSurfaceKHR YiEGLCreateStreamProducerSurfaceKHR 191 inline EGLSyncKHR YiEGLCreateStreamSyncNV(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eType,
const EGLint *pnAttribList)
193 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateStreamSyncNVStr);
194 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateStreamSyncNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateStreamSyncNVStr, CYIEGL::EGL_NV_stream_sync_STR);
195 return CYIEGL::CurrentAPI.eglCreateStreamSyncNVProc(pDpy, pStream, eType, pnAttribList);
197 #define eglCreateStreamSyncNV YiEGLCreateStreamSyncNV 204 inline EGLSyncKHR YiEGLCreateSync64KHR(EGLDisplay pDpy, EGLenum eType,
const EGLAttribKHR *pnAttribList)
206 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateSync64KHRStr);
207 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateSync64KHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateSync64KHRStr, CYIEGL::EGL_KHR_cl_event2_STR);
208 return CYIEGL::CurrentAPI.eglCreateSync64KHRProc(pDpy, eType, pnAttribList);
210 #define eglCreateSync64KHR YiEGLCreateSync64KHR 217 inline EGLSyncKHR YiEGLCreateSyncKHR(EGLDisplay pDpy, EGLenum eType,
const EGLint *pnAttribList)
219 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglCreateSyncKHRStr);
220 YI_ASSERT(CYIEGL::CurrentAPI.eglCreateSyncKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglCreateSyncKHRStr, CYIEGL::EGL_KHR_fence_sync_STR);
221 return CYIEGL::CurrentAPI.eglCreateSyncKHRProc(pDpy, eType, pnAttribList);
223 #define eglCreateSyncKHR YiEGLCreateSyncKHR 230 inline EGLint YiEGLDebugMessageControlKHR(EGLDEBUGPROCKHR callback,
const EGLAttrib *pnAttribList)
232 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDebugMessageControlKHRStr);
233 YI_ASSERT(CYIEGL::CurrentAPI.eglDebugMessageControlKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDebugMessageControlKHRStr, CYIEGL::EGL_KHR_debug_STR);
234 return CYIEGL::CurrentAPI.eglDebugMessageControlKHRProc(callback, pnAttribList);
236 #define eglDebugMessageControlKHR YiEGLDebugMessageControlKHR 243 inline EGLBoolean YiEGLDestroyImageKHR(EGLDisplay pDpy, EGLImageKHR pImage)
245 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDestroyImageKHRStr);
246 YI_ASSERT(CYIEGL::CurrentAPI.eglDestroyImageKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDestroyImageKHRStr, CYIEGL::EGL_KHR_image_STR);
247 return CYIEGL::CurrentAPI.eglDestroyImageKHRProc(pDpy, pImage);
249 #define eglDestroyImageKHR YiEGLDestroyImageKHR 256 inline EGLBoolean YiEGLDestroyStreamKHR(EGLDisplay pDpy, EGLStreamKHR pStream)
258 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDestroyStreamKHRStr);
259 YI_ASSERT(CYIEGL::CurrentAPI.eglDestroyStreamKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDestroyStreamKHRStr, CYIEGL::EGL_KHR_stream_STR);
260 return CYIEGL::CurrentAPI.eglDestroyStreamKHRProc(pDpy, pStream);
262 #define eglDestroyStreamKHR YiEGLDestroyStreamKHR 269 inline EGLBoolean YiEGLDestroySyncKHR(EGLDisplay pDpy, EGLSyncKHR pSync)
271 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDestroySyncKHRStr);
272 YI_ASSERT(CYIEGL::CurrentAPI.eglDestroySyncKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDestroySyncKHRStr, CYIEGL::EGL_KHR_fence_sync_STR);
273 return CYIEGL::CurrentAPI.eglDestroySyncKHRProc(pDpy, pSync);
275 #define eglDestroySyncKHR YiEGLDestroySyncKHR 282 inline EGLBoolean YiEGLDestroySyncNV(EGLSyncNV pSync)
284 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDestroySyncNVStr);
285 YI_ASSERT(CYIEGL::CurrentAPI.eglDestroySyncNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDestroySyncNVStr, CYIEGL::EGL_NV_sync_STR);
286 return CYIEGL::CurrentAPI.eglDestroySyncNVProc(pSync);
288 #define eglDestroySyncNV YiEGLDestroySyncNV 295 inline EGLint YiEGLDupNativeFenceFDANDROID(EGLDisplay pDpy, EGLSyncKHR pSync)
297 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglDupNativeFenceFDANDROIDStr);
298 YI_ASSERT(CYIEGL::CurrentAPI.eglDupNativeFenceFDANDROIDProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglDupNativeFenceFDANDROIDStr, CYIEGL::EGL_ANDROID_native_fence_sync_STR);
299 return CYIEGL::CurrentAPI.eglDupNativeFenceFDANDROIDProc(pDpy, pSync);
301 #define eglDupNativeFenceFDANDROID YiEGLDupNativeFenceFDANDROID 308 inline EGLBoolean YiEGLExportDMABUFImageMESA(EGLDisplay pDpy, EGLImageKHR pImage,
int *pFds, EGLint *pnStrides, EGLint *pnOffsets)
310 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglExportDMABUFImageMESAStr);
311 YI_ASSERT(CYIEGL::CurrentAPI.eglExportDMABUFImageMESAProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglExportDMABUFImageMESAStr, CYIEGL::EGL_MESA_image_dma_buf_export_STR);
312 return CYIEGL::CurrentAPI.eglExportDMABUFImageMESAProc(pDpy, pImage, pFds, pnStrides, pnOffsets);
314 #define eglExportDMABUFImageMESA YiEGLExportDMABUFImageMESA 321 inline EGLBoolean YiEGLExportDMABUFImageQueryMESA(EGLDisplay pDpy, EGLImageKHR pImage,
int *pFourcc,
int *pNumPlanes, EGLuint64KHR *puModifiers)
323 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglExportDMABUFImageQueryMESAStr);
324 YI_ASSERT(CYIEGL::CurrentAPI.eglExportDMABUFImageQueryMESAProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglExportDMABUFImageQueryMESAStr, CYIEGL::EGL_MESA_image_dma_buf_export_STR);
325 return CYIEGL::CurrentAPI.eglExportDMABUFImageQueryMESAProc(pDpy, pImage, pFourcc, pNumPlanes, puModifiers);
327 #define eglExportDMABUFImageQueryMESA YiEGLExportDMABUFImageQueryMESA 334 inline EGLBoolean YiEGLExportDRMImageMESA(EGLDisplay pDpy, EGLImageKHR pImage, EGLint *pnName, EGLint *pnHandle, EGLint *pnStride)
336 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglExportDRMImageMESAStr);
337 YI_ASSERT(CYIEGL::CurrentAPI.eglExportDRMImageMESAProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglExportDRMImageMESAStr, CYIEGL::EGL_MESA_drm_image_STR);
338 return CYIEGL::CurrentAPI.eglExportDRMImageMESAProc(pDpy, pImage, pnName, pnHandle, pnStride);
340 #define eglExportDRMImageMESA YiEGLExportDRMImageMESA 347 inline EGLBoolean YiEGLFenceNV(EGLSyncNV pSync)
349 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglFenceNVStr);
350 YI_ASSERT(CYIEGL::CurrentAPI.eglFenceNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglFenceNVStr, CYIEGL::EGL_NV_sync_STR);
351 return CYIEGL::CurrentAPI.eglFenceNVProc(pSync);
353 #define eglFenceNV YiEGLFenceNV 360 inline EGLBoolean YiEGLGetOutputLayersEXT(EGLDisplay pDpy,
const EGLAttrib *pnAttribList, EGLOutputLayerEXT *ppLayers, EGLint nMaxLayers, EGLint *pnNumLayers)
362 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetOutputLayersEXTStr);
363 YI_ASSERT(CYIEGL::CurrentAPI.eglGetOutputLayersEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetOutputLayersEXTStr, CYIEGL::EGL_EXT_output_base_STR);
364 return CYIEGL::CurrentAPI.eglGetOutputLayersEXTProc(pDpy, pnAttribList, ppLayers, nMaxLayers, pnNumLayers);
366 #define eglGetOutputLayersEXT YiEGLGetOutputLayersEXT 373 inline EGLBoolean YiEGLGetOutputPortsEXT(EGLDisplay pDpy,
const EGLAttrib *pnAttribList, EGLOutputPortEXT *ppPorts, EGLint nMaxPorts, EGLint *pnNumPorts)
375 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetOutputPortsEXTStr);
376 YI_ASSERT(CYIEGL::CurrentAPI.eglGetOutputPortsEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetOutputPortsEXTStr, CYIEGL::EGL_EXT_output_base_STR);
377 return CYIEGL::CurrentAPI.eglGetOutputPortsEXTProc(pDpy, pnAttribList, ppPorts, nMaxPorts, pnNumPorts);
379 #define eglGetOutputPortsEXT YiEGLGetOutputPortsEXT 386 inline EGLDisplay YiEGLGetPlatformDisplayEXT(EGLenum ePlatform,
void *pNativeDisplay,
const EGLint *pnAttribList)
388 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetPlatformDisplayEXTStr);
389 YI_ASSERT(CYIEGL::CurrentAPI.eglGetPlatformDisplayEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetPlatformDisplayEXTStr, CYIEGL::EGL_EXT_platform_base_STR);
390 return CYIEGL::CurrentAPI.eglGetPlatformDisplayEXTProc(ePlatform, pNativeDisplay, pnAttribList);
392 #define eglGetPlatformDisplayEXT YiEGLGetPlatformDisplayEXT 399 inline EGLNativeFileDescriptorKHR YiEGLGetStreamFileDescriptorKHR(EGLDisplay pDpy, EGLStreamKHR pStream)
401 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetStreamFileDescriptorKHRStr);
402 YI_ASSERT(CYIEGL::CurrentAPI.eglGetStreamFileDescriptorKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetStreamFileDescriptorKHRStr, CYIEGL::EGL_KHR_stream_cross_process_fd_STR);
403 return CYIEGL::CurrentAPI.eglGetStreamFileDescriptorKHRProc(pDpy, pStream);
405 #define eglGetStreamFileDescriptorKHR YiEGLGetStreamFileDescriptorKHR 412 inline EGLBoolean YiEGLGetSyncAttribKHR(EGLDisplay pDpy, EGLSyncKHR pSync, EGLint nAttribute, EGLint *pnValue)
414 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetSyncAttribKHRStr);
415 YI_ASSERT(CYIEGL::CurrentAPI.eglGetSyncAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetSyncAttribKHRStr, CYIEGL::EGL_KHR_fence_sync_STR);
416 return CYIEGL::CurrentAPI.eglGetSyncAttribKHRProc(pDpy, pSync, nAttribute, pnValue);
418 #define eglGetSyncAttribKHR YiEGLGetSyncAttribKHR 425 inline EGLBoolean YiEGLGetSyncAttribNV(EGLSyncNV pSync, EGLint nAttribute, EGLint *pnValue)
427 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetSyncAttribNVStr);
428 YI_ASSERT(CYIEGL::CurrentAPI.eglGetSyncAttribNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetSyncAttribNVStr, CYIEGL::EGL_NV_sync_STR);
429 return CYIEGL::CurrentAPI.eglGetSyncAttribNVProc(pSync, nAttribute, pnValue);
431 #define eglGetSyncAttribNV YiEGLGetSyncAttribNV 438 inline EGLuint64NV YiEGLGetSystemTimeFrequencyNV(
void)
440 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetSystemTimeFrequencyNVStr);
441 YI_ASSERT(CYIEGL::CurrentAPI.eglGetSystemTimeFrequencyNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetSystemTimeFrequencyNVStr, CYIEGL::EGL_NV_system_time_STR);
442 return CYIEGL::CurrentAPI.eglGetSystemTimeFrequencyNVProc();
444 #define eglGetSystemTimeFrequencyNV YiEGLGetSystemTimeFrequencyNV 451 inline EGLuint64NV YiEGLGetSystemTimeNV(
void)
453 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglGetSystemTimeNVStr);
454 YI_ASSERT(CYIEGL::CurrentAPI.eglGetSystemTimeNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglGetSystemTimeNVStr, CYIEGL::EGL_NV_system_time_STR);
455 return CYIEGL::CurrentAPI.eglGetSystemTimeNVProc();
457 #define eglGetSystemTimeNV YiEGLGetSystemTimeNV 464 inline EGLint YiEGLLabelObjectKHR(EGLDisplay pDisplay, EGLenum eObjectType, EGLObjectKHR
object, EGLLabelKHR label)
466 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglLabelObjectKHRStr);
467 YI_ASSERT(CYIEGL::CurrentAPI.eglLabelObjectKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglLabelObjectKHRStr, CYIEGL::EGL_KHR_debug_STR);
468 return CYIEGL::CurrentAPI.eglLabelObjectKHRProc(pDisplay, eObjectType,
object, label);
470 #define eglLabelObjectKHR YiEGLLabelObjectKHR 477 inline EGLBoolean YiEGLLockSurfaceKHR(EGLDisplay pDpy, EGLSurface pSurface,
const EGLint *pnAttribList)
479 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglLockSurfaceKHRStr);
480 YI_ASSERT(CYIEGL::CurrentAPI.eglLockSurfaceKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglLockSurfaceKHRStr, CYIEGL::EGL_KHR_lock_surface_STR);
481 return CYIEGL::CurrentAPI.eglLockSurfaceKHRProc(pDpy, pSurface, pnAttribList);
483 #define eglLockSurfaceKHR YiEGLLockSurfaceKHR 490 inline EGLBoolean YiEGLOutputLayerAttribEXT(EGLDisplay pDpy, EGLOutputLayerEXT pLayer, EGLint nAttribute, EGLAttrib nValue)
492 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglOutputLayerAttribEXTStr);
493 YI_ASSERT(CYIEGL::CurrentAPI.eglOutputLayerAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglOutputLayerAttribEXTStr, CYIEGL::EGL_EXT_output_base_STR);
494 return CYIEGL::CurrentAPI.eglOutputLayerAttribEXTProc(pDpy, pLayer, nAttribute, nValue);
496 #define eglOutputLayerAttribEXT YiEGLOutputLayerAttribEXT 503 inline EGLBoolean YiEGLOutputPortAttribEXT(EGLDisplay pDpy, EGLOutputPortEXT pPort, EGLint nAttribute, EGLAttrib nValue)
505 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglOutputPortAttribEXTStr);
506 YI_ASSERT(CYIEGL::CurrentAPI.eglOutputPortAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglOutputPortAttribEXTStr, CYIEGL::EGL_EXT_output_base_STR);
507 return CYIEGL::CurrentAPI.eglOutputPortAttribEXTProc(pDpy, pPort, nAttribute, nValue);
509 #define eglOutputPortAttribEXT YiEGLOutputPortAttribEXT 516 inline EGLBoolean YiEGLPostSubBufferNV(EGLDisplay pDpy, EGLSurface pSurface, EGLint nX, EGLint nY, EGLint nWidth, EGLint nHeight)
518 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglPostSubBufferNVStr);
519 YI_ASSERT(CYIEGL::CurrentAPI.eglPostSubBufferNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglPostSubBufferNVStr, CYIEGL::EGL_NV_post_sub_buffer_STR);
520 return CYIEGL::CurrentAPI.eglPostSubBufferNVProc(pDpy, pSurface, nX, nY, nWidth, nHeight);
522 #define eglPostSubBufferNV YiEGLPostSubBufferNV 529 inline EGLBoolean YiEGLPresentationTimeANDROID(EGLDisplay pDpy, EGLSurface pSurface, EGLnsecsANDROID nTime)
531 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglPresentationTimeANDROIDStr);
532 YI_ASSERT(CYIEGL::CurrentAPI.eglPresentationTimeANDROIDProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglPresentationTimeANDROIDStr, CYIEGL::EGL_ANDROID_presentation_time_STR);
533 return CYIEGL::CurrentAPI.eglPresentationTimeANDROIDProc(pDpy, pSurface, nTime);
535 #define eglPresentationTimeANDROID YiEGLPresentationTimeANDROID 542 inline EGLBoolean YiEGLQueryDebugKHR(EGLint nAttribute, EGLAttrib *pnValue)
544 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDebugKHRStr);
545 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDebugKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDebugKHRStr, CYIEGL::EGL_KHR_debug_STR);
546 return CYIEGL::CurrentAPI.eglQueryDebugKHRProc(nAttribute, pnValue);
548 #define eglQueryDebugKHR YiEGLQueryDebugKHR 555 inline EGLBoolean YiEGLQueryDeviceAttribEXT(EGLDeviceEXT pDevice, EGLint nAttribute, EGLAttrib *pnValue)
557 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDeviceAttribEXTStr);
558 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDeviceAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDeviceAttribEXTStr, CYIEGL::EGL_EXT_device_base_STR);
559 return CYIEGL::CurrentAPI.eglQueryDeviceAttribEXTProc(pDevice, nAttribute, pnValue);
561 #define eglQueryDeviceAttribEXT YiEGLQueryDeviceAttribEXT 568 inline const char *YiEGLQueryDeviceStringEXT(EGLDeviceEXT pDevice, EGLint nName)
570 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDeviceStringEXTStr);
571 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDeviceStringEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDeviceStringEXTStr, CYIEGL::EGL_EXT_device_base_STR);
572 return CYIEGL::CurrentAPI.eglQueryDeviceStringEXTProc(pDevice, nName);
574 #define eglQueryDeviceStringEXT YiEGLQueryDeviceStringEXT 581 inline EGLBoolean YiEGLQueryDevicesEXT(EGLint nMaxDevices, EGLDeviceEXT *ppDevices, EGLint *pnNumDevices)
583 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDevicesEXTStr);
584 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDevicesEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDevicesEXTStr, CYIEGL::EGL_EXT_device_base_STR);
585 return CYIEGL::CurrentAPI.eglQueryDevicesEXTProc(nMaxDevices, ppDevices, pnNumDevices);
587 #define eglQueryDevicesEXT YiEGLQueryDevicesEXT 594 inline EGLBoolean YiEGLQueryDisplayAttribEXT(EGLDisplay pDpy, EGLint nAttribute, EGLAttrib *pnValue)
596 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDisplayAttribEXTStr);
597 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDisplayAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDisplayAttribEXTStr, CYIEGL::EGL_EXT_device_base_STR);
598 return CYIEGL::CurrentAPI.eglQueryDisplayAttribEXTProc(pDpy, nAttribute, pnValue);
600 #define eglQueryDisplayAttribEXT YiEGLQueryDisplayAttribEXT 607 inline EGLBoolean YiEGLQueryDisplayAttribNV(EGLDisplay pDpy, EGLint nAttribute, EGLAttrib *pnValue)
609 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryDisplayAttribNVStr);
610 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryDisplayAttribNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryDisplayAttribNVStr, CYIEGL::EGL_NV_stream_metadata_STR);
611 return CYIEGL::CurrentAPI.eglQueryDisplayAttribNVProc(pDpy, nAttribute, pnValue);
613 #define eglQueryDisplayAttribNV YiEGLQueryDisplayAttribNV 620 inline EGLBoolean YiEGLQueryNativeDisplayNV(EGLDisplay pDpy, EGLNativeDisplayType *ppDisplayId)
622 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryNativeDisplayNVStr);
623 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryNativeDisplayNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryNativeDisplayNVStr, CYIEGL::EGL_NV_native_query_STR);
624 return CYIEGL::CurrentAPI.eglQueryNativeDisplayNVProc(pDpy, ppDisplayId);
626 #define eglQueryNativeDisplayNV YiEGLQueryNativeDisplayNV 633 inline EGLBoolean YiEGLQueryNativePixmapNV(EGLDisplay pDpy, EGLSurface pSurf, EGLNativePixmapType *ppPixmap)
635 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryNativePixmapNVStr);
636 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryNativePixmapNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryNativePixmapNVStr, CYIEGL::EGL_NV_native_query_STR);
637 return CYIEGL::CurrentAPI.eglQueryNativePixmapNVProc(pDpy, pSurf, ppPixmap);
639 #define eglQueryNativePixmapNV YiEGLQueryNativePixmapNV 646 inline EGLBoolean YiEGLQueryNativeWindowNV(EGLDisplay pDpy, EGLSurface pSurf, EGLNativeWindowType *ppWindow)
648 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryNativeWindowNVStr);
649 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryNativeWindowNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryNativeWindowNVStr, CYIEGL::EGL_NV_native_query_STR);
650 return CYIEGL::CurrentAPI.eglQueryNativeWindowNVProc(pDpy, pSurf, ppWindow);
652 #define eglQueryNativeWindowNV YiEGLQueryNativeWindowNV 659 inline EGLBoolean YiEGLQueryOutputLayerAttribEXT(EGLDisplay pDpy, EGLOutputLayerEXT pLayer, EGLint nAttribute, EGLAttrib *pnValue)
661 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryOutputLayerAttribEXTStr);
662 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryOutputLayerAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryOutputLayerAttribEXTStr, CYIEGL::EGL_EXT_output_base_STR);
663 return CYIEGL::CurrentAPI.eglQueryOutputLayerAttribEXTProc(pDpy, pLayer, nAttribute, pnValue);
665 #define eglQueryOutputLayerAttribEXT YiEGLQueryOutputLayerAttribEXT 672 inline const char *YiEGLQueryOutputLayerStringEXT(EGLDisplay pDpy, EGLOutputLayerEXT pLayer, EGLint nName)
674 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryOutputLayerStringEXTStr);
675 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryOutputLayerStringEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryOutputLayerStringEXTStr, CYIEGL::EGL_EXT_output_base_STR);
676 return CYIEGL::CurrentAPI.eglQueryOutputLayerStringEXTProc(pDpy, pLayer, nName);
678 #define eglQueryOutputLayerStringEXT YiEGLQueryOutputLayerStringEXT 685 inline EGLBoolean YiEGLQueryOutputPortAttribEXT(EGLDisplay pDpy, EGLOutputPortEXT pPort, EGLint nAttribute, EGLAttrib *pnValue)
687 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryOutputPortAttribEXTStr);
688 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryOutputPortAttribEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryOutputPortAttribEXTStr, CYIEGL::EGL_EXT_output_base_STR);
689 return CYIEGL::CurrentAPI.eglQueryOutputPortAttribEXTProc(pDpy, pPort, nAttribute, pnValue);
691 #define eglQueryOutputPortAttribEXT YiEGLQueryOutputPortAttribEXT 698 inline const char *YiEGLQueryOutputPortStringEXT(EGLDisplay pDpy, EGLOutputPortEXT pPort, EGLint nName)
700 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryOutputPortStringEXTStr);
701 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryOutputPortStringEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryOutputPortStringEXTStr, CYIEGL::EGL_EXT_output_base_STR);
702 return CYIEGL::CurrentAPI.eglQueryOutputPortStringEXTProc(pDpy, pPort, nName);
704 #define eglQueryOutputPortStringEXT YiEGLQueryOutputPortStringEXT 711 inline EGLBoolean YiEGLQueryStreamAttribKHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLAttrib *pnValue)
713 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryStreamAttribKHRStr);
714 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryStreamAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryStreamAttribKHRStr, CYIEGL::EGL_KHR_stream_attrib_STR);
715 return CYIEGL::CurrentAPI.eglQueryStreamAttribKHRProc(pDpy, pStream, eAttribute, pnValue);
717 #define eglQueryStreamAttribKHR YiEGLQueryStreamAttribKHR 724 inline EGLBoolean YiEGLQueryStreamKHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLint *pnValue)
726 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryStreamKHRStr);
727 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryStreamKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryStreamKHRStr, CYIEGL::EGL_KHR_stream_STR);
728 return CYIEGL::CurrentAPI.eglQueryStreamKHRProc(pDpy, pStream, eAttribute, pnValue);
730 #define eglQueryStreamKHR YiEGLQueryStreamKHR 737 inline EGLBoolean YiEGLQueryStreamMetadataNV(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eName, EGLint nN, EGLint nOffset, EGLint nSize,
void *pData)
739 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryStreamMetadataNVStr);
740 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryStreamMetadataNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryStreamMetadataNVStr, CYIEGL::EGL_NV_stream_metadata_STR);
741 return CYIEGL::CurrentAPI.eglQueryStreamMetadataNVProc(pDpy, pStream, eName, nN, nOffset, nSize, pData);
743 #define eglQueryStreamMetadataNV YiEGLQueryStreamMetadataNV 750 inline EGLBoolean YiEGLQueryStreamTimeKHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLTimeKHR *puValue)
752 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryStreamTimeKHRStr);
753 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryStreamTimeKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryStreamTimeKHRStr, CYIEGL::EGL_KHR_stream_fifo_STR);
754 return CYIEGL::CurrentAPI.eglQueryStreamTimeKHRProc(pDpy, pStream, eAttribute, puValue);
756 #define eglQueryStreamTimeKHR YiEGLQueryStreamTimeKHR 763 inline EGLBoolean YiEGLQueryStreamu64KHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLuint64KHR *puValue)
765 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQueryStreamu64KHRStr);
766 YI_ASSERT(CYIEGL::CurrentAPI.eglQueryStreamu64KHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQueryStreamu64KHRStr, CYIEGL::EGL_KHR_stream_STR);
767 return CYIEGL::CurrentAPI.eglQueryStreamu64KHRProc(pDpy, pStream, eAttribute, puValue);
769 #define eglQueryStreamu64KHR YiEGLQueryStreamu64KHR 776 inline EGLBoolean YiEGLQuerySurface64KHR(EGLDisplay pDpy, EGLSurface pSurface, EGLint nAttribute, EGLAttribKHR *pnValue)
778 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQuerySurface64KHRStr);
779 YI_ASSERT(CYIEGL::CurrentAPI.eglQuerySurface64KHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQuerySurface64KHRStr, CYIEGL::EGL_KHR_lock_surface3_STR);
780 return CYIEGL::CurrentAPI.eglQuerySurface64KHRProc(pDpy, pSurface, nAttribute, pnValue);
782 #define eglQuerySurface64KHR YiEGLQuerySurface64KHR 789 inline EGLBoolean YiEGLQuerySurfacePointerANGLE(EGLDisplay pDpy, EGLSurface pSurface, EGLint nAttribute,
void **ppValue)
791 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglQuerySurfacePointerANGLEStr);
792 YI_ASSERT(CYIEGL::CurrentAPI.eglQuerySurfacePointerANGLEProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglQuerySurfacePointerANGLEStr, CYIEGL::EGL_ANGLE_query_surface_pointer_STR);
793 return CYIEGL::CurrentAPI.eglQuerySurfacePointerANGLEProc(pDpy, pSurface, nAttribute, ppValue);
795 #define eglQuerySurfacePointerANGLE YiEGLQuerySurfacePointerANGLE 802 inline void YiEGLSetBlobCacheFuncsANDROID(EGLDisplay pDpy, EGLSetBlobFuncANDROID
set, EGLGetBlobFuncANDROID
get)
804 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSetBlobCacheFuncsANDROIDStr);
805 YI_ASSERT(CYIEGL::CurrentAPI.eglSetBlobCacheFuncsANDROIDProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSetBlobCacheFuncsANDROIDStr, CYIEGL::EGL_ANDROID_blob_cache_STR);
806 CYIEGL::CurrentAPI.eglSetBlobCacheFuncsANDROIDProc(pDpy,
set,
get);
808 #define eglSetBlobCacheFuncsANDROID YiEGLSetBlobCacheFuncsANDROID 815 inline EGLBoolean YiEGLSetDamageRegionKHR(EGLDisplay pDpy, EGLSurface pSurface, EGLint *pnRects, EGLint nNRects)
817 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSetDamageRegionKHRStr);
818 YI_ASSERT(CYIEGL::CurrentAPI.eglSetDamageRegionKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSetDamageRegionKHRStr, CYIEGL::EGL_KHR_partial_update_STR);
819 return CYIEGL::CurrentAPI.eglSetDamageRegionKHRProc(pDpy, pSurface, pnRects, nNRects);
821 #define eglSetDamageRegionKHR YiEGLSetDamageRegionKHR 828 inline EGLBoolean YiEGLSetStreamAttribKHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLAttrib nValue)
830 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSetStreamAttribKHRStr);
831 YI_ASSERT(CYIEGL::CurrentAPI.eglSetStreamAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSetStreamAttribKHRStr, CYIEGL::EGL_KHR_stream_attrib_STR);
832 return CYIEGL::CurrentAPI.eglSetStreamAttribKHRProc(pDpy, pStream, eAttribute, nValue);
834 #define eglSetStreamAttribKHR YiEGLSetStreamAttribKHR 841 inline EGLBoolean YiEGLSetStreamMetadataNV(EGLDisplay pDpy, EGLStreamKHR pStream, EGLint nN, EGLint nOffset, EGLint nSize,
const void *pData)
843 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSetStreamMetadataNVStr);
844 YI_ASSERT(CYIEGL::CurrentAPI.eglSetStreamMetadataNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSetStreamMetadataNVStr, CYIEGL::EGL_NV_stream_metadata_STR);
845 return CYIEGL::CurrentAPI.eglSetStreamMetadataNVProc(pDpy, pStream, nN, nOffset, nSize, pData);
847 #define eglSetStreamMetadataNV YiEGLSetStreamMetadataNV 854 inline EGLBoolean YiEGLSignalSyncKHR(EGLDisplay pDpy, EGLSyncKHR pSync, EGLenum eMode)
856 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSignalSyncKHRStr);
857 YI_ASSERT(CYIEGL::CurrentAPI.eglSignalSyncKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSignalSyncKHRStr, CYIEGL::EGL_KHR_reusable_sync_STR);
858 return CYIEGL::CurrentAPI.eglSignalSyncKHRProc(pDpy, pSync, eMode);
860 #define eglSignalSyncKHR YiEGLSignalSyncKHR 867 inline EGLBoolean YiEGLSignalSyncNV(EGLSyncNV pSync, EGLenum eMode)
869 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSignalSyncNVStr);
870 YI_ASSERT(CYIEGL::CurrentAPI.eglSignalSyncNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSignalSyncNVStr, CYIEGL::EGL_NV_sync_STR);
871 return CYIEGL::CurrentAPI.eglSignalSyncNVProc(pSync, eMode);
873 #define eglSignalSyncNV YiEGLSignalSyncNV 880 inline EGLBoolean YiEGLStreamAttribKHR(EGLDisplay pDpy, EGLStreamKHR pStream, EGLenum eAttribute, EGLint nValue)
882 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamAttribKHRStr);
883 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamAttribKHRStr, CYIEGL::EGL_KHR_stream_STR);
884 return CYIEGL::CurrentAPI.eglStreamAttribKHRProc(pDpy, pStream, eAttribute, nValue);
886 #define eglStreamAttribKHR YiEGLStreamAttribKHR 893 inline EGLBoolean YiEGLStreamConsumerAcquireAttribKHR(EGLDisplay pDpy, EGLStreamKHR pStream,
const EGLAttrib *pnAttribList)
895 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerAcquireAttribKHRStr);
896 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerAcquireAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerAcquireAttribKHRStr, CYIEGL::EGL_KHR_stream_attrib_STR);
897 return CYIEGL::CurrentAPI.eglStreamConsumerAcquireAttribKHRProc(pDpy, pStream, pnAttribList);
899 #define eglStreamConsumerAcquireAttribKHR YiEGLStreamConsumerAcquireAttribKHR 906 inline EGLBoolean YiEGLStreamConsumerAcquireKHR(EGLDisplay pDpy, EGLStreamKHR pStream)
908 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerAcquireKHRStr);
909 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerAcquireKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerAcquireKHRStr, CYIEGL::EGL_KHR_stream_consumer_gltexture_STR);
910 return CYIEGL::CurrentAPI.eglStreamConsumerAcquireKHRProc(pDpy, pStream);
912 #define eglStreamConsumerAcquireKHR YiEGLStreamConsumerAcquireKHR 919 inline EGLBoolean YiEGLStreamConsumerGLTextureExternalAttribsNV(EGLDisplay pDpy, EGLStreamKHR pStream, EGLAttrib *pnAttribList)
921 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerGLTextureExternalAttribsNVStr);
922 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerGLTextureExternalAttribsNVProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerGLTextureExternalAttribsNVStr, CYIEGL::EGL_NV_stream_consumer_gltexture_yuv_STR);
923 return CYIEGL::CurrentAPI.eglStreamConsumerGLTextureExternalAttribsNVProc(pDpy, pStream, pnAttribList);
925 #define eglStreamConsumerGLTextureExternalAttribsNV YiEGLStreamConsumerGLTextureExternalAttribsNV 932 inline EGLBoolean YiEGLStreamConsumerGLTextureExternalKHR(EGLDisplay pDpy, EGLStreamKHR pStream)
934 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerGLTextureExternalKHRStr);
935 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerGLTextureExternalKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerGLTextureExternalKHRStr, CYIEGL::EGL_KHR_stream_consumer_gltexture_STR);
936 return CYIEGL::CurrentAPI.eglStreamConsumerGLTextureExternalKHRProc(pDpy, pStream);
938 #define eglStreamConsumerGLTextureExternalKHR YiEGLStreamConsumerGLTextureExternalKHR 945 inline EGLBoolean YiEGLStreamConsumerOutputEXT(EGLDisplay pDpy, EGLStreamKHR pStream, EGLOutputLayerEXT pLayer)
947 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerOutputEXTStr);
948 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerOutputEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerOutputEXTStr, CYIEGL::EGL_EXT_stream_consumer_egloutput_STR);
949 return CYIEGL::CurrentAPI.eglStreamConsumerOutputEXTProc(pDpy, pStream, pLayer);
951 #define eglStreamConsumerOutputEXT YiEGLStreamConsumerOutputEXT 958 inline EGLBoolean YiEGLStreamConsumerReleaseAttribKHR(EGLDisplay pDpy, EGLStreamKHR pStream,
const EGLAttrib *pnAttribList)
960 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerReleaseAttribKHRStr);
961 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerReleaseAttribKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerReleaseAttribKHRStr, CYIEGL::EGL_KHR_stream_attrib_STR);
962 return CYIEGL::CurrentAPI.eglStreamConsumerReleaseAttribKHRProc(pDpy, pStream, pnAttribList);
964 #define eglStreamConsumerReleaseAttribKHR YiEGLStreamConsumerReleaseAttribKHR 971 inline EGLBoolean YiEGLStreamConsumerReleaseKHR(EGLDisplay pDpy, EGLStreamKHR pStream)
973 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglStreamConsumerReleaseKHRStr);
974 YI_ASSERT(CYIEGL::CurrentAPI.eglStreamConsumerReleaseKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglStreamConsumerReleaseKHRStr, CYIEGL::EGL_KHR_stream_consumer_gltexture_STR);
975 return CYIEGL::CurrentAPI.eglStreamConsumerReleaseKHRProc(pDpy, pStream);
977 #define eglStreamConsumerReleaseKHR YiEGLStreamConsumerReleaseKHR 984 inline EGLBoolean YiEGLSwapBuffersRegion2NOK(EGLDisplay pDpy, EGLSurface pSurface, EGLint nNumRects,
const EGLint *pnRects)
986 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSwapBuffersRegion2NOKStr);
987 YI_ASSERT(CYIEGL::CurrentAPI.eglSwapBuffersRegion2NOKProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSwapBuffersRegion2NOKStr, CYIEGL::EGL_NOK_swap_region2_STR);
988 return CYIEGL::CurrentAPI.eglSwapBuffersRegion2NOKProc(pDpy, pSurface, nNumRects, pnRects);
990 #define eglSwapBuffersRegion2NOK YiEGLSwapBuffersRegion2NOK 995 inline EGLBoolean YiEGLSwapBuffersRegionNOK(EGLDisplay pDpy, EGLSurface pSurface, EGLint nNumRects,
const EGLint *pnRects)
997 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSwapBuffersRegionNOKStr);
998 YI_ASSERT(CYIEGL::CurrentAPI.eglSwapBuffersRegionNOKProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSwapBuffersRegionNOKStr, CYIEGL::EGL_NOK_swap_region_STR);
999 return CYIEGL::CurrentAPI.eglSwapBuffersRegionNOKProc(pDpy, pSurface, nNumRects, pnRects);
1001 #define eglSwapBuffersRegionNOK YiEGLSwapBuffersRegionNOK 1008 inline EGLBoolean YiEGLSwapBuffersWithDamageEXT(EGLDisplay pDpy, EGLSurface pSurface, EGLint *pnRects, EGLint nNRects)
1010 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSwapBuffersWithDamageEXTStr);
1011 YI_ASSERT(CYIEGL::CurrentAPI.eglSwapBuffersWithDamageEXTProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSwapBuffersWithDamageEXTStr, CYIEGL::EGL_EXT_swap_buffers_with_damage_STR);
1012 return CYIEGL::CurrentAPI.eglSwapBuffersWithDamageEXTProc(pDpy, pSurface, pnRects, nNRects);
1014 #define eglSwapBuffersWithDamageEXT YiEGLSwapBuffersWithDamageEXT 1021 inline EGLBoolean YiEGLSwapBuffersWithDamageKHR(EGLDisplay pDpy, EGLSurface pSurface, EGLint *pnRects, EGLint nNRects)
1023 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglSwapBuffersWithDamageKHRStr);
1024 YI_ASSERT(CYIEGL::CurrentAPI.eglSwapBuffersWithDamageKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglSwapBuffersWithDamageKHRStr, CYIEGL::EGL_KHR_swap_buffers_with_damage_STR);
1025 return CYIEGL::CurrentAPI.eglSwapBuffersWithDamageKHRProc(pDpy, pSurface, pnRects, nNRects);
1027 #define eglSwapBuffersWithDamageKHR YiEGLSwapBuffersWithDamageKHR 1034 inline EGLBoolean YiEGLUnlockSurfaceKHR(EGLDisplay pDpy, EGLSurface pSurface)
1036 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglUnlockSurfaceKHRStr);
1037 YI_ASSERT(CYIEGL::CurrentAPI.eglUnlockSurfaceKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglUnlockSurfaceKHRStr, CYIEGL::EGL_KHR_lock_surface_STR);
1038 return CYIEGL::CurrentAPI.eglUnlockSurfaceKHRProc(pDpy, pSurface);
1040 #define eglUnlockSurfaceKHR YiEGLUnlockSurfaceKHR 1047 inline EGLint YiEGLWaitSyncKHR(EGLDisplay pDpy, EGLSyncKHR pSync, EGLint nFlags)
1049 YI_ASSERT(CYIEGL::CurrentAPI.bInitialized, CYIEGL::LOG_TAG,
"CYIEGL was not initialized. Did you call CYIEGL::Init() before calling '%s'?", CYIEGL::eglWaitSyncKHRStr);
1050 YI_ASSERT(CYIEGL::CurrentAPI.eglWaitSyncKHRProc, CYIEGL::LOG_TAG,
"'%s' procedure for '%s' is null.", CYIEGL::eglWaitSyncKHRStr, CYIEGL::EGL_KHR_wait_sync_STR);
1051 return CYIEGL::CurrentAPI.eglWaitSyncKHRProc(pDpy, pSync, nFlags);
1053 #define eglWaitSyncKHR YiEGLWaitSyncKHR
#define YI_ASSERT(condition, tag, msg,...)
Platform-independent assertion macro.
Definition: YiError.h:37