diff --git a/DEPS b/DEPS index ed5921006d..a4661d6432 100644 --- a/DEPS +++ b/DEPS @@ -21,7 +21,7 @@ vars = { 'chromium_git': 'https://chromium.googlesource.com', 'mojo_sdk_revision': 'c29387104b5fbcbf681e2da2559a3db5860f153f', 'mojo_devtools_revision': '49879d78ce4486e10c2214a101d9b2e82794b2f4', - 'skia_revision': '87ed6be0e4ea8b0a88915045f697d0fd734ed6f5', + 'skia_revision': '52e2581700b719aad317605160a2cef45d3db68b', # Note: When updating the Dart revision, ensure that all entries that are # dependencies of dart are also updated diff --git a/engine/src/flutter/skia/BUILD.gn b/engine/src/flutter/skia/BUILD.gn index e61fd0c310..8c8c22083e 100644 --- a/engine/src/flutter/skia/BUILD.gn +++ b/engine/src/flutter/skia/BUILD.gn @@ -464,6 +464,7 @@ component("skia") { sources -= [ "//third_party/skia/src/fonts/SkFontMgr_fontconfig.cpp", "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", + "//third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp", "//third_party/skia/src/ports/SkFontHost_fontconfig.cpp", ] } @@ -554,7 +555,7 @@ source_set("skia_opts") { if (current_cpu == "x86" || current_cpu == "x64") { sources = gypi_skia_opts.sse2_sources + gypi_skia_opts.ssse3_sources + - gypi_skia_opts.sse41_sources + + gypi_skia_opts.sse41_sources + gypi_skia_opts.avx_sources + [ # Chrome-specific. "ext/convolver_SSE2.cc", diff --git a/engine/src/flutter/skia/config/SkUserConfig.h b/engine/src/flutter/skia/config/SkUserConfig.h index e9990e6ad9..8072755b70 100644 --- a/engine/src/flutter/skia/config/SkUserConfig.h +++ b/engine/src/flutter/skia/config/SkUserConfig.h @@ -192,13 +192,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, "%s:%d: failed assertion \"%s\"\n", \ __FILE__, __LINE__, #cond); } } while (false) -#if !defined(ANDROID) // On Android, we use the skia default settings. -#define SK_A32_SHIFT 24 -#define SK_R32_SHIFT 16 -#define SK_G32_SHIFT 8 -#define SK_B32_SHIFT 0 -#endif - #if defined(SK_BUILD_FOR_WIN32) #define SK_BUILD_FOR_WIN