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

Unified Diff: gm/texdata.cpp

Issue 27023004: Spin off incidental changes from DM CL (22839016). (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 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
« gm/gm_expectations.h ('K') | « gm/gm_expectations.cpp ('k') | no next file » | 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 8ba0c7741c8eab3b8e877ddca24a7804e851b837..645ced1e670586e40640a60341f358ed4ac77c29 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -35,6 +35,8 @@ protected:
return make_isize(2*S, 2*S);
}
+ virtual uint32_t onGetFlags() const SK_OVERRIDE { return kGPUOnly_Flag; }
+
virtual void onDraw(SkCanvas* canvas) {
SkBaseDevice* device = canvas->getTopDevice();
GrRenderTarget* target = device->accessRenderTarget();
« gm/gm_expectations.h ('K') | « gm/gm_expectations.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698