Home
last modified time | relevance | path

Searched refs:eglConfig_ (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Degl_manager.cpp74 eglSurface = eglCreateWindowSurface(eglDisplay_, eglConfig_, window, NULL); in CreateSurface()
83 eglSurface = eglCreatePbufferSurface(eglDisplay_, eglConfig_, surfaceAttributes); in CreateSurface()
95 currentSurface_ = eglCreateWindowSurface(eglDisplay_, eglConfig_, eglWindow_, NULL); in CreateContext()
108 currentSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, surfaceAttributes); in CreateContext()
119 eglContext_ = eglCreateContext(eglDisplay_, eglConfig_, nullptr, attrib3List); in CreateContext()
156 eglConfig_ = EglManager::GetConfig(version, eglDisplay_); in Init()
157 if (eglConfig_ == NULL) { in Init()
160 eglConfig_ = EglManager::GetConfig(version, eglDisplay_); in Init()
161 if (eglConfig_ == NULL) { in Init()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/
H A Ddrawing_gpu_context_test.cpp36 EGLConfig eglConfig_ = EGL_NO_CONFIG_KHR; member in OHOS::Rosen::Drawing::NativeDrawingGpuContextTest
58 ret = eglChooseConfig(eglDisplay_, configAttribs, &eglConfig_, 1, &count); in SetUp()
63 eglContext_ = eglCreateContext(eglDisplay_, eglConfig_, EGL_NO_CONTEXT, contextAttribs); in SetUp()
67 eglSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, attribs); in SetUp()
H A Ddrawing_surface_test.cpp39 EGLConfig eglConfig_ = EGL_NO_CONFIG_KHR; member in OHOS::Rosen::Drawing::NativeDrawingSurfaceTest
63 ret = eglChooseConfig(eglDisplay_, configAttribs, &eglConfig_, 1, &count); in SetUp()
68 eglContext_ = eglCreateContext(eglDisplay_, eglConfig_, EGL_NO_CONTEXT, contextAttribs); in SetUp()
72 eglSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, attribs); in SetUp()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/
H A Degl_manager.cpp31 eglConfig_(nullptr) in eglConfig_() function
130 EGLBoolean ret = eglChooseConfig(eglDisplay_, config_attribs, &eglConfig_, 1, &count); in Init()
138 eglContext_ = eglCreateContext(eglDisplay_, eglConfig_, EGL_NO_CONTEXT, context_attribs); in Init()
163 EGLSurface surface = eglCreateWindowSurface(eglDisplay_, eglConfig_, nativeWindow_, winAttribs); in CreateSurface()
H A Degl_manager.h42 EGLConfig eglConfig_; member in OHOS::Rosen::EGLManager
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/util/
H A Degl_manager.h75 EglManager() : eglDisplay_(EGL_NO_DISPLAY), eglConfig_(nullptr), eglContext_(EGL_NO_CONTEXT), in EglManager()
80 EGLConfig eglConfig_; member in OHOS::Rosen::EglManager
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/
H A Dopengl_wrapper_api_test.cpp51 static inline EGLConfig eglConfig_ = EGL_NO_CONFIG_KHR; member in OHOS::Rosen::OpenglWrapperApiTest
162 EGLBoolean ret = eglChooseConfig(nullptr, configAttribs, &eglConfig_, 1, &count); in HWTEST_F()
169 ret = eglChooseConfig(eglDisplay_, configAttribs, &eglConfig_, 1, &count); in HWTEST_F()
191 eglContext_ = eglCreateContext(nullptr, eglConfig_, EGL_NO_CONTEXT, contextAttribs); in HWTEST_F()
198 eglContext_ = eglCreateContext(eglDisplay_, eglConfig_, EGL_NO_CONTEXT, contextAttribs); in HWTEST_F()
239 eglSurface_ = eglCreateWindowSurface(nullptr, eglConfig_, gWindow_, winAttribs); in HWTEST_F()
245 eglSurface_ = eglCreateWindowSurface(eglDisplay_, eglConfig_, gWindow_, winAttribs); in HWTEST_F()

Completed in 3 milliseconds