Skip to content

Commit

Permalink
Define SK_SUPPORT_LEGACY_QUAD_SHIFT
Browse files Browse the repository at this point in the history
This guards against our improvement over quadratic edges in non-AA
cases.

BUG=

Review-Url: https://codereview.chromium.org/2613213004
Cr-Commit-Position: refs/heads/master@{#442608}
  • Loading branch information
liyuqian authored and Commit bot committed Jan 10, 2017
1 parent 0aed258 commit 2465bc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions skia/config/SkUserConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
# define SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES
#endif

#ifndef SK_SUPPORT_LEGACY_QUAD_SHIFT
# define SK_SUPPORT_LEGACY_QUAD_SHIFT
#endif

///////////////////////// Imported from BUILD.gn and skia_common.gypi

/* In some places Skia can use static initializers for global initialization,
Expand Down

0 comments on commit 2465bc7

Please sign in to comment.