diff options
Diffstat (limited to 'chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h')
-rw-r--r-- | chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h b/chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h index f64d5c3cf58..b4c0b297f11 100644 --- a/chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h +++ b/chromium/third_party/skia/src/gpu/effects/GrTextureDomain.h @@ -31,6 +31,12 @@ public: }; static const int kModeCount = kLastMode + 1; + static const GrTextureDomain& IgnoredDomain() { + static const SkRect gDummyRect = {0, 0, 0, 0}; + static const GrTextureDomain gDomain(gDummyRect, kIgnore_Mode); + return gDomain; + } + /** * @param index Pass a value >= 0 if using multiple texture domains in the same effect. * It is used to keep inserted variables from causing name collisions. |