Revert "[engine] disable picture complexity raster caching" (flutter/engine#44026)

Reverts flutter/engine#43897
This commit is contained in:
Jonah Williams
2023-07-27 13:27:39 -07:00
committed by GitHub
parent 077440458f
commit cbc409cfdf
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ class DisplayListGLComplexityCalculator
bool ShouldBeCached(unsigned int complexity_score) override {
// Set cache threshold at 1ms
return false;
return complexity_score > 200000u;
}
void SetComplexityCeiling(unsigned int ceiling) override {

View File

@@ -22,7 +22,7 @@ class DisplayListMetalComplexityCalculator
bool ShouldBeCached(unsigned int complexity_score) override {
// Set cache threshold at 1ms
return false;
return complexity_score > 200000u;
}
void SetComplexityCeiling(unsigned int ceiling) override {