Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DGlopBuilder.cpp57 static void setUnitQuadTextureCoords(Rect uvs, TextureVertex* quadVertex) { in setUnitQuadTextureCoords() argument
58 quadVertex[0] = {0, 0, uvs.left, uvs.top}; in setUnitQuadTextureCoords()
59 quadVertex[1] = {1, 0, uvs.right, uvs.top}; in setUnitQuadTextureCoords()
60 quadVertex[2] = {0, 1, uvs.left, uvs.bottom}; in setUnitQuadTextureCoords()
61 quadVertex[3] = {1, 1, uvs.right, uvs.bottom}; in setUnitQuadTextureCoords()
123 GlopBuilder& GlopBuilder::setMeshTexturedUvQuad(const UvMapper* uvMapper, Rect uvs) { in setMeshTexturedUvQuad() argument
127 uvMapper->map(uvs); in setMeshTexturedUvQuad()
129 setUnitQuadTextureCoords(uvs, &mOutGlop->mesh.mappedVertices[0]); in setMeshTexturedUvQuad()
DGlopBuilder.h57 GlopBuilder& setMeshTexturedUvQuad(const UvMapper* uvMapper, const Rect uvs);