Searched refs:RSDrawingCacheType (Results 1 – 10 of 10) sorted by relevance
197 void SetDrawingCacheType(RSDrawingCacheType cacheType);198 RSDrawingCacheType GetDrawingCacheType() const;374 RSDrawingCacheType drawingCacheType_ = RSDrawingCacheType::DISABLED_CACHE;
425 params.drawingCacheType_ = RSDrawingCacheType::FORCED_CACHE;431 params.drawingCacheType_ = RSDrawingCacheType::TARGETED_CACHE;433 ASSERT_TRUE(params.GetDrawingCacheType() == RSDrawingCacheType::TARGETED_CACHE);444 params.drawingCacheType_ = RSDrawingCacheType::FORCED_CACHE;450 ASSERT_TRUE(params.GetDrawingCacheType() == RSDrawingCacheType::DISABLED_CACHE);472 params.drawingCacheType_ = RSDrawingCacheType::FORCED_CACHE;481 params.drawingCacheType_ = RSDrawingCacheType::DISABLED_CACHE;673 params.drawingCacheType_ = RSDrawingCacheType::TARGETED_CACHE;702 params.drawingCacheType_ = RSDrawingCacheType::TARGETED_CACHE;
95 if (params.GetDrawingCacheType() != RSDrawingCacheType::DISABLED_CACHE) { in GenerateCacheIfNeed()115 …if ((params.GetDrawingCacheType() == RSDrawingCacheType::DISABLED_CACHE && !OpincGetCachedMark()) … in GenerateCacheIfNeed()140 if (needUpdateCache && params.GetDrawingCacheType() == RSDrawingCacheType::TARGETED_CACHE && in GenerateCacheIfNeed()145 params.SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in GenerateCacheIfNeed()155 …if ((params.GetDrawingCacheType() == RSDrawingCacheType::DISABLED_CACHE || (!needUpdateCache && !h… in GenerateCacheIfNeed()243 if (hasFilter && params.GetDrawingCacheType() != RSDrawingCacheType::DISABLED_CACHE && in CheckCacheTypeAndDraw()733 … if ((params.GetDrawingCacheType() == RSDrawingCacheType::TARGETED_CACHE && params.NeedFilter() && in CheckIfNeedUpdateCache()736 params.SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in CheckIfNeedUpdateCache()
84 … if (alpha_ < 1.0f && (drawingCacheType_ == RSDrawingCacheType::FORCED_CACHE || alphaOffScreen_)) { in ApplyAlphaAndMatrixToCanvas()236 void RSRenderParams::SetDrawingCacheType(RSDrawingCacheType cacheType) in SetDrawingCacheType()246 RSDrawingCacheType RSRenderParams::GetDrawingCacheType() const in GetDrawingCacheType()
236 node.SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE);237 ASSERT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::DISABLED_CACHE);238 node.SetDrawingCacheType(RSDrawingCacheType::FORCED_CACHE);239 ASSERT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::FORCED_CACHE);240 node.SetDrawingCacheType(RSDrawingCacheType::TARGETED_CACHE);241 ASSERT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::TARGETED_CACHE);1112 node->drawingCacheType_ = RSDrawingCacheType::FORCED_CACHE;1768 EXPECT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::DISABLED_CACHE);1771 EXPECT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::FORCED_CACHE);1774 EXPECT_EQ(node.GetDrawingCacheType(), RSDrawingCacheType::TARGETED_CACHE);[all …]
690 ASSERT_EQ(node->drawingCacheType_, RSDrawingCacheType::DISABLED_CACHE);694 ASSERT_EQ(node->drawingCacheType_, RSDrawingCacheType::FORCED_CACHE);698 ASSERT_EQ(node->drawingCacheType_, RSDrawingCacheType::TARGETED_CACHE);
443 void SetDrawingCacheType(RSDrawingCacheType cacheType);444 RSDrawingCacheType GetDrawingCacheType() const;1002 RSDrawingCacheType drawingCacheType_ = RSDrawingCacheType::DISABLED_CACHE;
1075 SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in UpdateDrawingCacheInfoBeforeChildren()1079 if (GetDrawingCacheType() == RSDrawingCacheType::DISABLED_CACHE) { in UpdateDrawingCacheInfoBeforeChildren()1095 SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in UpdateDrawingCacheInfoAfterChildren()1099 SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in UpdateDrawingCacheInfoAfterChildren()1102 if (GetDrawingCacheType() != RSDrawingCacheType::DISABLED_CACHE) { in UpdateDrawingCacheInfoAfterChildren()3254 SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in CheckDrawingCacheType()3256 SetDrawingCacheType(RSDrawingCacheType::FOREGROUND_FILTER_CACHE); in CheckDrawingCacheType()3258 SetDrawingCacheType(RSDrawingCacheType::FORCED_CACHE); in CheckDrawingCacheType()3260 SetDrawingCacheType(RSDrawingCacheType::TARGETED_CACHE); in CheckDrawingCacheType()3797 void RSRenderNode::SetDrawingCacheType(RSDrawingCacheType cacheType) in SetDrawingCacheType()[all …]
98 SetDrawingCacheType(RSDrawingCacheType::DISABLED_CACHE); in OnTreeStateChanged()
123 enum RSDrawingCacheType : uint8_t { enum