Searched refs:uvs (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | GlopBuilder.cpp | 54 static void setUnitQuadTextureCoords(Rect uvs, TextureVertex* quadVertex) { in setUnitQuadTextureCoords() argument 55 quadVertex[0] = {0, 0, uvs.left, uvs.top}; in setUnitQuadTextureCoords() 56 quadVertex[1] = {1, 0, uvs.right, uvs.top}; in setUnitQuadTextureCoords() 57 quadVertex[2] = {0, 1, uvs.left, uvs.bottom}; in setUnitQuadTextureCoords() 58 quadVertex[3] = {1, 1, uvs.right, uvs.bottom}; in setUnitQuadTextureCoords() 120 GlopBuilder& GlopBuilder::setMeshTexturedUvQuad(const UvMapper* uvMapper, Rect uvs) { in setMeshTexturedUvQuad() argument 124 uvMapper->map(uvs); in setMeshTexturedUvQuad() 126 setUnitQuadTextureCoords(uvs, &mOutGlop->mesh.mappedVertices[0]); in setMeshTexturedUvQuad()
|
D | GlopBuilder.h | 53 GlopBuilder& setMeshTexturedUvQuad(const UvMapper* uvMapper, const Rect uvs);
|