[engine] disable picture complexity raster caching (flutter/engine#43897)

Test removing picture complexity based raster caching.
This commit is contained in:
Jonah Williams
2023-07-21 09:42:09 -07:00
committed by GitHub
parent 8e24b623e8
commit c309bebb03
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 complexity_score > 200000u;
return false;
}
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 complexity_score > 200000u;
return false;
}
void SetComplexityCeiling(unsigned int ceiling) override {