mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Feat] (MG_Impl/EGLImpl): Implement eglQueryString
This commit is contained in:
@@ -80,6 +80,10 @@ namespace MobileGL {
|
|||||||
return MG_External::EGL::eglQuerySurface(display, surface, attribute, value);
|
return MG_External::EGL::eglQuerySurface(display, surface, attribute, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char const * QueryString(EGLDisplay display, EGLint name) {
|
||||||
|
return MG_External::EGL::eglQueryString(display, name);
|
||||||
|
}
|
||||||
|
|
||||||
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval) {
|
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval) {
|
||||||
return MG_External::EGL::eglSwapInterval(dpy, interval);
|
return MG_External::EGL::eglSwapInterval(dpy, interval);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,10 @@ MOBILEGL_EGL_API EGLBoolean eglQuerySurface(EGLDisplay display, EGLSurface surfa
|
|||||||
return MobileGL::MG_Impl::EGLImpl::QuerySurface(display, surface, attribute, value);
|
return MobileGL::MG_Impl::EGLImpl::QuerySurface(display, surface, attribute, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MOBILEGL_EGL_API char const * eglQueryString(EGLDisplay display, EGLint name) {
|
||||||
|
return MobileGL::MG_Impl::EGLImpl::QueryString(display, name);
|
||||||
|
}
|
||||||
|
|
||||||
MOBILEGL_EGL_API EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) {
|
MOBILEGL_EGL_API EGLBoolean eglSwapInterval(EGLDisplay dpy, EGLint interval) {
|
||||||
return MobileGL::MG_Impl::EGLImpl::SwapInterval(dpy, interval);
|
return MobileGL::MG_Impl::EGLImpl::SwapInterval(dpy, interval);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -97,6 +97,10 @@ namespace MobileGL {
|
|||||||
return EGL_TRUE;
|
return EGL_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char const * QueryString(EGLDisplay display, EGLint name) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval) {
|
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval) {
|
||||||
return EGL_TRUE;
|
return EGL_TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ namespace MobileGL {
|
|||||||
EGLBoolean BindAPI(EGLenum api);
|
EGLBoolean BindAPI(EGLenum api);
|
||||||
EGLSurface GetCurrentSurface(EGLint readdraw);
|
EGLSurface GetCurrentSurface(EGLint readdraw);
|
||||||
EGLBoolean QuerySurface(EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint* value);
|
EGLBoolean QuerySurface(EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint* value);
|
||||||
|
char const * QueryString(EGLDisplay display, EGLint name);
|
||||||
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval);
|
EGLBoolean SwapInterval(EGLDisplay dpy, EGLint interval);
|
||||||
EGLBoolean SwapBuffers(EGLDisplay dpy, EGLSurface draw);
|
EGLBoolean SwapBuffers(EGLDisplay dpy, EGLSurface draw);
|
||||||
EGLSurface CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list);
|
EGLSurface CreatePbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint* attrib_list);
|
||||||
|
|||||||
Reference in New Issue
Block a user