a092028439
This reverts commit 2076b04d15
.
Reason for revert: speculative: breaking google3 flutter scuba?
Original change's description:
> new virtuals for canvas ctm
>
> 1. Feature: Clients need to override didConcat44() (new data)
> 2. Perf: Clients need to override didTranslate (and now didScale) so our
> default impls can be empty.
>
> Need SK_SUPPORT_LEGACY_CANVAS_MATRIX_VIRTUALS flag to stage this in
> clients (anyone who subclasses SkCanvas)
>
> Before (with flag)
> 120.87 canvas_matrix_4x4 8888
> 108.10 ? canvas_matrix_3x3 8888
> 108.13 ? canvas_matrix_2x3 8888
> 141.54 canvas_matrix_scale 8888
> 128.04 canvas_matrix_trans 8888
>
> After (without the flag)
> ...
> 90.79 canvas_matrix_scale 8888
> 94.51 canvas_matrix_trans 8888
>
> bug: skia:9768
>
> Change-Id: I6f500138dd6b2b24754dc065c650d0bd3c341540
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263349
> Commit-Queue: Mike Reed <reed@google.com>
> Reviewed-by: Florin Malita <fmalita@chromium.org>
TBR=fmalita@chromium.org,reed@google.com
Change-Id: I9c2e39ea0aa2b19d40eb6454c233258ab7f35829
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/263564
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
30 lines
774 B
Plaintext
30 lines
774 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",
|
|
"SK_LEGACY_SKCODEC_NONE_ENUM",
|
|
|
|
# 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",
|
|
|
|
# API staging
|
|
|
|
# Flutter doesn't deserialize anything.
|
|
"SK_DISABLE_READBUFFER",
|
|
"SK_DISABLE_EFFECT_DESERIALIZATION",
|
|
|
|
# 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" ]
|
|
}
|