Lines Matching defs:dpy
93 #define VALIDATE_DISPLAY(dpy,ret) \
94 if ((dpy) != (EGLDisplay)&s_display) { \
98 #define VALIDATE_DISPLAY_INIT(dpy,ret) \
99 VALIDATE_DISPLAY(dpy, ret) \
128 if (s->dpy != (EGLDisplay)&s_display) \
133 EGLContext_t::EGLContext_t(EGLDisplay dpy, EGLConfig config, EGLContext_t* shareCtx) :
134 dpy(dpy),
171 EGLDisplay dpy;
175 egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType);
209 egl_surface_t::egl_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfaceType)
210 : dpy(dpy), config(config), surfaceType(surfaceType), rcSurface(0)
231 EGLDisplay dpy, EGLConfig config, EGLint surfType,
241 EGLDisplay dpy, EGLConfig config, EGLint surfType,
250 EGLDisplay dpy, EGLConfig config, EGLint surfType,
252 : egl_surface_t(dpy, config, surfType),
285 EGLDisplay dpy, EGLConfig config, EGLint surfType,
289 dpy, config, surfType, window);
335 static egl_pbuffer_surface_t* create(EGLDisplay dpy, EGLConfig config,
346 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, EGLint surfType,
353 egl_pbuffer_surface_t::egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config,
355 : egl_surface_t(dpy, config, surfType),
394 egl_pbuffer_surface_t* egl_pbuffer_surface_t::create(EGLDisplay dpy,
398 egl_pbuffer_surface_t* pb = new egl_pbuffer_surface_t(dpy, config, surfType,
492 EGLBoolean eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
494 VALIDATE_DISPLAY(dpy,EGL_FALSE);
506 EGLBoolean eglTerminate(EGLDisplay dpy)
508 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
537 const char* eglQueryString(EGLDisplay dpy, EGLint name)
539 VALIDATE_DISPLAY_INIT(dpy, NULL);
544 EGLBoolean eglGetConfigs(EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config)
546 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
566 EGLBoolean eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config)
568 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
595 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value)
597 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
610 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
614 VALIDATE_DISPLAY_INIT(dpy, NULL);
640 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
642 VALIDATE_DISPLAY_INIT(dpy, NULL);
685 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config,
698 EGLSurface eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
705 (void)dpy;
712 EGLBoolean eglDestroySurface(EGLDisplay dpy, EGLSurface eglSurface)
714 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
723 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value)
725 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
790 EGLSurface eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
793 (void)dpy;
802 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
805 (void)dpy;
813 EGLBoolean eglBindTexImage(EGLDisplay dpy, EGLSurface eglSurface, EGLint buffer)
815 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
844 EGLBoolean eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
847 (void)dpy;
854 EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval)
856 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
874 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list)
876 VALIDATE_DISPLAY_INIT(dpy, EGL_NO_CONTEXT);
890 if (shareCtx->dpy != dpy)
901 EGLContext_t * context = new EGLContext_t(dpy, config, shareCtx);
912 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx)
914 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
936 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
938 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
969 eglDestroyContext(dpy, contextToDelete);
1066 return context->dpy;
1069 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value)
1071 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
1125 EGLBoolean eglSwapBuffers(EGLDisplay dpy, EGLSurface eglSurface)
1127 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
1134 if (d->dpy != dpy)
1144 EGLBoolean eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
1147 (void)dpy;
1170 EGLImageKHR eglCreateImageKHR(EGLDisplay dpy, EGLContext ctx, EGLenum target, EGLClientBuffer buffer, const EGLint *attrib_list)
1174 VALIDATE_DISPLAY_INIT(dpy, EGL_NO_IMAGE_KHR);
1207 EGLBoolean eglDestroyImageKHR(EGLDisplay dpy, EGLImageKHR img)
1209 VALIDATE_DISPLAY_INIT(dpy, EGL_FALSE);
1225 EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type,
1233 VALIDATE_DISPLAY(dpy, EGL_NO_SYNC_KHR);
1254 EGLBoolean eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)
1256 (void)dpy;
1265 EGLint eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags,
1268 (void)dpy;
1279 EGLBoolean eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync,
1282 (void)dpy;