Home
last modified time | relevance | path

Searched refs:eglSurface_ (Results 1 - 16 of 16) sorted by relevance

/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl_rendering_context_basic_base.cpp35 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 Ddrawing_gpu_context_test.cpp38 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 Ddrawing_surface_test.cpp41 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 Degl_manager.cpp30 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 Degl_manager.h41 EGLSurface eglSurface_; member in OHOS::Rosen::EGLManager
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/
H A Dopengl_wrapper_api_test.cpp53 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 Drender_context.cpp106 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 Drender_context.h83 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 Dsurface_frame_ohos_gl.cpp21 : SurfaceFrameOhos(width, height), eglSurface_(EGL_NO_SURFACE), in SurfaceFrameOhosGl()
42 eglSurface_ = surface; in SetSurface()
H A Dsurface_frame_ohos_gl.h38 EGLSurface eglSurface_; member in OHOS::Rosen::SurfaceFrameOhosGl
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_sample_replayer.cpp164 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 Ddrawing_sample_replayer.h70 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 Drender_context_ohos_gl.h53 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Rosen::RenderContextOhosGl
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/
H A Dwebgl_rendering_context_basic_base.h85 EGLSurface eglSurface_ = nullptr; member in OHOS::Rosen::WebGLRenderingContextBasicBase
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/
H A Dlume_common.cpp1328 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 Dlume_common.h269 EGLSurface eglSurface_ = EGL_NO_SURFACE; member in OHOS::Render3D::LumeCommon

Completed in 9 milliseconds