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

Unified Diff: tests/GLProgramsTest.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 | « src/gpu/GrTest.cpp ('k') | tests/TessellatingPathRendererTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/GLProgramsTest.cpp
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index ce247df59cd03cbde666f40da45d161e344337f6..47a88fcbb5786c19e6ad2f7ee8ea2d20f6b8f02e 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -357,7 +357,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) {
set_random_stencil(&pipelineBuilder, &random);
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
tt.target()->drawBatch(pipelineBuilder, batch);
}
@@ -391,7 +391,7 @@ bool GrDrawingManager::ProgramUnitTest(GrContext* context, int maxStages) {
builder.addColorFragmentProcessor(blockFP);
GrTestTarget tt;
- context->getTestTarget(&tt);
+ context->getTestTarget(&tt, rt);
tt.target()->drawBatch(builder, batch);
drawingManager->flush();
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | tests/TessellatingPathRendererTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698