Searched refs:regionIndices (Results 1 - 1 of 1) sorted by last modified time

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

Completed in 47 milliseconds