Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/
H A DLayer.cpp104 SkMatrix textureMatrixInv; in draw() local
109 textureMatrixInv.preConcat(flipV); in draw()
110 textureMatrixInv.preScale(1.0f / layerWidth, 1.0f / layerHeight); in draw()
111 textureMatrixInv.postScale(layerImage->width(), layerImage->height()); in draw()
113 if (!textureMatrixInv.invert(&textureMatrix)) { in draw()
114 textureMatrix = textureMatrixInv; in draw()