cc1cbcf9e0
This reverts commitdc3d678712
. Reason for revert: Crashing on exit thread handler Original change's description: > Reland "cache the creation of one GrAtlasTextOp" > > This is a reland of4b1fb7ca90
> > Original change's description: > > cache the creation of one GrAtlasTextOp > > > > GrAtlasTextOp has a high probability of being merged with the > > previous op. This cache keeps using the same op to merge with > > keeping memory warm. > > > > This show about 5.75% improvement in skpbench on desk_nytimes. > > > > When compiling for ios 9 or earlier, this optimization is > > disabled. > > > > Change-Id: I13ccbef6dcd4b9d82103bf20bba7d94f3e4fb6f4 > > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/376718 > > Reviewed-by: Michael Ludwig <michaelludwig@google.com> > > Reviewed-by: Brian Salomon <bsalomon@google.com> > > Commit-Queue: Herb Derby <herb@google.com> > > Change-Id: I935a2965062b1fddb28806e85eb0fe055ba46ec2 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/380320 > Commit-Queue: Herb Derby <herb@google.com> > Reviewed-by: Michael Ludwig <michaelludwig@google.com> TBR=bsalomon@google.com,herb@google.com,michaelludwig@google.com Change-Id: I3bc3329580460fcf8c0b49f655a88cb902da3d58 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/382556 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Herb Derby <herb@google.com>
31 lines
787 B
Plaintext
31 lines
787 B
Plaintext
# Copyright 2017 Google Inc.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
flutter_defines = [
|
|
"SK_DISABLE_REDUCE_OPLIST_SPLITTING",
|
|
|
|
# Flutter always wants this https://github.com/flutter/flutter/issues/11402
|
|
"SK_ENABLE_DUMP_GPU",
|
|
|
|
# Remove software rasterizers to save some code size.
|
|
"SK_DISABLE_AAA",
|
|
|
|
# Things we do for Flutter but don't want in general text layout
|
|
"SK_PARAGRAPH_LIBTXT_SPACES_RESOLUTION",
|
|
|
|
# Staging
|
|
|
|
# Fast low-precision software rendering isn't a priority for Flutter.
|
|
"SK_DISABLE_LEGACY_SHADERCONTEXT",
|
|
"SK_DISABLE_LOWP_RASTER_PIPELINE",
|
|
"SK_FORCE_RASTER_PIPELINE_BLITTER",
|
|
]
|
|
|
|
if (!is_fuchsia) {
|
|
flutter_defines += [
|
|
"SK_GL",
|
|
"SK_DISABLE_EFFECT_DESERIALIZATION",
|
|
]
|
|
}
|