Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.cpp56 const float texY = 1.0f / static_cast<float>(texture.height()); in getTextureCoordinates() local
57 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0); in getTextureCoordinates()
78 const float texY = 1.0f / float(texture.height()); in updateMeshFromRegion() local
86 const float v1 = (viewportHeight - r->top) * texY; in updateMeshFromRegion()
88 const float v2 = (viewportHeight - r->bottom) * texY; in updateMeshFromRegion()