Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DglUtils.h66 template <class T> void minmax(T *indices, int count, int *min, int *max) { in minmax() argument
69 T *ptr = indices; in minmax()
77 template <class T> void shiftIndices(T *indices, int count, int offset) { in shiftIndices() argument
78 T *ptr = indices; in shiftIndices()
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp537 …Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices) in s_glDrawElements() argument
572 ctx->glDrawElementsOffset(ctx, mode, count, type, (uintptr_t)indices); in s_glDrawElements()
577 indices = (void*)((GLintptr)buf->m_fixedBuffer.ptr() + (GLintptr)indices); in s_glDrawElements()
581 void *adjustedIndices = (void*)indices; in s_glDrawElements()
587 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
590 GLUtils::shiftIndices<unsigned char>((unsigned char *)indices, in s_glDrawElements()
597 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
600 GLUtils::shiftIndices<unsigned short>((unsigned short *)indices, in s_glDrawElements()
607 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
610 GLUtils::shiftIndices<unsigned int>((unsigned int *)indices, in s_glDrawElements()
DGLEncoder.h129 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
Dgl_entry.cpp76 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
270 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun…
272 …void glMultiDrawElementsSUN(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices
713 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) in glDrawElements() argument
716 ctx->glDrawElements(ctx, mode, count, type, indices); in glDrawElements()
1885 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun… in glMultiDrawElementsEXT() argument
1888 ctx->glMultiDrawElementsEXT(ctx, mode, count, type, indices, primcount); in glMultiDrawElementsEXT()
1897 void glMultiDrawElementsSUN(GLenum mode, const GLsizei* count, GLenum type, const GLvoid** indices,… in glMultiDrawElementsSUN() argument
1900 ctx->glMultiDrawElementsSUN(ctx, mode, count, type, indices, primcount); in glMultiDrawElementsSUN()
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp565 …Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices) in s_glDrawElements() argument
602 ctx->glDrawElementsOffset(ctx, mode, count, type, (uintptr_t)indices); in s_glDrawElements()
607 indices = (void*)((GLintptr)buf->m_fixedBuffer.ptr() + (GLintptr)indices); in s_glDrawElements()
611 void *adjustedIndices = (void*)indices; in s_glDrawElements()
617 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
620 GLUtils::shiftIndices<unsigned char>((unsigned char *)indices, in s_glDrawElements()
627 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
630 GLUtils::shiftIndices<unsigned short>((unsigned short *)indices, in s_glDrawElements()
637 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements()
640 GLUtils::shiftIndices<unsigned int>((unsigned int *)indices, in s_glDrawElements()
Dgl2_entry.cpp50 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
169 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun…
476 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) in glDrawElements() argument
479 ctx->glDrawElements(ctx, mode, count, type, indices); in glDrawElements()
1196 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun… in glMultiDrawElementsEXT() argument
1199 ctx->glMultiDrawElementsEXT(ctx, mode, count, type, indices, primcount); in glMultiDrawElementsEXT()
DGL2Encoder.h94 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp396 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) in glDrawElements() argument
398 getDispatch()->glDrawElements(mode, count, type, indices); in glDrawElements()
1261 void glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices,… in glMultiDrawElementsEXT() argument
1263 getDispatch()->glMultiDrawElementsEXT(mode, count, type, indices, primcount); in glMultiDrawElementsEXT()