aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texdata.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-01-31 07:51:14 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-31 07:51:14 -0800
commitb62da80cbf6643c1944d3ebf8df233f286bd3fde (patch)
tree5e2db72b1dd92cb067ab99d899fcfd7c559d0bcf /gm/texdata.cpp
parent6bfef2dfec3253efa48aec0b5ea108e0dc041d15 (diff)
Add standard way to indicate GM is GPU-only.
TBR=egdaniel@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/869393007
Diffstat (limited to 'gm/texdata.cpp')
-rw-r--r--gm/texdata.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index dafd579e1f..4644758344 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -128,6 +128,8 @@ protected:
4 * stride);
ctx->drawRect(paint, vm, SkRect::MakeWH(2*S, 2*S));
}
+ } else {
+ this->drawGpuOnlyMessage(canvas);
}
}