Searched refs:g_tmpDisplay (Results 1 – 1 of 1) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_render_service.cpp | 63 static EGLDisplay g_tmpDisplay = EGL_NO_DISPLAY; variable 546 g_tmpDisplay = eglGetDisplay(EGL_DEFAULT_DISPLAY); in InitGLES() 548 eglInitialize(g_tmpDisplay, &major, &minor); in InitGLES() 558 eglChooseConfig(g_tmpDisplay, configAttribs, &config, CREAT_NUM_ONE, &numConfigs); in InitGLES() 560 g_tmpSurface = eglCreatePbufferSurface(g_tmpDisplay, config, surfaceAttribs); in InitGLES() 562 g_tmpContext = eglCreateContext(g_tmpDisplay, config, EGL_NO_CONTEXT, contextAttribs); in InitGLES() 563 eglMakeCurrent(g_tmpDisplay, g_tmpSurface, g_tmpSurface, g_tmpContext); in InitGLES() 568 eglDestroySurface(g_tmpDisplay, g_tmpSurface); in DestroyGLES() 570 eglDestroyContext(g_tmpDisplay, g_tmpContext); in DestroyGLES() 572 eglTerminate(g_tmpDisplay); in DestroyGLES() [all …]
|