• Home
  • Raw
  • Download

Lines Matching +full:r +full:- +full:xp

4  * Use of this source code is governed by a BSD-style license that can be
23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
24 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X) argument
80 this->setRenderTargetState(renderTarget, origin, primProc); in updateUniformsAndTextureBindings()
87 // primProc, fragProcs, XP. in updateUniformsAndTextureBindings()
88 fPrimitiveProcessor->setData(fProgramDataManager, primProc, in updateUniformsAndTextureBindings()
91 this->updatePrimitiveProcessorTextureBindings(primProc, primProcTextures); in updateUniformsAndTextureBindings()
95 this->setFragmentData(pipeline, &nextTexSamplerIdx); in updateUniformsAndTextureBindings()
97 const GrXferProcessor& xp = pipeline.getXferProcessor(); in updateUniformsAndTextureBindings() local
101 fXferProcessor->setData(fProgramDataManager, xp, dstTexture, offset); in updateUniformsAndTextureBindings()
103 fGpu->bindTexture(nextTexSamplerIdx++, GrSamplerState::ClampNearest(), in updateUniformsAndTextureBindings()
112 auto* tex = static_cast<GrGLTexture*>(proxies[i]->peekTexture()); in updatePrimitiveProcessorTextureBindings()
113 fGpu->bindTexture(i, primProc.textureSampler(i).samplerState(), tex); in updatePrimitiveProcessorTextureBindings()
123 glslFP->setData(fProgramDataManager, *fp); in setFragmentData()
124 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setFragmentData()
125 const GrFragmentProcessor::TextureSampler& sampler = fp->textureSampler(i); in setFragmentData()
126 fGpu->bindTexture((*nextTexSamplerIdx)++, sampler.samplerState(), in setFragmentData()
139 fRenderTargetState.fRenderTargetSize.fWidth != rt->width()) { in setRenderTargetState()
140 fProgramDataManager.set1f(fBuiltinUniformHandles.fRTWidthUni, SkIntToScalar(rt->width())); in setRenderTargetState()
143 fRenderTargetState.fRenderTargetSize.fHeight != rt->height()) { in setRenderTargetState()
144 fProgramDataManager.set1f(fBuiltinUniformHandles.fRTHeightUni, SkIntToScalar(rt->height())); in setRenderTargetState()
149 size.set(rt->width(), rt->height()); in setRenderTargetState()
161 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in setRenderTargetState()
163 fGpu->glPathRendering()->setProjectionMatrix(pathProc.viewMatrix(), in setRenderTargetState()