From 29bee0fe657fabf7c396502b69c9167fba13eaaa Mon Sep 17 00:00:00 2001 From: egdaniel Date: Wed, 29 Apr 2015 11:54:42 -0700 Subject: Make XPFragmentBuilder only Builder with access to DstCopy. Plus a bunch of renaming. BUG=skia: Review URL: https://codereview.chromium.org/1110033004 --- gm/dcshader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gm') diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp index ead779db4e..8120ff836a 100644 --- a/gm/dcshader.cpp +++ b/gm/dcshader.cpp @@ -71,7 +71,7 @@ public: const char* inputColor, const TransformedCoordsArray& coords, const TextureSamplerArray& samplers) { - GrGLFPFragmentBuilder* fpb = builder->getFragmentShaderBuilder(); + GrGLFragmentBuilder* fpb = builder->getFragmentShaderBuilder(); fpb->codeAppendf("vec2 c = %s;", fpb->ensureFSCoords2D(coords, 0).c_str()); fpb->codeAppend("vec2 r = mod(c, vec2(20.0));"); fpb->codeAppend("vec4 color = vec4(0.5*sin(c.x / 15.0) + 0.5," -- cgit v1.2.3