/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_wrapper_display.cpp | 499 if (surf != EGL_NO_SURFACE) { in CreateEglSurface() 603 if (surf != EGL_NO_SURFACE) { in CreatePbufferSurface() 604 return new EglWrapperSurface(this, surf); in CreatePbufferSurface() 624 if (surf != EGL_NO_SURFACE) { in CreatePixmapSurface() 625 return new EglWrapperSurface(this, surf); in CreatePixmapSurface() 792 if (surf != EGL_NO_SURFACE) { in CreatePbufferFromClientBuffer() 860 if (surf != EGL_NO_SURFACE) { in CreatePlatformWindowSurface() 888 if (surf != EGL_NO_SURFACE) { in CreatePlatformPixmapSurface() 997 if (surf != EGL_NO_SURFACE) { in CreateStreamProducerSurfaceKHR() 1169 if (surf != EGL_NO_SURFACE) { in CreatePlatformWindowSurfaceEXT() [all …]
|
H A D | egl_wrapper_display.h | 43 static bool ValidateEglSurface(EGLSurface surf); 47 EGLBoolean DestroyEglSurface(EGLSurface surf); 52 EGLBoolean CopyBuffers(EGLSurface surf, NativePixmapType target); 85 EGLBoolean QuerySurface(EGLSurface surf, EGLint attribute, EGLint *value); 86 EGLBoolean SwapBuffers(EGLSurface surf); 87 EGLBoolean BindTexImage(EGLSurface surf, EGLint buffer); 88 EGLBoolean ReleaseTexImage(EGLSurface surf, EGLint buffer); 89 EGLBoolean SurfaceAttrib(EGLSurface surf, EGLint attribute, EGLint value); 99 EGLBoolean LockSurfaceKHR(EGLSurface surf, const EGLint *attribList); 100 EGLBoolean UnlockSurfaceKHR(EGLSurface surf); [all …]
|
H A D | egl_wrapper_surface.cpp | 22 EglWrapperSurface::EglWrapperSurface(EglWrapperDisplay *disp, EGLSurface surf, NativeWindowType win… in EglWrapperSurface() argument 23 : EglWrapperObject(disp), surf_(surf), window_(window) in EglWrapperSurface() 43 EglWrapperSurface *EglWrapperSurface::GetWrapperSurface(EGLSurface surf) in GetWrapperSurface() argument 46 return reinterpret_cast<EglWrapperSurface *>(surf); in GetWrapperSurface()
|
H A D | egl_wrapper_entry.cpp | 100 return display->CopyBuffers(surf, target); in EglCopyBuffersImpl() 176 return display->DestroyEglSurface(surf); in EglDestroySurfaceImpl() 450 return display->QuerySurface(surf, attribute, value); in EglQuerySurfaceImpl() 453 EGLBoolean EglSwapBuffersImpl(EGLDisplay dpy, EGLSurface surf) in EglSwapBuffersImpl() argument 466 return display->SwapBuffers(surf); in EglSwapBuffersImpl() 518 return display->BindTexImage(surf, buffer); in EglBindTexImageImpl() 530 return display->ReleaseTexImage(surf, buffer); in EglReleaseTexImageImpl() 543 return display->SurfaceAttrib(surf, attribute, value); in EglSurfaceAttribImpl() 824 return display->LockSurfaceKHR(surf, attribList); in EglLockSurfaceKHRImpl() 836 return display->UnlockSurfaceKHR(surf); in EglUnlockSurfaceKHRImpl() [all …]
|
H A D | egl_wrapper_surface.h | 30 EglWrapperSurface(EglWrapperDisplay *disp, EGLSurface surf, NativeWindowType window = nullptr); 31 static EglWrapperSurface *GetWrapperSurface(EGLSurface surf);
|
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | buffer_shared_test.cpp | 37 static inline sptr<IConsumerSurface> surf = nullptr; member in OHOS::Rosen::BufferSharedTest 49 surf = IConsumerSurface::Create("shared", true); in SetUpTestCase() 51 surf->RegisterConsumerListener(listener); in SetUpTestCase() 52 auto producer1 = surf->GetProducer(); in SetUpTestCase() 54 auto producer2 = surf->GetProducer(); in SetUpTestCase() 174 ret1 = surf->AcquireBuffer(sbuffer1, fence, timestamp, damage); 175 ret2 = surf->AcquireBuffer(sbuffer2, fence, timestamp, damage); 227 ret1 = surf->ReleaseBuffer(sbuffer1, -1); 228 ret2 = surf->ReleaseBuffer(sbuffer2, -1);
|
/ohos5.0/foundation/graphic/graphic_surface/surface/src/ |
H A D | consumer_surface.cpp | 27 sptr<ConsumerSurface> surf = new ConsumerSurface(name, isShared); in CreateSurfaceAsConsumer() local 28 if (surf->Init() != GSERROR_OK) { in CreateSurfaceAsConsumer() 32 return surf; in CreateSurfaceAsConsumer() 37 sptr<ConsumerSurface> surf = new ConsumerSurface(name, isShared); in Create() local 38 if (surf->Init() != GSERROR_OK) { in Create() 42 return surf; in Create()
|
H A D | producer_surface.cpp | 37 sptr<ProducerSurface> surf = new ProducerSurface(producer); in CreateSurfaceAsProducer() local 38 GSError ret = surf->Init(); in CreateSurfaceAsProducer() 44 utils->Add(surf->GetUniqueId(), surf); in CreateSurfaceAsProducer() 45 return surf; in CreateSurfaceAsProducer()
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/ |
H A D | opengl_wrapper_native_test.cpp | 299 sptr<Surface> surf = surfaceNode->GetSurface(); in CreateSurface() local 300 gWindow = CreateNativeWindowFromSurface(&surf); in CreateSurface()
|
/ohos5.0/foundation/multimedia/image_effect/test/unittest/ |
H A D | TestImageEffect.cpp | 425 sptr<ProducerSurface> surf = new(std::nothrow) MockProducerSurface(producer); variable 426 surf->Init(); 427 sptr<Surface> outputSurface = surf;
|
H A D | native_image_effect_unittest.cpp | 137 sptr<ProducerSurface> surf = new(std::nothrow) MockProducerSurface(producer); in SetUpTestCase() local 138 surf->Init(); in SetUpTestCase() 140 utils->Add(surf->GetUniqueId(), surf); in SetUpTestCase() 141 ohSurface_ = surf; in SetUpTestCase()
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/systemtest/ |
H A D | vulkan_loader_system_test.cpp | 348 OHOS::sptr<OHOS::Surface> surf = surfaceNode->GetSurface(); variable 349 OHNativeWindow* nativeWindow = CreateNativeWindowFromSurface(&surf);
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | egl_state.cpp | 229 void DumpEGLSurface(EGLDisplay dpy, EGLSurface surf) in DumpEGLSurface() argument 277 if (EGL_TRUE == eglQuerySurface(dpy, surf, attribs[attr].attribute, &value)) { in DumpEGLSurface()
|
/ohos5.0/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/unittest/ |
H A D | vulkan_loader_unit_test.cpp | 191 OHOS::sptr<OHOS::Surface> surf = surfaceNode->GetSurface(); in CreateNativeWindow() local 192 OHNativeWindow* nativeWindow = CreateNativeWindowFromSurface(&surf); in CreateNativeWindow()
|
/ohos5.0/docs/en/application-dev/connectivity/ |
H A D | connectivity-kit-intro.md | 5 …very life. For example, people listen to music with Bluetooth headphones, surf the Internet over W…
|