diff --git a/gn/flutter_defines.gni b/gn/flutter_defines.gni index e8e772d265..951360c16b 100644 --- a/gn/flutter_defines.gni +++ b/gn/flutter_defines.gni @@ -17,6 +17,7 @@ flutter_defines = [ # Staging "SK_SUPPORT_LEGACY_ADJUSTHQHEURISTIC", "SK_SUPPORT_LEGACY_IMPLICIT_FILTERQUALITY", + "SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS", # Fast low-precision software rendering isn't a priority for Flutter. "SK_DISABLE_LEGACY_SHADERCONTEXT", diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 6183973e08..a1b044517b 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -40,10 +40,6 @@ #define SK_SUPPORT_LEGACY_DRAWIMAGE_NOSAMPLING -#ifndef SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS -#define SK_SUPPORT_LEGACY_PAINT_QUALITY_APIS -#endif - class GrBackendRenderTarget; class GrRecordingContext; class GrSurfaceDrawContext;