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

Unified Diff: include/gpu/GrProcessorUnitTest.h

Issue 1442763002: Fix GrCoverageSetOpXP unit test on mixed samples (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 | src/gpu/effects/GrCoverageSetOpXP.cpp » ('j') | src/gpu/effects/GrCoverageSetOpXP.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrProcessorUnitTest.h
diff --git a/include/gpu/GrProcessorUnitTest.h b/include/gpu/GrProcessorUnitTest.h
index 8f4e84e161c155d359ecb2ce2d0da10f69b23d0d..bb16d69fd519076f9fa6fa063f15985b0b8e7932 100644
--- a/include/gpu/GrProcessorUnitTest.h
+++ b/include/gpu/GrProcessorUnitTest.h
@@ -15,6 +15,7 @@
class SkMatrix;
class GrCaps;
class GrContext;
+class GrRenderTarget;
struct GrProcessorTestData;
namespace GrProcessorUnitTest {
@@ -42,16 +43,19 @@ struct GrProcessorTestData {
GrProcessorTestData(SkRandom* random,
GrContext* context,
const GrCaps* caps,
+ const GrRenderTarget* rt,
GrTexture* textures[2])
: fRandom(random)
, fContext(context)
- , fCaps(caps) {
+ , fCaps(caps)
+ , fRenderTarget(rt) {
fTextures[0] = textures[0];
fTextures[1] = textures[1];
}
SkRandom* fRandom;
GrContext* fContext;
const GrCaps* fCaps;
+ const GrRenderTarget* fRenderTarget;
GrTexture* fTextures[2];
};
« no previous file with comments | « no previous file | src/gpu/effects/GrCoverageSetOpXP.cpp » ('j') | src/gpu/effects/GrCoverageSetOpXP.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698