commit | 682c269a1511200322916af83053e26004c0ec40 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Fri May 22 14:01:46 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri May 22 14:01:46 2015 -0700 |
tree | bb382801bc7e7ad13aa6ded4fdcfd93551f6c01f | |
parent | a5f1d5a95a350275c8ea63307d5ceaaccaa0c89b [diff] [blame] |
Store context options on caps. Committed: https://skia.googlesource.com/skia/+/f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc Review URL: https://codereview.chromium.org/1158433006
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h index eaf1aa4..9202742 100644 --- a/include/gpu/GrTypesPriv.h +++ b/include/gpu/GrTypesPriv.h
@@ -265,13 +265,13 @@ }; #ifdef SK_DEBUG -// Takes a pointer to a GrContext, and will suppress prints if required -#define GrContextDebugf(context, ...) \ - if (!context->suppressPrints()) { \ - SkDebugf(__VA_ARGS__); \ +// Takes a pointer to a GrCaps, and will suppress prints if required +#define GrCapsDebugf(caps, ...) \ + if (!caps->suppressPrints()) { \ + SkDebugf(__VA_ARGS__); \ } #else -#define GrContextDebugf(context, ...) +#define GrCapsDebugf(caps, ...) #endif #endif