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

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

Completed in 4 milliseconds