Lines Matching refs:dpy
216 EGLDisplay dpy = egl_display_t::getFromNativeDisplay(display); in eglGetDisplay() local
217 return dpy; in eglGetDisplay()
224 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor) in eglInitialize() argument
228 egl_display_ptr dp = get_display(dpy); in eglInitialize()
236 EGLBoolean eglTerminate(EGLDisplay dpy) in eglTerminate() argument
244 egl_display_ptr dp = get_display(dpy); in eglTerminate()
256 EGLBoolean eglGetConfigs( EGLDisplay dpy, in eglGetConfigs() argument
262 const egl_display_ptr dp = validate_display(dpy); in eglGetConfigs()
275 dp->disp.dpy, configs, config_size, num_config); in eglGetConfigs()
281 EGLBoolean eglChooseConfig( EGLDisplay dpy, const EGLint *attrib_list, in eglChooseConfig() argument
287 const egl_display_ptr dp = validate_display(dpy); in eglChooseConfig()
341 dp->disp.dpy, aaAttribs, configs, config_size, &numConfigAA); in eglChooseConfig()
353 dp->disp.dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
358 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, in eglGetConfigAttrib() argument
364 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglGetConfigAttrib()
368 dp->disp.dpy, config, attribute, value); in eglGetConfigAttrib()
400 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, in eglCreateWindowSurface() argument
407 egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglCreateWindowSurface()
409 EGLDisplay iDpy = dp->disp.dpy; in eglCreateWindowSurface()
524 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePixmapSurface() argument
531 egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglCreatePixmapSurface()
534 dp->disp.dpy, config, pixmap, attrib_list); in eglCreatePixmapSurface()
544 EGLSurface eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, in eglCreatePbufferSurface() argument
550 egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglCreatePbufferSurface()
553 dp->disp.dpy, config, attrib_list); in eglCreatePbufferSurface()
563 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface surface) in eglDestroySurface() argument
567 const egl_display_ptr dp = validate_display(dpy); in eglDestroySurface()
575 EGLBoolean result = s->cnx->egl.eglDestroySurface(dp->disp.dpy, s->surface); in eglDestroySurface()
582 EGLBoolean eglQuerySurface( EGLDisplay dpy, EGLSurface surface, in eglQuerySurface() argument
587 const egl_display_ptr dp = validate_display(dpy); in eglQuerySurface()
596 dp->disp.dpy, s->surface, attribute, value); in eglQuerySurface()
599 void EGLAPI eglBeginFrame(EGLDisplay dpy, EGLSurface surface) { in eglBeginFrame() argument
603 const egl_display_ptr dp = validate_display(dpy); in eglBeginFrame()
619 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, in eglCreateContext() argument
625 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglCreateContext()
635 dp->disp.dpy, config, share_list, attrib_list); in eglCreateContext()
652 egl_context_t* c = new egl_context_t(dpy, context, config, cnx, in eglCreateContext()
664 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument
668 const egl_display_ptr dp = validate_display(dpy); in eglDestroyContext()
677 EGLBoolean result = c->cnx->egl.eglDestroyContext(dp->disp.dpy, c->context); in eglDestroyContext()
684 EGLBoolean eglMakeCurrent( EGLDisplay dpy, EGLSurface draw, in eglMakeCurrent() argument
689 egl_display_ptr dp = validate_display(dpy); in eglMakeCurrent()
783 EGLBoolean eglQueryContext( EGLDisplay dpy, EGLContext ctx, in eglQueryContext() argument
788 const egl_display_ptr dp = validate_display(dpy); in eglQueryContext()
796 dp->disp.dpy, c->context, attribute, value); in eglQueryContext()
842 return c->dpy; in eglGetCurrentDisplay()
1018 EGLDisplay dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); in threadLoop() local
1022 EGLint result = eglClientWaitSyncKHR(dpy, sync, 0, EGL_FOREVER_KHR); in threadLoop()
1028 eglDestroySyncKHR(dpy, sync); in threadLoop()
1046 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface draw) in eglSwapBuffers() argument
1051 const egl_display_ptr dp = validate_display(dpy); in eglSwapBuffers()
1076 GLTrace_eglSwapBuffers(dpy, draw); in eglSwapBuffers()
1089 EGLSyncKHR sync = eglCreateSyncKHR(dpy, EGL_SYNC_FENCE_KHR, NULL); in eglSwapBuffers()
1105 return s->cnx->egl.eglSwapBuffers(dp->disp.dpy, s->surface); in eglSwapBuffers()
1108 EGLBoolean eglCopyBuffers( EGLDisplay dpy, EGLSurface surface, in eglCopyBuffers() argument
1113 const egl_display_ptr dp = validate_display(dpy); in eglCopyBuffers()
1121 return s->cnx->egl.eglCopyBuffers(dp->disp.dpy, s->surface, target); in eglCopyBuffers()
1124 const char* eglQueryString(EGLDisplay dpy, EGLint name) in eglQueryString() argument
1128 const egl_display_ptr dp = validate_display(dpy); in eglQueryString()
1144 EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name) in eglQueryStringImplementationANDROID() argument
1148 const egl_display_ptr dp = validate_display(dpy); in eglQueryStringImplementationANDROID()
1169 EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
1173 const egl_display_ptr dp = validate_display(dpy); in eglSurfaceAttrib()
1183 dp->disp.dpy, s->surface, attribute, value); in eglSurfaceAttrib()
1189 EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglBindTexImage() argument
1193 const egl_display_ptr dp = validate_display(dpy); in eglBindTexImage()
1203 dp->disp.dpy, s->surface, buffer); in eglBindTexImage()
1209 EGLDisplay dpy, EGLSurface surface, EGLint buffer) in eglReleaseTexImage() argument
1213 const egl_display_ptr dp = validate_display(dpy); in eglReleaseTexImage()
1223 dp->disp.dpy, s->surface, buffer); in eglReleaseTexImage()
1228 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) in eglSwapInterval() argument
1232 const egl_display_ptr dp = validate_display(dpy); in eglSwapInterval()
1238 res = cnx->egl.eglSwapInterval(dp->disp.dpy, interval); in eglSwapInterval()
1321 EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, in eglCreatePbufferFromClientBuffer() argument
1327 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglCreatePbufferFromClientBuffer()
1331 dp->disp.dpy, buftype, buffer, config, attrib_list); in eglCreatePbufferFromClientBuffer()
1340 EGLBoolean eglLockSurfaceKHR(EGLDisplay dpy, EGLSurface surface, in eglLockSurfaceKHR() argument
1345 const egl_display_ptr dp = validate_display(dpy); in eglLockSurfaceKHR()
1355 dp->disp.dpy, s->surface, attrib_list); in eglLockSurfaceKHR()
1360 EGLBoolean eglUnlockSurfaceKHR(EGLDisplay dpy, EGLSurface surface) in eglUnlockSurfaceKHR() argument
1364 const egl_display_ptr dp = validate_display(dpy); in eglUnlockSurfaceKHR()
1373 return s->cnx->egl.eglUnlockSurfaceKHR(dp->disp.dpy, s->surface); in eglUnlockSurfaceKHR()
1378 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, in eglCreateImageKHR() argument
1383 const egl_display_ptr dp = validate_display(dpy); in eglCreateImageKHR()
1393 dp->disp.dpy, in eglCreateImageKHR()
1400 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img) in eglDestroyImageKHR() argument
1404 const egl_display_ptr dp = validate_display(dpy); in eglDestroyImageKHR()
1410 result = cnx->egl.eglDestroyImageKHR(dp->disp.dpy, img); in eglDestroyImageKHR()
1420 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list) in eglCreateSyncKHR() argument
1424 const egl_display_ptr dp = validate_display(dpy); in eglCreateSyncKHR()
1430 result = cnx->egl.eglCreateSyncKHR(dp->disp.dpy, type, attrib_list); in eglCreateSyncKHR()
1435 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync) in eglDestroySyncKHR() argument
1439 const egl_display_ptr dp = validate_display(dpy); in eglDestroySyncKHR()
1445 result = cnx->egl.eglDestroySyncKHR(dp->disp.dpy, sync); in eglDestroySyncKHR()
1450 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { in eglSignalSyncKHR() argument
1453 const egl_display_ptr dp = validate_display(dpy); in eglSignalSyncKHR()
1460 dp->disp.dpy, sync, mode); in eglSignalSyncKHR()
1465 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, in eglClientWaitSyncKHR() argument
1470 const egl_display_ptr dp = validate_display(dpy); in eglClientWaitSyncKHR()
1477 dp->disp.dpy, sync, flags, timeout); in eglClientWaitSyncKHR()
1482 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, in eglGetSyncAttribKHR() argument
1487 const egl_display_ptr dp = validate_display(dpy); in eglGetSyncAttribKHR()
1494 dp->disp.dpy, sync, attribute, value); in eglGetSyncAttribKHR()
1503 EGLint eglWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags) { in eglWaitSyncKHR() argument
1505 const egl_display_ptr dp = validate_display(dpy); in eglWaitSyncKHR()
1510 result = cnx->egl.eglWaitSyncKHR(dp->disp.dpy, sync, flags); in eglWaitSyncKHR()
1519 EGLint eglDupNativeFenceFDANDROID(EGLDisplay dpy, EGLSyncKHR sync) in eglDupNativeFenceFDANDROID() argument
1523 const egl_display_ptr dp = validate_display(dpy); in eglDupNativeFenceFDANDROID()
1529 result = cnx->egl.eglDupNativeFenceFDANDROID(dp->disp.dpy, sync); in eglDupNativeFenceFDANDROID()
1534 EGLBoolean eglPresentationTimeANDROID(EGLDisplay dpy, EGLSurface surface, in eglPresentationTimeANDROID() argument
1539 const egl_display_ptr dp = validate_display(dpy); in eglPresentationTimeANDROID()