/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
D | glUtils.h | 66 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/ |
D | GLEncoder.cpp | 537 …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()
|
D | GLEncoder.h | 129 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
|
D | gl_entry.cpp | 76 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/ |
D | GL2Encoder.cpp | 565 …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()
|
D | gl2_entry.cpp | 50 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()
|
D | GL2Encoder.h | 94 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 396 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()
|