Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DLayerDrawable.cpp84 SkMatrix textureMatrixInv; in DrawLayer() local
85 textureMatrixInv = layer->getTexTransform(); in DrawLayer()
90 textureMatrixInv.preConcat(flipV); in DrawLayer()
91 textureMatrixInv.preScale(1.0f / layerWidth, 1.0f / layerHeight); in DrawLayer()
92 textureMatrixInv.postScale(layerImage->width(), layerImage->height()); in DrawLayer()
94 if (!textureMatrixInv.invert(&textureMatrix)) { in DrawLayer()
95 textureMatrix = textureMatrixInv; in DrawLayer()