Update Skia (#2704)
This commit is contained in:
2
DEPS
2
DEPS
@@ -21,7 +21,7 @@ vars = {
|
||||
'chromium_git': 'https://chromium.googlesource.com',
|
||||
'mojo_sdk_revision': '55352570f8c52ca1282dcfa26a4a32adc08495d6',
|
||||
'base_revision': '672b04e54b937ec899429a6bd5409c5a6300d151',
|
||||
'skia_revision': '3ccf2e75ed92adb3c2c289e0cb95901d162df394',
|
||||
'skia_revision': '8cc209111876b7c78b5ec577c9221d8ed5e21024',
|
||||
|
||||
# Note: When updating the Dart revision, ensure that all entries that are
|
||||
# dependencies of dart are also updated
|
||||
|
||||
@@ -22,7 +22,7 @@ static const int kRasterThreshold = 3;
|
||||
static bool isWorthRasterizing(SkPicture* picture) {
|
||||
// TODO(abarth): We should find a better heuristic here that lets us avoid
|
||||
// wasting memory on trivial layers that are easy to re-rasterize every frame.
|
||||
return picture->approximateOpCount() > 10 || picture->hasText();
|
||||
return picture->approximateOpCount() > 10;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user