Home
last modified time | relevance | path

Searched refs:opCanCache_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable_autocache.cpp72 opCanCache_ = false; in OpincCalculateAfter()
74 opCanCache_ = drawAreaTemp->GetOpInfo().canReUseCache; in OpincCalculateAfter()
76 if (opCanCache_) { in OpincCalculateAfter()
119 opCanCache_ = false; in DrawableCacheStateReset()
141 if (opCanCache_) { in NodeCacheStateDisable()
142 opCanCache_ = false; in NodeCacheStateDisable()
274 if (!IsComputeDrawAreaSucc() || !opCanCache_) { in DrawAutoCache()
346 …recordState_, rootNodeStragyType_, opCanCache_, isDrawAreaEnable_, GetOpDropped(), isOpincDropNode… in GetNodeDebugInfo()
H A Drs_render_node_drawable.h216 bool opCanCache_ = false; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_canvas_autocache.cpp58 opCanCache_ = false; in SkiaCanvasAutoCache()
77 if (!opCanCache_ || totalOpNums_ == 0 || drawAreaRects_.size() == 0) { in OpCanCache()
78 opCanCache_ = false; in OpCanCache()
86 opCanCache_ = false; in OpCanCache()
95 opCanCache_ = true; in OpCanCache()
98 opCanCache_ = false; in OpCanCache()
104 return opCanCache_; in OpCanCache()
119 return opCanCache_; in OpShouldRecord()
144 opCanCache_ = false; in RecordUnsupportOp()
194 opCanCache_ = false; in MergeDrawAreaRects()
[all …]
H A Dskia_canvas_autocache.h123 bool opCanCache_ = true; variable
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_render_node_drawable_test.cpp181 ASSERT_EQ(drawable->opCanCache_, false);
232 drawable->opCanCache_ = false;
238 ASSERT_EQ(drawable->opCanCache_, false);
240 drawable->opCanCache_ = true;
242 ASSERT_EQ(drawable->opCanCache_, false);
358 drawable->opCanCache_ = true;
363 drawable->opCanCache_ = false;
368 drawable->opCanCache_ = false;
377 drawable->opCanCache_ = true;
H A Drs_render_node_drawable_autocache_test.cpp162 drawable->opCanCache_ = true;
164 ASSERT_FALSE(drawable->opCanCache_);
166 ASSERT_FALSE(drawable->opCanCache_);
350 drawable->opCanCache_ = true;