Home
last modified time | relevance | path

Searched refs:testSurface (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/
H A Dmain.cpp37 std::shared_ptr<RSSurface> testSurface = in main() local
39 auto frame = testSurface->RequestFrame(1600, 1600); in main()
41 testSurface->FlushFrame(frame); in main()
/ohos5.0/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/
H A Drs_graphic_test.cpp79 auto testSurface = RSSurfaceNode::Create(config, false); in SetUp() local
81 testSurface->SetBounds({0, 0, GetScreenSize()[0], GetScreenSize()[1]}); in SetUp()
82 testSurface->SetFrame({0, 0, GetScreenSize()[0], GetScreenSize()[1]}); in SetUp()
83 testSurface->SetBackgroundColor(SURFACE_COLOR); in SetUp()
84 GetRootNode()->SetTestSurface(testSurface); in SetUp()