diff options
author | 2015-11-13 11:57:27 -0800 | |
---|---|---|
committer | 2015-11-13 11:57:27 -0800 | |
commit | 57d3b039c635945e1dc2fcbac3462ed8bfedb068 (patch) | |
tree | 1b119d77bc2f5dbb58587484f73f9ecbc4794039 /src/gpu/gl/builders | |
parent | 04d52f3a92bb3d72e035a7c002926953edb0b505 (diff) |
Rename some processor functions from GL to GLSL
TBR=bsalomon@google.com
BUG=skia:
Review URL: https://codereview.chromium.org/1443743002
Diffstat (limited to 'src/gpu/gl/builders')
-rw-r--r-- | src/gpu/gl/builders/GrGLProgramBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp index f5108c26af..9f28e3fac3 100644 --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp @@ -254,7 +254,7 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrFragmentProcessor& fp, const char* inColor) { GrGLInstalledFragProc* ifp = new GrGLInstalledFragProc; - ifp->fGLProc.reset(fp.createGLInstance()); + ifp->fGLProc.reset(fp.createGLSLInstance()); SkSTArray<4, GrGLSLTextureSampler> samplers(fp.numTextures()); this->emitSamplers(fp, &samplers, ifp); @@ -279,7 +279,7 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrPrimitiveProcessor& gp, SkASSERT(!fGeometryProcessor); fGeometryProcessor = new GrGLInstalledGeoProc; - fGeometryProcessor->fGLProc.reset(gp.createGLInstance(*fGpu->glCaps().glslCaps())); + fGeometryProcessor->fGLProc.reset(gp.createGLSLInstance(*fGpu->glCaps().glslCaps())); SkSTArray<4, GrGLSLTextureSampler> samplers(gp.numTextures()); this->emitSamplers(gp, &samplers, fGeometryProcessor); @@ -302,7 +302,7 @@ void GrGLProgramBuilder::emitAndInstallXferProc(const GrXferProcessor& xp, SkASSERT(!fXferProcessor); fXferProcessor = new GrGLInstalledXferProc; - fXferProcessor->fGLProc.reset(xp.createGLInstance()); + fXferProcessor->fGLProc.reset(xp.createGLSLInstance()); // Enable dual source secondary output if we have one if (xp.hasSecondaryOutput()) { |