Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: skia/config/SkUserConfig.h

Issue 812543002: Update from https://crrev.com/308331 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/surfaces/surfaces_impl.cc ('k') | skia/ext/pixel_ref_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index bd039e3abec57f1fe9aa82a5fe594ab5b0dfd9fc..07b47d20521da5992454485e3c5b2ed493e2ce64 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -257,10 +257,6 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
#endif
-#ifndef SK_SUPPORT_LEGACY_PICTURE_CLONE
-# define SK_SUPPORT_LEGACY_PICTURE_CLONE
-#endif
-
#ifndef SK_IGNORE_ETC1_SUPPORT
# define SK_IGNORE_ETC1_SUPPORT
#endif
@@ -269,24 +265,14 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_IGNORE_GPU_DITHER
#endif
-#ifndef SK_LEGACY_PICTURE_SIZE_API
-# define SK_LEGACY_PICTURE_SIZE_API
-#endif
-
#ifndef SK_LEGACY_PICTURE_DRAW_API
# define SK_LEGACY_PICTURE_DRAW_API
#endif
-
-// Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to
-// test the threadsafety of SkPicture playback.
-#define SK_PICTURE_CLONE_NOOP 1
-
-// Turns on new (nicer, hopefully faster) SkPicture backend.
-#define SK_PICTURE_USE_SK_RECORD 1
-
-// Run a few optimization passes over the SkRecord after recording.
-#define SK_PICTURE_OPTIMIZE_SK_RECORD 1
+// If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED directly.
+#if DYNAMIC_ANNOTATIONS_ENABLED
+# define SK_DYNAMIC_ANNOTATIONS_ENABLED 1
+#endif
// ===== End Chrome-specific definitions =====
« no previous file with comments | « services/surfaces/surfaces_impl.cc ('k') | skia/ext/pixel_ref_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698