Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DCaches.cpp410 uint16_t* regionIndices = new uint16_t[gMaxNumberOfQuads * 6]; in bindQuadIndicesBuffer() local
414 regionIndices[index ] = quad; // top-left in bindQuadIndicesBuffer()
415 regionIndices[index + 1] = quad + 1; // top-right in bindQuadIndicesBuffer()
416 regionIndices[index + 2] = quad + 2; // bottom-left in bindQuadIndicesBuffer()
417 regionIndices[index + 3] = quad + 2; // bottom-left in bindQuadIndicesBuffer()
418 regionIndices[index + 4] = quad + 1; // top-right in bindQuadIndicesBuffer()
419 regionIndices[index + 5] = quad + 3; // bottom-right in bindQuadIndicesBuffer()
425 regionIndices, GL_STATIC_DRAW); in bindQuadIndicesBuffer()
427 delete[] regionIndices; in bindQuadIndicesBuffer()