Home
last modified time | relevance | path

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

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