Home
last modified time | relevance | path

Searched refs:spherizeSurface (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_painter_test.cpp1108 std::shared_ptr<Drawing::Surface> spherizeSurface; variable
1109 RSPropertiesPainter::DrawSpherize(properties, canvas, spherizeSurface);
1110 EXPECT_TRUE(spherizeSurface == nullptr);
1112 spherizeSurface = std::make_shared<Drawing::Surface>();
1113 RSPropertiesPainter::DrawSpherize(properties, canvas, spherizeSurface);
1114 EXPECT_TRUE(spherizeSurface != nullptr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties_painter.h90 const std::shared_ptr<Drawing::Surface>& spherizeSurface);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp1491 const std::shared_ptr<Drawing::Surface>& spherizeSurface) in DrawSpherize() argument
1493 if (spherizeSurface == nullptr) { in DrawSpherize()
1496 if (spherizeSurface->Width() == 0 || spherizeSurface->Height() == 0) { in DrawSpherize()
1503 auto imageSnapshot = spherizeSurface->GetImageSnapshot(); in DrawSpherize()