forked from firka/flutter
Revert "[engine] disable picture complexity raster caching" (flutter/engine#44026)
Reverts flutter/engine#43897
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user