Home | History | Annotate | Download | only in libEGL

Lines Matching refs:eglSurface

297 EGLSurface __stdcall eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list)
326 EGLSurface __stdcall eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list)
348 EGLSurface __stdcall eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list)
372 EGLBoolean __stdcall eglDestroySurface(EGLDisplay dpy, EGLSurface surface)
374 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p)", dpy, surface);
379 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
381 if (!validateSurface(display, eglSurface))
401 EGLBoolean __stdcall eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value)
403 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint attribute = %d, EGLint *value = 0x%0.8p)",
409 egl::Surface *eglSurface = (egl::Surface*)surface;
411 if (!validateSurface(display, eglSurface))
433 *value = eglSurface->getHeight();
469 *value = eglSurface->getWidth();
472 *value = eglSurface->isPostSubBufferSupported();
486 EGLBoolean __stdcall eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value)
488 TRACE("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint attribute = %d, void **value = 0x%0.8p)",
494 egl::Surface *eglSurface = (egl::Surface*)surface;
496 if (!validateSurface(display, eglSurface))
510 rx::SwapChain *swapchain = eglSurface->getSwapChain();
601 EGLSurface __stdcall eglCreatePbufferFromClientBuffer(EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list)
629 EGLBoolean __stdcall eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value)
631 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint attribute = %d, EGLint value = %d)",
637 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
639 if (!validateSurface(display, eglSurface))
654 EGLBoolean __stdcall eglBindTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
656 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint buffer = %d)", dpy, surface, buffer);
661 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
663 if (!validateSurface(display, eglSurface))
673 if (surface == EGL_NO_SURFACE || eglSurface->getWindowHandle())
678 if (eglSurface->getBoundTexture())
683 if (eglSurface->getTextureFormat() == EGL_NO_TEXTURE)
688 if (!glBindTexImage(eglSurface))
701 EGLBoolean __stdcall eglReleaseTexImage(EGLDisplay dpy, EGLSurface surface, EGLint buffer)
703 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint buffer = %d)", dpy, surface, buffer);
708 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
710 if (!validateSurface(display, eglSurface))
720 if (surface == EGL_NO_SURFACE || eglSurface->getWindowHandle())
725 if (eglSurface->getTextureFormat() == EGL_NO_TEXTURE)
730 gl::Texture2D *texture = eglSurface->getBoundTexture();
876 EGLBoolean __stdcall eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx)
878 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface draw = 0x%0.8p, EGLSurface read = 0x%0.8p, EGLContext ctx = 0x%0.8p)",
946 EGLSurface __stdcall eglGetCurrentSurface(EGLint readdraw)
954 EGLSurface read = egl::getCurrentReadSurface();
959 EGLSurface draw = egl::getCurrentDrawSurface();
1046 EGLBoolean __stdcall eglSwapBuffers(EGLDisplay dpy, EGLSurface surface)
1048 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p)", dpy, surface);
1053 egl::Surface *eglSurface = (egl::Surface*)surface;
1055 if (!validateSurface(display, eglSurface))
1070 if (eglSurface->swap())
1083 EGLBoolean __stdcall eglCopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target)
1085 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLNativePixmapType target = 0x%0.8p)", dpy, surface, target);
1090 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
1092 if (!validateSurface(display, eglSurface))
1112 EGLBoolean __stdcall eglPostSubBufferNV(EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height)
1114 EVENT("(EGLDisplay dpy = 0x%0.8p, EGLSurface surface = 0x%0.8p, EGLint x = %d, EGLint y = %d, EGLint width = %d, EGLint height = %d)", dpy, surface, x, y, width, height);
1124 egl::Surface *eglSurface = static_cast<egl::Surface*>(surface);
1126 if (!validateSurface(display, eglSurface))
1141 if (eglSurface->postSubBuffer(x, y, width, height))