Searched refs:testSurface (Results 1 – 2 of 2) sorted by relevance
37 std::shared_ptr<RSSurface> testSurface = in main() local39 auto frame = testSurface->RequestFrame(1600, 1600); in main()41 testSurface->FlushFrame(frame); in main()
79 auto testSurface = RSSurfaceNode::Create(config, false); in SetUp() local81 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()