Revert "Remove flag for misc sampling apis"

This reverts commit 3f31f3027f.

Reason for revert: breaking g3

Original change's description:
> Remove flag for misc sampling apis
>
> Change-Id: Ia1f2d94000b6929883face241d1786de9d65e22a
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/358736
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Mike Reed <reed@google.com>

TBR=reed@google.com

Change-Id: I487b99eabbf54f680b8f4cac4343ba74cae90d31
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/359176
Reviewed-by: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2021-01-26 02:26:19 +00:00
parent 34a0c97f5e
commit e21c90a738
2 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,6 @@ flutter_defines = [
# Staging # Staging
"SK_SUPPORT_LEGACY_ADJUSTHQHEURISTIC", "SK_SUPPORT_LEGACY_ADJUSTHQHEURISTIC",
"SK_SUPPORT_LEGACY_IMPLICIT_FILTERQUALITY", "SK_SUPPORT_LEGACY_IMPLICIT_FILTERQUALITY",
"SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS",
# Fast low-precision software rendering isn't a priority for Flutter. # Fast low-precision software rendering isn't a priority for Flutter.
"SK_DISABLE_LEGACY_SHADERCONTEXT", "SK_DISABLE_LEGACY_SHADERCONTEXT",

View File

@ -40,6 +40,10 @@
#define SK_SUPPORT_LEGACY_DRAWIMAGE_NOSAMPLING #define SK_SUPPORT_LEGACY_DRAWIMAGE_NOSAMPLING
#ifndef SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS
#define SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS
#endif
class GrBackendRenderTarget; class GrBackendRenderTarget;
class GrRecordingContext; class GrRecordingContext;
class GrSurfaceDrawContext; class GrSurfaceDrawContext;