/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl_rendering_context_basic_base.cpp | 35 if (eglSurface_ != nullptr) { in ~WebGLRenderingContextBasicBase() 36 eglDestroySurface(EglManager::GetInstance().GetEGLDisplay(), eglSurface_); in ~WebGLRenderingContextBasicBase() 37 eglSurface_ = nullptr; in ~WebGLRenderingContextBasicBase() 56 if (eglSurface_ == nullptr) { in Init() 57 eglSurface_ = EglManager::GetInstance().CreateSurface(eglWindow_); in Init() 90 eglSwapBuffers(eglDisplay, eglSurface_); in Update() 110 if (eglSurface_ == nullptr) { in CreateSurface() 111 eglSurface_ = EglManager::GetInstance().CreateSurface(eglWindow_); in CreateSurface() 112 if (eglSurface_ == nullptr) { in CreateSurface()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_gpu_context_test.cpp | 38 EGLSurface eglSurface_ = EGL_NO_SURFACE;
member in OHOS::Rosen::Drawing::NativeDrawingGpuContextTest 67 eglSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, attribs);
in SetUp() 68 EXPECT_NE(eglSurface_, EGL_NO_SURFACE);
in SetUp() 70 ret = eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_);
in SetUp() 76 EGLBoolean ret = eglDestroySurface(eglDisplay_, eglSurface_);
in TearDown() 85 eglSurface_ = EGL_NO_SURFACE;
in TearDown()
|
H A D | drawing_surface_test.cpp | 41 EGLSurface eglSurface_ = EGL_NO_SURFACE;
member in OHOS::Rosen::Drawing::NativeDrawingSurfaceTest 72 eglSurface_ = eglCreatePbufferSurface(eglDisplay_, eglConfig_, attribs);
in SetUp() 73 EXPECT_NE(eglSurface_, EGL_NO_SURFACE);
in SetUp() 75 ret = eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_);
in SetUp() 81 EGLBoolean ret = eglDestroySurface(eglDisplay_, eglSurface_);
in TearDown() 90 eglSurface_ = EGL_NO_SURFACE;
in TearDown()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/ |
H A D | egl_manager.cpp | 30 eglSurface_(EGL_NO_SURFACE), 47 eglSurface_ = EGL_NO_SURFACE; in ~EGLManager() 171 eglSurface_ = surface; in CreateSurface() 181 if (!eglDestroySurface(eglDisplay_, eglSurface_)) { in DestroySurface() 188 if (!eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_)) { in MakeCurrent() 195 if (!eglSwapBuffers(eglDisplay_, eglSurface_)) { in SwapBuffers()
|
H A D | egl_manager.h | 41 EGLSurface eglSurface_; member in OHOS::Rosen::EGLManager
|
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/ |
H A D | opengl_wrapper_api_test.cpp | 53 static inline EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Rosen::OpenglWrapperApiTest 239 eglSurface_ = eglCreateWindowSurface(nullptr, eglConfig_, gWindow_, winAttribs); in HWTEST_F() 240 EXPECT_EQ(eglSurface_, EGL_NO_SURFACE); in HWTEST_F() 245 eglSurface_ = eglCreateWindowSurface(eglDisplay_, eglConfig_, gWindow_, winAttribs); in HWTEST_F() 246 EXPECT_NE(eglSurface_, EGL_NO_SURFACE); in HWTEST_F() 269 ret = eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, EGL_NO_CONTEXT); in HWTEST_F() 287 ret = eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_); in HWTEST_F() 306 EGLBoolean ret = eglQuerySurface(nullptr, eglSurface_, EGL_WIDT in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/render_context/ |
H A D | render_context.cpp | 106 eglSurface_(EGL_NO_SURFACE), in RenderContext() 127 eglSurface_ = EGL_NO_SURFACE; in ~RenderContext() 212 eglSurface_ = surface; in MakeCurrent() 217 eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, shareContext); in SetAndMakeCurrentShareContex() 223 eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, shareContext); in ShareMakeCurrent() 233 eglMakeCurrent(eglDisplay_, eglSurface_, eglSurface_, eglContext_); in MakeSelfCurrent() 279 eglSurface_ in CreateEGLSurface() [all...] |
H A D | render_context.h | 83 return eglSurface_; in GetEGLSurface() 154 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Rosen::RenderContext
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/drawing_engine/drawing_surface/ |
H A D | surface_frame_ohos_gl.cpp | 21 : SurfaceFrameOhos(width, height), eglSurface_(EGL_NO_SURFACE), in SurfaceFrameOhosGl() 42 eglSurface_ = surface; in SetSurface()
|
H A D | surface_frame_ohos_gl.h | 38 EGLSurface eglSurface_; member in OHOS::Rosen::SurfaceFrameOhosGl
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/ |
H A D | drawing_sample_replayer.cpp | 164 renderContext_->SwapBuffers(eglSurface_); in RenderLoop() 218 eglSurface_ = renderContext_->CreateEGLSurface((EGLNativeWindowType)nativeWindow_); in PrepareNativeEGLSetup() 219 if (eglSurface_ == EGL_NO_SURFACE) { in PrepareNativeEGLSetup() 225 renderContext_->MakeCurrent(eglSurface_); in PrepareNativeEGLSetup()
|
H A D | drawing_sample_replayer.h | 70 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Rosen::DrawingSampleReplayer
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/ohos/ |
H A D | render_context_ohos_gl.h | 53 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Rosen::RenderContextOhosGl
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl_rendering_context_basic_base.h | 85 EGLSurface eglSurface_ = nullptr; member in OHOS::Rosen::WebGLRenderingContextBasicBase
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 1328 if (eglSurface_ == EGL_NO_SURFACE) { in DestroySwapchain() 1337 ret = eglDestroySurface(data.display, eglSurface_); in DestroySwapchain() 1338 eglSurface_ = EGL_NO_SURFACE; in DestroySwapchain() 1382 eglSurface_ = eglCreateWindowSurface(data.display, config, window, attribs); in CreateSwapchain() 1383 if (eglSurface_ == EGL_NO_SURFACE) { in CreateSwapchain() 1394 eglSurface_ = eglCreateWindowSurface(data.display, config, window, nullptr); in CreateSwapchain() 1395 if (eglSurface_ != EGL_NO_SURFACE) { in CreateSwapchain() 1403 reinterpret_cast<uint64_t>(eglSurface_), in CreateSwapchain() 1409 // reinterpret_cast<uint64_t>(eglSurface_), true, true, in CreateSwapchain() 1423 return eglSurface_ ! in CreateSwapchain() [all...] |
/foundation/graphic/graphic_3d/3d_widget_adapter/core/include/lume/ |
H A D | lume_common.h | 269 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Render3D::LumeCommon
|