mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Revert "[engine] disable picture complexity raster caching" (flutter/engine#44026)
Reverts flutter/engine#43897
This commit is contained in:
parent
077440458f
commit
cbc409cfdf
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user