Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: gm/texdata.cpp

Issue 869393007: Add standard way to indicate GM is GPU-only. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add include Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/rrects.cpp ('k') | gm/texturedomaineffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/texdata.cpp
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index dafd579e1f7f37eb4543464cf61547ce38e52829..46447583442057cf896c1af429cdf370b1967caf 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);
}
}
« no previous file with comments | « gm/rrects.cpp ('k') | gm/texturedomaineffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698