Index: gm/texturedomaineffect.cpp |
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp |
index 9ea45e13f41820899739fc0edef46efcefa182f2..7b74cec7b5b5e90d0e58d534fb095916e08f4268 100644 |
--- a/gm/texturedomaineffect.cpp |
+++ b/gm/texturedomaineffect.cpp |
@@ -130,11 +130,12 @@ protected: |
} |
SkMatrix viewMatrix; |
viewMatrix.setTranslate(x, y); |
- GrDrawState drawState; |
- drawState.setRenderTarget(rt); |
- drawState.addColorProcessor(fp); |
+ GrPipelineBuilder pipelineBuilder; |
+ pipelineBuilder.setRenderTarget(rt); |
+ pipelineBuilder.addColorProcessor(fp); |
- tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, viewMatrix, renderRect); |
+ tt.target()->drawSimpleRect(&pipelineBuilder, GrColor_WHITE, viewMatrix, |
+ renderRect); |
x += renderRect.width() + kTestPad; |
} |
y += renderRect.height() + kTestPad; |