Retract GrRenderTarget from GLProgramsTest
Split out of https://codereview.chromium.org/1988923002/ (Declassify GrClipMaskManager and Remove GrRenderTarget and GrDrawTarget from GrPipelineBuilder)
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1997773002
Review-Url: https://codereview.chromium.org/1997773002
diff --git a/include/gpu/GrProcessorUnitTest.h b/include/gpu/GrProcessorUnitTest.h
index 8442d7e..bc90204 100644
--- a/include/gpu/GrProcessorUnitTest.h
+++ b/include/gpu/GrProcessorUnitTest.h
@@ -15,7 +15,7 @@
class SkMatrix;
class GrCaps;
class GrContext;
-class GrRenderTarget;
+class GrDrawContext;
struct GrProcessorTestData;
namespace GrProcessorUnitTest {
@@ -43,19 +43,19 @@
GrProcessorTestData(SkRandom* random,
GrContext* context,
const GrCaps* caps,
- const GrRenderTarget* rt,
+ const GrDrawContext* drawContext,
GrTexture* textures[2])
: fRandom(random)
, fContext(context)
, fCaps(caps)
- , fRenderTarget(rt) {
+ , fDrawContext(drawContext) {
fTextures[0] = textures[0];
fTextures[1] = textures[1];
}
SkRandom* fRandom;
GrContext* fContext;
const GrCaps* fCaps;
- const GrRenderTarget* fRenderTarget;
+ const GrDrawContext* fDrawContext;
GrTexture* fTextures[2];
};