Home
last modified time | relevance | path

Searched refs:surface (Results 1 – 25 of 42) sorted by relevance

12

/base/web/webview/ohos_nweb/src/
Dnweb_surface_adapter.cpp38 NWebCreateInfo NWebSurfaceAdapter::GetCreateInfo(sptr<Surface> surface, in GetCreateInfo() argument
45 .producer_surface = reinterpret_cast<void *>(&surface), in GetCreateInfo()
47 if (surface == nullptr) { in GetCreateInfo()
50 GetSize(surface, createInfo, width, height); in GetCreateInfo()
51 GetRenderInterface(surface, createInfo); in GetCreateInfo()
55 void NWebSurfaceAdapter::GetSize(sptr<Surface> surface, in GetSize() argument
60 if (surface == nullptr) { in GetSize()
63 createInfo.width = (width == 0) ? (uint32_t)surface->GetDefaultWidth() : width; in GetSize()
64 createInfo.height = (height == 0) ? (uint32_t)surface->GetDefaultHeight() : height; in GetSize()
67 void NWebSurfaceAdapter::GetRenderInterface(sptr<Surface> surface, NWebCreateInfo &createInfo) in GetRenderInterface() argument
[all …]
/base/web/webview/ohos_nweb/include/
Dnweb_surface_adapter.h34 NWebCreateInfo GetCreateInfo(sptr<Surface> surface,
40 …void GetSize(sptr<Surface> surface, NWebCreateInfo &createInfo, uint32_t width, uint32_t height) c…
41 void GetRenderInterface(sptr<Surface> surface, NWebCreateInfo &createInfo);
42 sptr<SurfaceBuffer> RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height);
44 …bool FlushBuffer(sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_…
Dnweb_adapter_helper.h34 std::shared_ptr<NWeb> CreateNWeb(sptr<Surface> surface,
/base/update/updater/services/ui/driver/
Dsurface_dev.cpp75 GrSurface surface {0}; in GetScreenSize() local
77 drv_->GetGrSurface(surface); in GetScreenSize()
79 w = surface.width; in GetScreenSize()
80 h = surface.height; in GetScreenSize()
Dfbdev_driver.cpp121 void FbdevDriver::GetGrSurface(GrSurface &surface) in GetGrSurface() argument
123 surface.width = static_cast<int>(vinfo_.xres); in GetGrSurface()
124 surface.height = static_cast<int>(vinfo_.yres); in GetGrSurface()
125 surface.rowBytes = finfo_.line_length; in GetGrSurface()
126 surface.pixelBytes = vinfo_.bits_per_pixel / 8; // 8: byte bit len in GetGrSurface()
Dgraphic_drv.h32 virtual void GetGrSurface(GrSurface &surface) = 0;
Ddrm_driver.cpp32 void DrmDriver::GetGrSurface(GrSurface &surface) in GetGrSurface() argument
34 surface.width = static_cast<int>(buff_.width); in GetGrSurface()
35 surface.height = static_cast<int>(buff_.height); in GetGrSurface()
36 surface.rowBytes = 0; in GetGrSurface()
37 surface.pixelBytes = 0; in GetGrSurface()
Dfbdev_driver.h39 void GetGrSurface(GrSurface &surface) override;
Ddrm_driver.h50 void GetGrSurface(GrSurface &surface) override;
/base/useriam/face_auth/test/fuzztest/faceauthservice_fuzzer/
Dface_auth_service_fuzzer.cpp48 auto surface = IConsumerSurface::Create(); in FuzzSetBufferProducer() local
49 if (surface == nullptr) { in FuzzSetBufferProducer()
53 bufferProducer = surface->GetProducer(); in FuzzSetBufferProducer()
/base/web/webview/test/unittest/nweb_surface_adapter_test/
Dnweb_surface_adapter_test.cpp105 sptr<Surface> surface = nullptr; variable
106 surfaceAdapter.GetCreateInfo(surface, GetInitArgs(), DEFAULT_WIDTH, DEFAULT_HEIGHT);
200 sptr<Surface> surface = nullptr; variable
201 result = surfaceAdapter.FlushBuffer(surface, g_surfaceBuffer, DEFAULT_WIDTH, DEFAULT_WIDTH);
DBUILD.gn24 "$graphicsurface_path/frameworks/surface/include",
50 "graphic_2d:surface",
/base/useriam/face_auth/test/unittest/
DBUILD.gn44 "graphic_2d:surface",
70 "graphic_2d:surface",
99 "graphic_2d:surface",
/base/web/webview/test/unittest/ohos_adapter/camera_adapter_impl_test/
Dcamera_adapter_impl_test.cpp56 sptr<Surface> surface = surfaceNode->GetSurface(); in SetUpTestCase() local
57 EXPECT_NE(surface, nullptr); in SetUpTestCase()
59 g_surfaceBuffer = surfaceAdapter.RequestBuffer(surface, DEFAULT_WIDTH, DEFAULT_HEIGHT); in SetUpTestCase()
96 void OnBufferAvailable(std::shared_ptr<CameraSurfaceAdapter> surface, in OnBufferAvailable() argument
176 sptr<IConsumerSurface> surface = IConsumerSurface::Create(); variable
177 EXPECT_NE(surface, nullptr);
180 …auto listener = std::make_shared<CameraSurfaceListener>(SurfaceType::PREVIEW, surface, listenerAda…
460 sptr<IConsumerSurface> surface = IConsumerSurface::Create(); variable
461 EXPECT_NE(surface, nullptr);
462 auto listener = std::make_shared<CameraSurfaceAdapterImpl>(surface);
/base/useriam/face_auth/frameworks/ipc/
DBUILD.gn50 external_deps += [ "graphic_2d:surface" ]
76 external_deps += [ "graphic_2d:surface" ]
/base/web/webview/ohos_adapter/graphic_adapter/src/
Dsurface_adapter_impl.cpp112 wptr<IConsumerSurface> surface, std::unique_ptr<IBufferConsumerListenerAdapter> listener) in BufferConsumerListenerImpl() argument
113 : cSurface_(surface), listener_(std::move(listener)) in BufferConsumerListenerImpl()
/base/theme/wallpaper_mgr/test/
DBUILD.gn40 "graphic_2d:surface",
69 "graphic_2d:surface",
/base/web/webview/ohos_adapter/graphic_adapter/include/
Dsurface_adapter_impl.h53 wptr<IConsumerSurface> surface, std::unique_ptr<IBufferConsumerListenerAdapter> listener);
/base/web/webview/test/unittest/ohos_adapter_helper/
Dohos_adapter_helper_test.cpp124 sptr<Surface> surface = nullptr; variable
128 auto nweb = NWebAdapterHelper::Instance().CreateNWeb(surface, initArgs, width, height);
/base/web/webview/test/unittest/ohos_adapter/media_adapter_test/
DBUILD.gn38 "graphic_2d:surface",
/base/useriam/face_auth/test/fuzztest/faceauthexecutorhdi_fuzzer/
DBUILD.gn38 "graphic_2d:surface",
/base/useriam/face_auth/frameworks/js/napi/
DBUILD.gn34 external_deps += [ "graphic_2d:surface" ]
/base/web/webview/ohos_adapter/camera_adapter/include/
Dcamera_manager_adapter_impl.h167 sptr<IConsumerSurface> surface,
188 CameraSurfaceAdapterImpl(sptr<IConsumerSurface> surface);
/base/useriam/face_auth/test/fuzztest/faceauthstub_fuzzer/
DBUILD.gn42 "graphic_2d:surface",
/base/web/webview/test/unittest/ohos_adapter/graphic_adapter_test/
DBUILD.gn48 "graphic_2d:surface",

12