Home
last modified time | relevance | path

Searched refs:surf (Results 1 - 15 of 15) sorted by relevance

/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_surface.cpp22 EglWrapperSurface::EglWrapperSurface(EglWrapperDisplay *disp, EGLSurface surf, NativeWindowType window) 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 Degl_wrapper_display.h43 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 Degl_wrapper_display.cpp398 bool EglWrapperDisplay::ValidateEglSurface(EGLSurface surf) in ValidateEglSurface() argument
498 EGLSurface surf = table->egl.eglCreateWindowSurface(disp_, config, window, attribList); in CreateEglSurface() local
499 if (surf != EGL_NO_SURFACE) { in CreateEglSurface()
500 return new EglWrapperSurface(this, surf, window); in CreateEglSurface()
511 EGLBoolean EglWrapperDisplay::DestroyEglSurface(EGLSurface surf) in DestroyEglSurface() argument
516 EglWrapperSurface *surfPtr = EglWrapperSurface::GetWrapperSurface(surf); in DestroyEglSurface()
572 EGLBoolean EglWrapperDisplay::CopyBuffers(EGLSurface surf, NativePixmapType target) in CopyBuffers() argument
577 EglWrapperSurface *surfPtr = EglWrapperSurface::GetWrapperSurface(surf); in CopyBuffers()
602 EGLSurface surf = table->egl.eglCreatePbufferSurface(disp_, config, attribList); in CreatePbufferSurface() local
603 if (surf ! in CreatePbufferSurface()
623 EGLSurface surf = table->egl.eglCreatePixmapSurface(disp_, config, pixmap, attribList); CreatePixmapSurface() local
660 QuerySurface(EGLSurface surf, EGLint attribute, EGLint *value) QuerySurface() argument
684 SwapBuffers(EGLSurface surf) SwapBuffers() argument
711 BindTexImage(EGLSurface surf, EGLint buffer) BindTexImage() argument
734 ReleaseTexImage(EGLSurface surf, EGLint buffer) ReleaseTexImage() argument
757 SurfaceAttrib(EGLSurface surf, EGLint attribute, EGLint value) SurfaceAttrib() argument
790 EGLSurface surf = table->egl.eglCreatePbufferFromClientBuffer( CreatePbufferFromClientBuffer() local
858 EGLSurface surf = table->egl.eglCreatePlatformWindowSurface(disp_, CreatePlatformWindowSurface() local
886 EGLSurface surf = table->egl.eglCreatePlatformPixmapSurface(disp_, CreatePlatformPixmapSurface() local
900 LockSurfaceKHR(EGLSurface surf, const EGLint *attribList) LockSurfaceKHR() argument
924 UnlockSurfaceKHR(EGLSurface surf) UnlockSurfaceKHR() argument
995 EGLSurface surf = table->egl.eglCreateStreamProducerSurfaceKHR( CreateStreamProducerSurfaceKHR() local
1039 SetDamageRegionKHR(EGLSurface surf, EGLint *rects, EGLint nRects) SetDamageRegionKHR() argument
1167 EGLSurface surf = table->egl.eglCreatePlatformWindowSurfaceEXT( CreatePlatformWindowSurfaceEXT() local
1194 EGLSurface surf = table->egl.eglCreatePlatformPixmapSurfaceEXT( CreatePlatformPixmapSurfaceEXT() local
[all...]
H A Degl_wrapper_surface.h30 EglWrapperSurface(EglWrapperDisplay *disp, EGLSurface surf, NativeWindowType window = nullptr);
31 static EglWrapperSurface *GetWrapperSurface(EGLSurface surf);
H A Degl_wrapper_entry.cpp91 EGLBoolean EglCopyBuffersImpl(EGLDisplay dpy, EGLSurface surf, NativePixmapType target) in EglCopyBuffersImpl() argument
100 return display->CopyBuffers(surf, target); in EglCopyBuffersImpl()
167 EGLBoolean EglDestroySurfaceImpl(EGLDisplay dpy, EGLSurface surf) in EglDestroySurfaceImpl() argument
176 return display->DestroyEglSurface(surf); in EglDestroySurfaceImpl()
434 EGLBoolean EglQuerySurfaceImpl(EGLDisplay dpy, EGLSurface surf, in EglQuerySurfaceImpl() argument
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()
509 EGLBoolean EglBindTexImageImpl(EGLDisplay dpy, EGLSurface surf, EGLint buffer) in EglBindTexImageImpl() argument
518 return display->BindTexImage(surf, buffe in EglBindTexImageImpl()
521 EglReleaseTexImageImpl(EGLDisplay dpy, EGLSurface surf, EGLint buffer) EglReleaseTexImageImpl() argument
533 EglSurfaceAttribImpl(EGLDisplay dpy, EGLSurface surf, EGLint attribute, EGLint value) EglSurfaceAttribImpl() argument
814 EglLockSurfaceKHRImpl(EGLDisplay dpy, EGLSurface surf, const EGLint *attribList) EglLockSurfaceKHRImpl() argument
827 EglUnlockSurfaceKHRImpl(EGLDisplay dpy, EGLSurface surf) EglUnlockSurfaceKHRImpl() argument
1292 EglSetDamageRegionKHRImpl(EGLDisplay dpy, EGLSurface surf, EGLint *rects, EGLint nRects) EglSetDamageRegionKHRImpl() argument
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_shared_test.cpp37 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); in HWTEST_F()
175 ret2 = surf->AcquireBuffer(sbuffer2, fence, timestamp, damage); in HWTEST_F()
227 ret1 = surf->ReleaseBuffer(sbuffer1, -1); in HWTEST_F()
228 ret2 = surf->ReleaseBuffer(sbuffer2, -1); in HWTEST_F()
/foundation/multimedia/av_codec/test/unittest/filter_test/
H A Dvideo_capture_filter_unit_test.cpp357 sptr<MockConsumerSurface> surf = new MockConsumerSurface(name, isShared); in CreateSurfaceAsConsumer() local
358 sptr<BufferQueue> queue_ = new BufferQueue(surf->name_, surf->isShared_); in CreateSurfaceAsConsumer()
359 surf->producer_ = new BufferQueueProducer(queue_); in CreateSurfaceAsConsumer()
360 surf->consumer_ = new BufferQueueConsumer(queue_); in CreateSurfaceAsConsumer()
361 surf->uniqueId_ = surf->producer_->GetUniqueId(); in CreateSurfaceAsConsumer()
362 return surf; in CreateSurfaceAsConsumer()
/foundation/graphic/graphic_surface/surface/src/
H A Dconsumer_surface.cpp27 sptr<ConsumerSurface> surf = new ConsumerSurface(name, isShared); in CreateSurfaceAsConsumer() local
28 if (surf->Init() != GSERROR_OK) { in CreateSurfaceAsConsumer()
29 BLOGE("consumer surf init failed"); 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()
39 BLOGE("consumer surf init failed"); in Create()
42 return surf; in Create()
H A Dproducer_surface.cpp38 sptr<ProducerSurface> surf = new ProducerSurface(producer); in CreateSurfaceAsProducer() local
39 GSError ret = surf->Init(); in CreateSurfaceAsProducer()
41 BLOGE("producer surf init failed"); in CreateSurfaceAsProducer()
45 utils->Add(surf->GetUniqueId(), surf); in CreateSurfaceAsProducer()
46 return surf; in CreateSurfaceAsProducer()
/foundation/multimedia/image_effect/test/unittest/
H A DTestImageEffect.cpp425 sptr<ProducerSurface> surf = new(std::nothrow) MockProducerSurface(producer); in HWTEST_F() local
426 surf->Init(); in HWTEST_F()
427 sptr<Surface> outputSurface = surf; in HWTEST_F()
H A Dnative_image_effect_unittest.cpp139 sptr<ProducerSurface> surf = new(std::nothrow) MockProducerSurface(producer); in SetUpTestCase() local
140 surf->Init(); in SetUpTestCase()
142 utils->Add(surf->GetUniqueId(), surf); in SetUpTestCase()
143 ohSurface_ = surf; in SetUpTestCase()
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/
H A Dopengl_wrapper_native_test.cpp299 sptr<Surface> surf = surfaceNode->GetSurface(); in CreateSurface() local
300 gWindow = CreateNativeWindowFromSurface(&surf); in CreateSurface()
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/systemtest/
H A Dvulkan_loader_system_test.cpp344 OHOS::sptr<OHOS::Surface> surf = surfaceNode->GetSurface(); in HWTEST_F() local
345 OHNativeWindow* nativeWindow = CreateNativeWindowFromSurface(&surf); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Degl_state.cpp229 void DumpEGLSurface(EGLDisplay dpy, EGLSurface surf) in DumpEGLSurface() argument
277 if (EGL_TRUE == eglQuerySurface(dpy, surf, attribs[attr].attribute, &value)) { in DumpEGLSurface()
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/test/unittest/
H A Dvulkan_loader_unit_test.cpp187 OHOS::sptr<OHOS::Surface> surf = surfaceNode->GetSurface(); in CreateNativeWindow() local
188 OHNativeWindow* nativeWindow = CreateNativeWindowFromSurface(&surf); in CreateNativeWindow()

Completed in 15 milliseconds