Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.h82 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/
DGLEncoder.cpp540 …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()
Dgl_entry.cpp75 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()
DGLEncoder.h141 …ic void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indices);
/device/generic/goldfish/camera/
DEmulatedFakeRotatingCameraDevice.cpp136 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/
DGLESv3.cpp211 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()
DGLESv1.cpp255 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/
Dgles2_extensions.entries18 void glDrawElementsInstancedEXT(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsiz…
Dgles3_only.entries9 …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 …
Dgles2_core.entries46 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
Dgles1_core.entries76 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
/device/generic/goldfish-opengl/system/GLESv2_enc/
DGL2Encoder.cpp1085 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 …]
Dgl2_entry.cpp49 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 …]
DGL2Encoder.h148 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);
Dgl2_enc.cpp6682 …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/
Dgl2ext.h546 …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…
Dgl2.h418 …ALL void GL_APIENTRY glDrawElements (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()
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/
Dgles3.in42 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)
Dgles3.attrib618 len indices datalen
628 len indices datalen
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/
Dgles1.in68 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/
Dgl3.h418 …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…
Dgl31.h418 …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/
Dgl.h663 …I void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
Dglext.h1062 …OC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const*indices, GLsizei primcoun…