/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | glUtils.h | 82 template <class T> void minmax(const T *indices, int count, int *min, int *max) { in minmax() argument 85 const T *ptr = indices; in minmax() 94 (const T *indices, int count, int *min, int *max, in minmaxExcept() argument 97 if (!shouldExclude) return minmax(indices, count, min, max); in minmaxExcept() 101 const T *ptr = indices; in minmaxExcept() 111 template <class T> void shiftIndices(T *indices, int count, int offset) { in shiftIndices() argument 112 T *ptr = indices; in shiftIndices() 130 (T *indices, int count, int offset, in shiftIndicesExcept() argument 133 if (!shouldExclude) return shiftIndices(indices, count, offset); in shiftIndicesExcept() 135 T *ptr = indices; in shiftIndicesExcept()
|
/device/generic/goldfish-opengl/system/GLESv1_enc/ |
D | GLEncoder.cpp | 540 …Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices) in s_glDrawElements() argument 575 ctx->glDrawElementsOffset(ctx, mode, count, type, (uintptr_t)indices); in s_glDrawElements() 581 indices = &buf->m_fixedBuffer[(GLintptr)indices]; in s_glDrawElements() 585 void *adjustedIndices = (void*)indices; in s_glDrawElements() 591 GLUtils::minmax<unsigned char>((unsigned char *)indices, count, &minIndex, &maxIndex); in s_glDrawElements() 595 GLUtils::shiftIndices<unsigned char>((unsigned char *)indices, in s_glDrawElements() 602 GLUtils::minmax<unsigned short>((unsigned short *)indices, count, &minIndex, &maxIndex); in s_glDrawElements() 606 GLUtils::shiftIndices<unsigned short>((unsigned short *)indices, in s_glDrawElements() 613 GLUtils::minmax<unsigned int>((unsigned int *)indices, count, &minIndex, &maxIndex); in s_glDrawElements() 617 GLUtils::shiftIndices<unsigned int>((unsigned int *)indices, in s_glDrawElements()
|
D | gl_entry.cpp | 75 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); 269 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun… 271 …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()
|
D | GLEncoder.h | 141 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeRotatingCameraDevice.cpp | 136 const GLushort indices[] = { 0, 1, 2, 0, 2, 3 }; in render() local 141 int nelem = sizeof(indices)/sizeof(indices[0]); in render() 143 glDrawElements(GL_TRIANGLES, nelem, GL_UNSIGNED_SHORT, indices); in render()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | GLESv3.cpp | 211 static void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* indices, GLuint) { in glDrawElementsData() argument 212 s_gles3.glDrawElements(mode, count, type, indices); in glDrawElementsData() 325 const void* indices, GLsizei primcount, GLsizei) { in glDrawElementsInstancedDataAEMU() argument 326 s_gles3.glDrawElementsInstanced(mode, count, type, indices, primcount); in glDrawElementsInstancedDataAEMU() 336 GLenum type, const GLvoid* indices, GLsizei) { in glDrawRangeElementsDataAEMU() argument 337 s_gles3.glDrawRangeElements(mode, start, end, count, type, indices); in glDrawRangeElementsDataAEMU()
|
D | GLESv1.cpp | 255 static void glDrawElementsData(GLenum mode, GLsizei count, GLenum type, void* indices, GLuint) { in glDrawElementsData() argument 256 s_gles1.glDrawElements(mode, count, type, indices); in glDrawElementsData()
|
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/ |
D | gles2_extensions.entries | 18 void glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsiz…
|
D | gles3_only.entries | 9 …geElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 77 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei …
|
D | gles2_core.entries | 46 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
|
D | gles1_core.entries | 76 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
|
/device/generic/goldfish-opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 1085 void GL2Encoder::calcIndexRange(const void* indices, in calcIndexRange() argument 1094 (unsigned char *)indices, count, in calcIndexRange() 1101 (unsigned short *)indices, count, in calcIndexRange() 1108 (unsigned int *)indices, count, in calcIndexRange() 1344 …Encoder::s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices) in s_glDrawElements() argument 1377 offset = (GLintptr)indices; in s_glDrawElements() 1378 indices = &buf->m_fixedBuffer[offset]; in s_glDrawElements() 1380 indices, in s_glDrawElements() 1390 ctx->calcIndexRange(indices, in s_glDrawElements() 1412 ctx->recenterIndices(indices, in s_glDrawElements() [all …]
|
D | gl2_entry.cpp | 49 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); 168 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun… 273 …void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei… 274 …void glDrawElementsInstancedDataAEMU(GLenum mode, GLsizei count, GLenum type, const void* indices,… 276 …Elements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); 277 …ode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices, GLsizei datalen); 429 void glDrawElementsNullAEMU(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); 694 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) in glDrawElements() argument 697 ctx->glDrawElements(ctx, mode, count, type, indices); in glDrawElements() 1421 …EXT(GLenum mode, const GLsizei* count, GLenum type, const GLvoid* const* indices, GLsizei primcoun… in glMultiDrawElementsEXT() argument [all …]
|
D | GL2Encoder.h | 148 void calcIndexRange(const void* indices, 213 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices); 219 …s_glDrawElementsNullAEMU(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices); 580 …stanced(void* self, GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcoun… 583 …oid* self, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void* indices);
|
D | gl2_enc.cpp | 6682 …MU_enc(void *self , GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcoun… in glDrawElementsInstancedDataAEMU_enc() argument 6705 memcpy(ptr, indices, __size_indices);ptr += __size_indices; in glDrawElementsInstancedDataAEMU_enc() 6743 …mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices, GLsizei datalen) in glDrawRangeElementsDataAEMU_enc() argument 6768 memcpy(ptr, indices, __size_indices);ptr += __size_indices; in glDrawRangeElementsDataAEMU_enc()
|
/device/generic/goldfish-opengl/system/include/GLES2/ |
D | gl2ext.h | 546 …NSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun… 550 …entsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun… 867 …SINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun… 870 …ementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun… 947 …PROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcoun… 950 …tsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcoun… 976 …_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); 980 …L void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); 1629 …TSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun… 1632 …lementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcoun…
|
D | gl2.h | 418 …ALL void GL_APIENTRY glDrawElements (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()
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/ |
D | gles3.in | 42 GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) 162 …EXT, GLenum mode, const GLsizei *count, GLenum type, const GLvoid*const* indices, GLsizei primcoun… 353 …ElementsInstanced, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcoun… 354 …InstancedDataAEMU, GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcoun… 359 …lements, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) 360 …ode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices, GLsizei datalen)
|
D | gles3.attrib | 618 len indices datalen 628 len indices datalen
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/ |
D | gles1.in | 68 GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) 269 …EXT, GLenum mode, const GLsizei *count, GLenum type, const GLvoid*const *indices, GLsizei primcoun… 271 …mentsSUN, GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcoun…
|
/device/generic/goldfish-opengl/system/include/GLES3/ |
D | gl3.h | 418 …ALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); 830 …eElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 898 …wElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instance…
|
D | gl31.h | 418 …ALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); 830 …eElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); 898 …wElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instance…
|
/device/generic/goldfish-opengl/system/include/GLES/ |
D | gl.h | 663 …I void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
|
D | glext.h | 1062 …OC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const*indices, GLsizei primcoun…
|