Home
last modified time | relevance | path

Searched refs:g_display (Results 1 - 3 of 3) sorted by relevance

/foundation/graphic/graphic_utils_lite/frameworks/hals/
H A Dhi_fbdev.cpp34 static DisplayDesc g_display = {}; member
50 if (g_display.layerFuncs->Flush != nullptr) { in LcdFlush()
52 g_display.layerFuncs->Flush(g_display.devId, g_display.layerId, &g_display.buffer); in LcdFlush()
62 return g_display.rotateType; in GetLayerRotateType()
72 int32_t ret = LayerInitialize(&g_display.layerFuncs); in DisplayInit()
73 if (ret != DISPLAY_SUCCESS || g_display.layerFuncs == nullptr) { in DisplayInit()
77 if (g_display in DisplayInit()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_glFramebufferTexture3DOES/entry/src/main/cpp/
H A Dtest_glFramebufferTexture3DOES.cpp24 static EGLDisplay g_display = nullptr; variable
54 g_display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in InitGLES()
55 eglInitialize(g_display, nullptr, nullptr); in InitGLES()
61 eglChooseConfig(g_display, configAttribs, &config, CREAT_NUM_ONE, &numConfigs); in InitGLES()
63 g_surface = eglCreatePbufferSurface(g_display, config, surfaceAttribs); in InitGLES()
65 g_context = eglCreateContext(g_display, config, EGL_NO_CONTEXT, contextAttribs); in InitGLES()
66 eglMakeCurrent(g_display, g_surface, g_surface, g_context); in InitGLES()
71 eglDestroySurface(g_display, g_surface); in DestroyGLES()
72 eglDestroyContext(g_display, g_context); in DestroyGLES()
73 eglTerminate(g_display); in DestroyGLES()
[all...]
/foundation/graphic/graphic_2d/rosen/samples/opengl/test_glCompressApi/entry/src/main/cpp/
H A Dtest_glCompressApi.cpp26 static EGLDisplay g_display = nullptr; variable
204 g_display = eglGetDisplay(EGL_DEFAULT_DISPLAY); in InitGLES()
205 eglInitialize(g_display, nullptr, nullptr); in InitGLES()
211 eglChooseConfig(g_display, configAttribs, &config, CREAT_NUM_ONE, &numConfigs); in InitGLES()
213 g_surface = eglCreatePbufferSurface(g_display, config, surfaceAttribs); in InitGLES()
215 g_context = eglCreateContext(g_display, config, EGL_NO_CONTEXT, contextAttribs); in InitGLES()
216 eglMakeCurrent(g_display, g_surface, g_surface, g_context); in InitGLES()
221 eglDestroySurface(g_display, g_surface); in DestroyGLES()
222 eglDestroyContext(g_display, g_context); in DestroyGLES()
223 eglTerminate(g_display); in DestroyGLES()
[all...]

Completed in 2 milliseconds