Searched refs:idShader (Results 1 – 2 of 2) sorted by relevance
146 ImageShader idShader = RenderTarget.currentTarget().getIdentityShader(); in gpuImageCopy() local149 idShader.setSourceRect(srcRect); in gpuImageCopy()150 idShader.setTargetRect(dstRect); in gpuImageCopy()151 idShader.process(srcImage, dstImage); in gpuImageCopy()153 idShader.setSourceRect(0f, 0f, 1f, 1f); in gpuImageCopy()154 idShader.setTargetRect(0f, 0f, 1f, 1f); in gpuImageCopy()
281 ImageShader idShader = mIdShaders.get(mContext); in getIdentityShader() local282 if (idShader == null) { in getIdentityShader()283 idShader = ImageShader.createIdentity(); in getIdentityShader()284 mIdShaders.put(mContext, idShader); in getIdentityShader()286 return idShader; in getIdentityShader()