Home
last modified time | relevance | path

Searched refs:idShader (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameImage2D.java146 ImageShader idShader = RenderTarget.currentTarget().getIdentityShader(); in gpuImageCopy() local
149 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()
DRenderTarget.java281 ImageShader idShader = mIdShaders.get(mContext); in getIdentityShader() local
282 if (idShader == null) { in getIdentityShader()
283 idShader = ImageShader.createIdentity(); in getIdentityShader()
284 mIdShaders.put(mContext, idShader); in getIdentityShader()
286 return idShader; in getIdentityShader()