Searched refs:eglDisplay (Results 1 - 3 of 3) sorted by relevance
/test/xts/acts/pcs/pcs_ndk/entry/src/main/cpp/ |
H A D | openglNdk.cpp | 28 static EGLDisplay eglDisplay = nullptr;
variable 33 eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
in InitGLES() 34 eglInitialize(eglDisplay, nullptr, nullptr);
in InitGLES() 40 eglChooseConfig(eglDisplay, configAttribs, &config, CREAT_NUM_ONE, &numConfigs);
in InitGLES() 42 eglSurface = eglCreatePbufferSurface(eglDisplay, config, surfaceAttribs);
in InitGLES() 44 eglContext = eglCreateContext(eglDisplay, config, EGL_NO_CONTEXT, contextAttribs);
in InitGLES() 45 eglMakeCurrent(eglDisplay, eglSurface, eglSurface, eglContext);
in InitGLES() 49 eglDestroySurface(eglDisplay, eglSurface);
in DestroyGLES() 50 eglDestroyContext(eglDisplay, eglContext);
in DestroyGLES() 51 eglTerminate(eglDisplay);
in DestroyGLES() [all...] |
/test/xts/acts/graphic/graphicEGL/entry/src/main/cpp/ |
H A D | eglndk.cpp | 39 EGLDisplay eglDisplay;
member 51 myEGLWindow->eglDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY);
in createMyEglWindow() 52 NAPI_ASSERT(env, myEGLWindow->eglDisplay != EGL_NO_DISPLAY, "eglInitialize error");
in createMyEglWindow() 55 EGLBoolean Ret = eglInitialize(myEGLWindow->eglDisplay, &majorVersion, &minorVersion);
in createMyEglWindow() 64 Ret = eglChooseConfig(myEGLWindow->eglDisplay, configAttribs, &myEGLWindow->eglConfig, EGL_ONE, &numConfigs);
in createMyEglWindow() 69 myEGLWindow->eglLSurface = eglCreatePbufferSurface(myEGLWindow->eglDisplay, myEGLWindow->eglConfig, surfaceAttribs);
in createMyEglWindow() 73 eglCreateContext(myEGLWindow->eglDisplay, myEGLWindow->eglConfig, EGL_NO_CONTEXT, contextAttribs);
in createMyEglWindow() 75 Ret = eglMakeCurrent(myEGLWindow->eglDisplay, myEGLWindow->eglLSurface, myEGLWindow->eglLSurface,
in createMyEglWindow() 86 if (myEGLWindow->eglDisplay != EGL_NO_DISPLAY) {
in destroyMyEglWindow() 87 EGLBoolean Ret = eglTerminate(myEGLWindow->eglDisplay);
in destroyMyEglWindow() 1267 EGLDisplay eglDisplay = eglGetPlatformDisplay(EGL_PLATFORM_OHOS_KHR, EGL_DEFAULT_DISPLAY, nullptr); EglGetPlatformDisplay() local 1280 EGLDisplay eglDisplay = eglGetPlatformDisplay(0x00, nullptr, nullptr); EglGetPlatformDisplayAbnormal() local [all...] |
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | egl_core.cpp | 24 EGLConfig getConfig(int version, EGLDisplay eglDisplay) in getConfig() argument 37 if (!eglChooseConfig(eglDisplay, attribList, &configs, 1, &configsNum)) { in getConfig()
|
Completed in 4 milliseconds