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

/frameworks/base/libs/hwui/
H A DFontRenderer.cpp280 uint32_t numIndices = mMaxNumberOfQuads * 6; local
281 uint32_t indexBufferSizeBytes = numIndices * sizeof(uint16_t);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp1373 nMeshGetIndices(JNIEnv *_env, jobject _this, RsContext con, jint mesh, jintArray _idxIds, jintArray _primitives, int numIndices) argument
1377 RsAllocation *allocs = (RsAllocation*)malloc((uint32_t)numIndices * sizeof(RsAllocation));
1378 uint32_t *prims= (uint32_t*)malloc((uint32_t)numIndices * sizeof(uint32_t));
1380 rsaMeshGetIndices(con, (RsMesh)mesh, allocs, prims, (uint32_t)numIndices);
1382 for(jint i = 0; i < numIndices; i ++) {

Completed in 715 milliseconds