Home
last modified time | relevance | path

Searched refs:pSurface_ (Results 1 - 11 of 11) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/systemtest/
H A Dhdilayer_context_systest.cpp36 pSurface_ = Surface::CreateSurfaceAsProducer(producer); in HdiLayerContext()
43 pSurface_ = nullptr; in ~HdiLayerContext()
61 .usage = pSurface_->GetDefaultUsage(), in DrawBufferColor()
64 GSError ret = pSurface_->RequestBuffer(buffer, releaseFence, config); in DrawBufferColor()
85 ret = pSurface_->FlushBuffer(buffer, -1, flushConfig); in DrawBufferColor()
H A Dhdilayer_context_systest.h33 sptr<Surface> pSurface_; member in OHOS::Rosen::MockSys::HdiLayerContext
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dlayer_context.cpp34 pSurface_ = Surface::CreateSurfaceAsProducer(producer); in LayerContext()
44 pSurface_ = nullptr; in ~LayerContext()
65 .usage = pSurface_->GetDefaultUsage(), in DrawBuffer()
68 SurfaceError ret = pSurface_->RequestBuffer(buffer, releaseFence, config); in DrawBuffer()
94 ret = pSurface_->FlushBuffer(buffer, -1, flushConfig); in DrawBuffer()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_test_utils.cpp40 pSurface_ = nullptr; in ~RSInterfacesTestUtils()
55 pSurface_ = Surface::CreateSurfaceAsProducer(producer); in CreateSurface()
56 if (pSurface_ == nullptr) { in CreateSurface()
H A Drs_interfaces_test_utils.h70 sptr<Surface> pSurface_ = nullptr; // producer surface member in OHOS::Rosen::RSInterfacesTestUtils
H A Drs_interfaces_virtual_screen_test.cpp94 defaultOption_.surface_ = utils.pSurface_; in HWTEST_F()
H A Drs_interfaces_system_test.cpp95 defaultOption_.surface_ = utils.pSurface_; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dlayer_context.cpp40 pSurface_ = Surface::CreateSurfaceAsProducer(producer); in LayerContext()
50 pSurface_ = nullptr; in ~LayerContext()
98 .usage = pSurface_->GetDefaultUsage(), in DrawBufferColor()
105 SurfaceError ret = pSurface_->RequestBuffer(buffer, releaseFence, config); in DrawBufferColor()
131 ret = pSurface_->FlushBuffer(buffer, -1, flushConfig); in DrawBufferColor()
H A Dlayer_context.h77 OHOS::sptr<Surface> pSurface_; member in OHOS::LayerContext
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/include/
H A Dlayer_context.h55 OHOS::sptr<Surface> pSurface_; member in OHOS::Rosen::Drawing::LayerContext
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/test/systemtest/
H A Dopengl_wrapper_api_test.cpp55 static inline sptr<OHOS::Surface> pSurface_ = nullptr; member in OHOS::Rosen::OpenglWrapperApiTest
223 pSurface_ = Surface::CreateSurfaceAsProducer(producer); in HWTEST_F()
224 EXPECT_NE(pSurface_, nullptr); in HWTEST_F()
226 gWindow_ = CreateNativeWindowFromSurface(&pSurface_); in HWTEST_F()

Completed in 4 milliseconds