Home
last modified time | relevance | path

Searched refs:textureMatrix (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp80 SkMatrix textureMatrix; in DrawLayer() local
81 if (!textureMatrixInv.invert(&textureMatrix)) { in DrawLayer()
82 textureMatrix = textureMatrixInv; in DrawLayer()
85 SkMatrix matrix = SkMatrix::Concat(layerTransform, textureMatrix); in DrawLayer()
DSkiaOpenGLReadback.cpp103 SkMatrix textureMatrix; in copyImageInto() local
104 if (!textureMatrixInv.invert(&textureMatrix)) { in copyImageInto()
105 textureMatrix = textureMatrixInv; in copyImageInto()
124 scaledSurface->getCanvas()->concat(textureMatrix); in copyImageInto()
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp210 float textureMatrix[16]; in onDraw() local
212 mConsumer->getTransformMatrix(textureMatrix); in onDraw()
238 const mat4 texTransform(mat4(static_cast<const float*>(textureMatrix)) * tr); in onDraw()
239 memcpy(textureMatrix, texTransform.asArray(), sizeof(textureMatrix)); in onDraw()
246 mTexture.setMatrix(textureMatrix); in onDraw()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java667 private void drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) { in drawTextureRect() argument
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0); in drawTextureRect()