Lines Matching refs:srcTex
3246 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(dst->asTexture()); in can_blit_framebuffer_for_copy_surface() local
3252 if (srcTex && srcTex->target() != GR_GL_TEXTURE_2D) { in can_blit_framebuffer_for_copy_surface()
3333 const GrGLTexture* srcTex = static_cast<const GrGLTexture*>(src->asTexture()); in can_copy_texsubimage() local
3338 (!srcTex || srcTex->target() == GR_GL_TEXTURE_2D) && dstTex->target() == GR_GL_TEXTURE_2D && in can_copy_texsubimage()
3431 bool GrGLGpu::createCopyProgram(GrTexture* srcTex) { in createCopyProgram() argument
3434 int progIdx = TextureToCopyProgramIdx(srcTex); in createCopyProgram()
3436 GrSLType samplerType = srcTex->texturePriv().samplerType(); in createCopyProgram()
3827 GrGLTexture* srcTex = static_cast<GrGLTexture*>(src->asTexture()); in copySurfaceAsDraw() local
3828 int progIdx = TextureToCopyProgramIdx(srcTex); in copySurfaceAsDraw()
3831 if (!this->createCopyProgram(srcTex)) { in copySurfaceAsDraw()
3841 this->bindTexture(0, params, true, srcTex); in copySurfaceAsDraw()