Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DCaches.cpp500 uint16_t* regionIndices = new uint16_t[REGION_MESH_QUAD_COUNT * 6]; in getRegionMesh() local
504 regionIndices[index ] = quad; // top-left in getRegionMesh()
505 regionIndices[index + 1] = quad + 1; // top-right in getRegionMesh()
506 regionIndices[index + 2] = quad + 2; // bottom-left in getRegionMesh()
507 regionIndices[index + 3] = quad + 2; // bottom-left in getRegionMesh()
508 regionIndices[index + 4] = quad + 1; // top-right in getRegionMesh()
509 regionIndices[index + 5] = quad + 3; // bottom-right in getRegionMesh()
515 regionIndices, GL_STATIC_DRAW); in getRegionMesh()
517 delete[] regionIndices; in getRegionMesh()