Home
last modified time | relevance | path

Searched refs:DrawableCacheType (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable.h150 void SetCacheType(DrawableCacheType cacheType);
151 DrawableCacheType GetCacheType() const;
173 std::atomic<DrawableCacheType> cacheType_ = DrawableCacheType::NONE;
201 Drawing::Canvas& canvas, const RSRenderParams& params, DrawableCacheType originalCacheType);
H A Drs_render_node_drawable.cpp209 SetCacheType(DrawableCacheType::NONE); in TraverseSubTreeAndDrawFilterWithClip()
240 if (GetCacheType() != DrawableCacheType::NONE && hasSkipCacheLayer_ && isInCapture) { in CheckCacheTypeAndDraw()
241 SetCacheType(DrawableCacheType::NONE); in CheckCacheTypeAndDraw()
244 params.GetForegroundFilterCache() == nullptr && GetCacheType() != DrawableCacheType::NONE) { in CheckCacheTypeAndDraw()
268 case DrawableCacheType::NONE: { in CheckCacheTypeAndDraw()
272 case DrawableCacheType::CONTENT: { in CheckCacheTypeAndDraw()
282 Drawing::Canvas& canvas, const RSRenderParams& params, DrawableCacheType originalCacheType) in DrawWithoutNodeGroupCache()
468 void RSRenderNodeDrawable::SetCacheType(DrawableCacheType cacheType) in SetCacheType()
473 DrawableCacheType RSRenderNodeDrawable::GetCacheType() const in GetCacheType()
696 SetCacheType(DrawableCacheType::NONE); in ClearCachedSurface()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_render_node_drawable_test.cpp502 drawable->SetCacheType(DrawableCacheType::NONE);
504 drawable->SetCacheType(DrawableCacheType::CONTENT);
784 DrawableCacheType originalCacheType = DrawableCacheType::CONTENT;
786 ASSERT_TRUE(drawable->GetCacheType() == DrawableCacheType::CONTENT);
794 ASSERT_TRUE(drawable->GetCacheType() == DrawableCacheType::CONTENT);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_common_def.h118 enum class DrawableCacheType : uint8_t { enum