commit | b62da80cbf6643c1944d3ebf8df233f286bd3fde | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Sat Jan 31 07:51:14 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Sat Jan 31 07:51:14 2015 -0800 |
tree | 5e2db72b1dd92cb067ab99d899fcfd7c559d0bcf | |
parent | 6bfef2dfec3253efa48aec0b5ea108e0dc041d15 [diff] [blame] |
Add standard way to indicate GM is GPU-only. TBR=egdaniel@google.com,mtklein@google.com Review URL: https://codereview.chromium.org/869393007
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp index 1a2c9c9..fb0c67d 100644 --- a/gm/yuvtorgbeffect.cpp +++ b/gm/yuvtorgbeffect.cpp
@@ -66,6 +66,7 @@ } GrContext* context = rt->getContext(); if (NULL == context) { + this->drawGpuOnlyMessage(canvas); return; }