Disable experimental new GrClipStack in Skia
This CL pre-emptively adds a define so that the new GrClipStack used in Ganesh will not be enabled by default. Currently, the clip stack is always disabled because SK_USE_NEW_GR_CLIP_STACK defaults to 0. After https://skia-review.googlesource.com/c/skia/+/317209 lands, it will be enabled by default and must be disabled by defining SK_DISABLE_NEW_GR_CLIP_STACK. This CL should land before the Skia change does so that we can later turn on the new GrClipStack in chrome after vetting on Skia's tree. Bug: skia:10205 Change-Id: If52d84de244def0df7ac7319485f94fd9f74a9af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412768 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com> Auto-Submit: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Cr-Commit-Position: refs/heads/master@{#807221}
This commit is contained in:

committed by
Commit Bot

parent
fd8b5f0ed7
commit
c58783f1e5
@ -231,6 +231,9 @@ SK_API void SkDebugf_FileLine(const char* file,
|
||||
// Staging for Skia requiring GrDirectContext in SkImage::readPixels.
|
||||
#define SK_IMAGE_READ_PIXELS_LEGACY_API
|
||||
|
||||
// Staging for Skia using a simpler clip stack implementation on GPU backends.
|
||||
#define SK_DISABLE_NEW_GR_CLIP_STACK
|
||||
|
||||
///////////////////////// Imported from BUILD.gn and skia_common.gypi
|
||||
|
||||
/* In some places Skia can use static initializers for global initialization,
|
||||
|
Reference in New Issue
Block a user