Home
last modified time | relevance | path

Searched refs:GetCacheType (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable.cpp179 auto canvasType = curCanvas->GetCacheType(); in GenerateCacheIfNeed()
208 auto drawableCacheType = GetCacheType(); in TraverseSubTreeAndDrawFilterWithClip()
238 auto originalCacheType = GetCacheType(); in CheckCacheTypeAndDraw()
240 if (GetCacheType() != DrawableCacheType::NONE && hasSkipCacheLayer_ && isInCapture) { in CheckCacheTypeAndDraw()
244 params.GetForegroundFilterCache() == nullptr && GetCacheType() != DrawableCacheType::NONE) { in CheckCacheTypeAndDraw()
266 …_IF(DEBUG_NODE, "RSRenderNodeDrawable::CheckCacheTAD GetCacheType is %{public}hu", GetCacheType()); in CheckCacheTypeAndDraw()
267 switch (GetCacheType()) { in CheckCacheTypeAndDraw()
473 DrawableCacheType RSRenderNodeDrawable::GetCacheType() const in GetCacheType() function in OHOS::Rosen::DrawableV2::RSRenderNodeDrawable
H A Drs_render_node_drawable.h151 DrawableCacheType GetCacheType() const;
H A Drs_render_node_drawable_autocache.cpp179 auto isOffscreen = (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::OFFSCREEN); in BeforeDrawCacheFindRootNode()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_bounds_geometry_test.cpp822 EXPECT_NE(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::ENABLED);
826 EXPECT_EQ(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::ENABLED);
843 EXPECT_NE(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::ENABLED);
847 EXPECT_EQ(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::ENABLED);
961 EXPECT_NE(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::OFFSCREEN);
965 EXPECT_EQ(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::OFFSCREEN);
1070 EXPECT_NE(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::OFFSCREEN);
1074 EXPECT_EQ(fileCanvas.GetCacheType(), RSPaintFilterCanvas::CacheType::OFFSCREEN);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp490 if (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::ENABLED) { in Draw()
523 if (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::ENABLED) { in Draw()
568 if (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::ENABLED) { in Draw()
687 if (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::OFFSCREEN) { in Draw()
834 if (canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::OFFSCREEN) { in Draw()
H A Drs_properties_painter.cpp291 canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::ENABLED) { in DrawShadow()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_effect_render_node.cpp84 canvas.GetCacheType() == RSPaintFilterCanvas::CacheType::OFFSCREEN) { in ProcessRenderBeforeChildren()
H A Drs_canvas_render_node.cpp95 if (GetCacheType() == CacheType::CONTENT) { in OnTreeStateChanged()
H A Drs_paint_filter_canvas.cpp829 SetCacheType(other.GetCacheType()); in CopyConfigurationToOffscreenCanvas()
849 Drawing::CacheType RSPaintFilterCanvas::GetCacheType() const in GetCacheType() function in OHOS::Rosen::RSPaintFilterCanvas
H A Drs_render_node.cpp2791 auto cacheType = GetCacheType(); in NeedInitCacheSurface()
2858 auto cacheType = GetCacheType(); in InitCacheSurface()
2956 auto cacheType = GetCacheType(); in DrawCacheSurface()
3785 CacheType RSRenderNode::GetCacheType() const in GetCacheType() function in OHOS::Rosen::RSRenderNode
H A Drs_surface_render_node.cpp596 if (GetCacheType() != CacheType::ANIMATE_PROPERTY && !needDrawAnimateProperty_) { in ProcessAnimatePropertyBeforeChildren()
634 if (GetCacheType() != CacheType::ANIMATE_PROPERTY && !needDrawAnimateProperty_) { in ProcessAnimatePropertyAfterChildren()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/
H A Ddraw_cmd_list.cpp339 if (canvas.GetCacheType() == Drawing::CacheType::ENABLED && !isCached_) { in Playback()
341 } else if (canvas.GetCacheType() == Drawing::CacheType::DISABLED && isCached_) { in Playback()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dcore_canvas.h701 virtual Drawing::CacheType GetCacheType() const;
H A Dcore_canvas.cpp542 Drawing::CacheType CoreCanvas::GetCacheType() const in GetCacheType() function in OHOS::Rosen::Drawing::CoreCanvas
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_render_node_drawable_test.cpp786 ASSERT_TRUE(drawable->GetCacheType() == DrawableCacheType::CONTENT);
794 ASSERT_TRUE(drawable->GetCacheType() == DrawableCacheType::CONTENT);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_render_node_test.cpp227 EXPECT_EQ(rsCanvasRenderNode.GetCacheType(), CacheType::NONE);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_paint_filter_canvas.h208 Drawing::CacheType GetCacheType() const override;
H A Drs_render_node.h428 CacheType GetCacheType() const;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_background.cpp109 if (canvas->GetCacheType() == Drawing::CacheType::ENABLED) { in CreateDrawFunc()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_render_thread_visitor.cpp642 if (node.GetCacheType() != CacheType::ANIMATE_PROPERTY) { in ProcessCanvasRenderNode()