| Index: src/gpu/gl/GrGLProgram.cpp
|
| diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp
|
| index 7a6c5974d8a5393c5b0049aed40b7dbba4043529..589b963a8b93870af4895e52d1a0bf3a074818c9 100644
|
| --- a/src/gpu/gl/GrGLProgram.cpp
|
| +++ b/src/gpu/gl/GrGLProgram.cpp
|
| @@ -155,43 +155,3 @@ void GrGLProgram::onSetRenderTargetState(const GrPrimitiveProcessor&,
|
| }
|
| }
|
|
|
| -/////////////////////////////////////////////////////////////////////////////////////////
|
| -
|
| -GrGLNvprProgram::GrGLNvprProgram(GrGLGpu* gpu,
|
| - const GrProgramDesc& desc,
|
| - const BuiltinUniformHandles& builtinUniforms,
|
| - GrGLuint programID,
|
| - const UniformInfoArray& uniforms,
|
| - GrGLInstalledGeoProc* primProc,
|
| - GrGLInstalledXferProc* xferProcessor,
|
| - GrGLInstalledFragProcs* fragmentProcessors,
|
| - SkTArray<UniformHandle>* passSamplerUniforms)
|
| - : INHERITED(gpu, desc, builtinUniforms, programID, uniforms, primProc,
|
| - xferProcessor, fragmentProcessors, passSamplerUniforms) {
|
| -}
|
| -void GrGLNvprProgram::didSetData() {
|
| - GrGLPathProcessor* pathProc =
|
| - static_cast<GrGLPathProcessor*>(fGeometryProcessor.get()->fGLProc.get());
|
| - pathProc->didSetData(fGpu->glPathRendering());
|
| -}
|
| -
|
| -void GrGLNvprProgram::setTransformData(const GrPrimitiveProcessor& primProc,
|
| - const GrPendingFragmentStage& proc,
|
| - int index,
|
| - GrGLInstalledFragProc* ip) {
|
| - GrGLPathProcessor* pathProc =
|
| - static_cast<GrGLPathProcessor*>(fGeometryProcessor.get()->fGLProc.get());
|
| - pathProc->setTransformData(primProc, index, proc.processor()->coordTransforms(),
|
| - fGpu->glPathRendering(), fProgramID);
|
| -}
|
| -
|
| -void GrGLNvprProgram::onSetRenderTargetState(const GrPrimitiveProcessor& primProc,
|
| - const GrPipeline& pipeline) {
|
| - SkASSERT(!primProc.willUseGeoShader() && primProc.numAttribs() == 0);
|
| - const GrRenderTarget* rt = pipeline.getRenderTarget();
|
| - SkISize size;
|
| - size.set(rt->width(), rt->height());
|
| - const GrPathProcessor& pathProc = primProc.cast<GrPathProcessor>();
|
| - fGpu->glPathRendering()->setProjectionMatrix(pathProc.viewMatrix(),
|
| - size, rt->origin());
|
| -}
|
|
|