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

Unified Diff: gm/beziereffects.cpp

Issue 1447113002: Optionally pass rendertarget to getTestTarget (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month 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 | « no previous file | gm/bigrrectaaeffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/beziereffects.cpp
diff --git a/gm/beziereffects.cpp b/gm/beziereffects.cpp
index 531391999472358d29e00f2e86f49b76656f040b..58d7fef3d3c290a3698f72112cd089cfc6202195 100644
--- a/gm/beziereffects.cpp
+++ b/gm/beziereffects.cpp
@@ -157,7 +157,7 @@ protected:
SkAutoTUnref<GrGeometryProcessor> gp;
{ // scope to contain GrTestTarget
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
if (nullptr == tt.target()) {
continue;
}
@@ -217,7 +217,7 @@ protected:
canvas->drawRect(bounds, boundsPaint);
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
SkASSERT(tt.target());
GrPipelineBuilder pipelineBuilder;
@@ -305,7 +305,7 @@ protected:
SkAutoTUnref<GrGeometryProcessor> gp;
{ // scope to contain GrTestTarget
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
if (nullptr == tt.target()) {
continue;
}
@@ -362,7 +362,7 @@ protected:
canvas->drawRect(bounds, boundsPaint);
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
SkASSERT(tt.target());
GrPipelineBuilder pipelineBuilder;
@@ -546,7 +546,7 @@ protected:
SkAutoTUnref<GrGeometryProcessor> gp;
{ // scope to contain GrTestTarget
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
if (nullptr == tt.target()) {
continue;
}
@@ -600,7 +600,7 @@ protected:
canvas->drawRect(bounds, boundsPaint);
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
SkASSERT(tt.target());
GrPipelineBuilder pipelineBuilder;
« no previous file with comments | « no previous file | gm/bigrrectaaeffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698