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

/frameworks/base/libs/hwui/renderstate/
H A DMeshState.cpp39 uint16_t regionIndices[kMaxNumberOfQuads * 6]; local
43 regionIndices[index ] = quad; // top-left
44 regionIndices[index + 1] = quad + 1; // top-right
45 regionIndices[index + 2] = quad + 2; // bottom-left
46 regionIndices[index + 3] = quad + 2; // bottom-left
47 regionIndices[index + 4] = quad + 1; // top-right
48 regionIndices[index + 5] = quad + 3; // bottom-right
52 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(regionIndices), regionIndices, GL_STATIC_DRAW);

Completed in 1582 milliseconds