Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Ddraw.h117 GLsizei primcount);
122 GLsizei primcount);
132 GLsizei primcount, GLsizei stride);
137 GLsizei primcount, GLsizei stride);
156 GLsizei primcount);
196 const GLsizei *count, GLsizei primcount);
201 const GLvoid *const *indices, GLsizei primcount);
207 const GLvoid * const * indices, GLsizei primcount,
214 GLsizei primcount, GLint modestride);
220 GLsizei primcount, GLint modestride);
Ddraw_validate.h48 _mesa_valid_draw_indirect_multi(struct gl_context *ctx, GLsizei primcount,
56 const GLsizei *count, GLsizei primcount);
67 GLsizei primcount);
78 GLsizei count, GLsizei primcount);
83 const GLvoid *indices, GLsizei primcount);
107 GLsizei primcount,
115 GLsizei primcount,
Ddraw.c670 #define ALLOC_PRIMS(prim, primcount, func) do { \ argument
671 if (unlikely(primcount > MAX_ALLOCA_PRIMS)) { \
672 prim = calloc(primcount, sizeof(*prim)); \
678 prim = alloca(primcount * sizeof(*prim)); \
682 #define FREE_PRIMS(prim, primcount) do { \ argument
683 if (primcount > MAX_ALLOCA_PRIMS) \
693 const GLsizei *count, GLsizei primcount) in _mesa_exec_MultiDrawArrays() argument
701 _mesa_enum_to_string(mode), first, count, primcount); in _mesa_exec_MultiDrawArrays()
711 if (!_mesa_validate_MultiDrawArrays(ctx, mode, count, primcount)) in _mesa_exec_MultiDrawArrays()
720 ALLOC_PRIMS(prim, primcount, "glMultiDrawElements"); in _mesa_exec_MultiDrawArrays()
[all …]
Ddraw_validate.c733 GLsizei primcount) in _mesa_validate_MultiDrawElements() argument
751 if (primcount < 0) { in _mesa_validate_MultiDrawElements()
753 "glMultiDrawElements(primcount=%d)", primcount); in _mesa_validate_MultiDrawElements()
757 for (i = 0; i < primcount; i++) { in _mesa_validate_MultiDrawElements()
778 for (i = 0; i < primcount; i++) { in _mesa_validate_MultiDrawElements()
982 const GLsizei *count, GLsizei primcount) in _mesa_validate_MultiDrawArrays() argument
992 if (primcount < 0) { in _mesa_validate_MultiDrawArrays()
994 primcount); in _mesa_validate_MultiDrawArrays()
998 for (i = 0; i < primcount; ++i) { in _mesa_validate_MultiDrawArrays()
1011 for (i = 0; i < primcount; ++i) in _mesa_validate_MultiDrawArrays()
[all …]
/external/angle/src/libANGLE/
DTransformFeedback.cpp25 GLsizei primcount) in GetVerticesNeededForDraw() argument
27 if (count < 0 || primcount < 0) in GetVerticesNeededForDraw()
34 angle::CheckedNumeric<GLsizeiptr> checkedPrimcount = primcount; in GetVerticesNeededForDraw()
205 bool TransformFeedback::checkBufferSpaceForDraw(GLsizei count, GLsizei primcount) const in checkBufferSpaceForDraw()
208 mState.mVerticesDrawn + GetVerticesNeededForDraw(mState.mPrimitiveMode, count, primcount); in checkBufferSpaceForDraw()
212 void TransformFeedback::onVerticesDrawn(const Context *context, GLsizei count, GLsizei primcount) in onVerticesDrawn() argument
217 (mState.mVerticesDrawn + GetVerticesNeededForDraw(mState.mPrimitiveMode, count, primcount)) in onVerticesDrawn()
DvalidationES.h361 GLsizei primcount);
366 GLsizei primcount);
371 GLsizei primcount);
378 GLsizei primcount);
384 GLsizei primcount);
390 GLsizei primcount);
804 ANGLE_INLINE bool ValidateDrawInstancedAttribs(const Context *context, GLint primcount) in ValidateDrawInstancedAttribs() argument
811 if ((primcount - 1) > context->getStateCache().getInstancedVertexElementLimit()) in ValidateDrawInstancedAttribs()
824 GLsizei primcount) in ValidateDrawArraysCommon() argument
853 if (!curTransformFeedback->checkBufferSpaceForDraw(count, primcount)) in ValidateDrawArraysCommon()
[all …]
DTransformFeedback.h81 bool checkBufferSpaceForDraw(GLsizei count, GLsizei primcount) const;
86 void onVerticesDrawn(const Context *context, GLsizei count, GLsizei primcount);
DvalidationES.cpp670 GLsizei primcount) in ValidateDrawElementsInstancedBase() argument
672 if (primcount <= 0) in ValidateDrawElementsInstancedBase()
674 if (primcount < 0) in ValidateDrawElementsInstancedBase()
681 return ValidateDrawElementsCommon(context, mode, count, type, indices, primcount); in ValidateDrawElementsInstancedBase()
684 if (!ValidateDrawElementsCommon(context, mode, count, type, indices, primcount)) in ValidateDrawElementsInstancedBase()
695 return ValidateDrawInstancedAttribs(context, primcount); in ValidateDrawElementsInstancedBase()
702 GLsizei primcount) in ValidateDrawArraysInstancedBase() argument
704 if (primcount <= 0) in ValidateDrawArraysInstancedBase()
706 if (primcount < 0) in ValidateDrawArraysInstancedBase()
713 return ValidateDrawArraysCommon(context, mode, first, count, primcount); in ValidateDrawArraysInstancedBase()
[all …]
DvalidationESEXT_autogen.h122 GLsizei primcount);
128 GLsizei primcount);
815 GLsizei primcount,
830 GLsizei primcount);
836 GLsizei primcount);
Dcapture_gles_ext_autogen.h137 GLsizei primcount);
144 GLsizei primcount);
993 GLsizei primcount,
1010 GLsizei primcount);
1017 GLsizei primcount);
1953 GLsizei primcount,
3223 GLsizei primcount,
3232 GLsizei primcount,
3241 GLsizei primcount,
3250 GLsizei primcount,
/external/angle/extensions/
DANGLE_instanced_arrays.txt77 sizei primcount);
80 const void *indices, sizei primcount);
148 sizei primcount);
150 behaves identically to DrawArrays except that <primcount>
158 if (mode, count, or primcount is invalid)
161 for (i = 0; i < primcount; i++) {
215 const void *indices, sizei primcount);
217 behaves identically to DrawElements except that <primcount>
222 if (mode, count, primcount, or type is invalid )
225 for (int i = 0; i < primcount; i++) {
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_draw.c210 unsigned primcount; in get_vcount_from_stream_output() local
211 primcount = svga_get_primcount_from_stream_output(svga, stream); in get_vcount_from_stream_output()
212 return u_vertices_for_prims(info->mode, primcount); in get_vcount_from_stream_output()
Dsvga_pipe_streamout.c630 unsigned primcount = 0; in svga_get_primcount_from_stream_output() local
642 primcount = result.so_statistics.num_primitives_written; in svga_get_primcount_from_stream_output()
644 return primcount; in svga_get_primcount_from_stream_output()
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES2/
Dgl2ext.h1256 …L_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1257 …tsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1260 …YP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1261 …TANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1462 …RY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1463 …ntsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
1465 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1466 …TPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
1737 …d GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1738 …ntsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
[all …]
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTgles2Ext.h83 …S) (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); // glvoid
87 …Y * PFNGLMULTIDRAWARRAYS) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); // glvoid
/external/mesa3d/src/mesa/vbo/
Dvbo_save_api.c1344 const GLsizei *count, GLsizei primcount) in _save_OBE_MultiDrawArrays() argument
1354 if (primcount < 0) { in _save_OBE_MultiDrawArrays()
1360 for (i = 0; i < primcount; i++) { in _save_OBE_MultiDrawArrays()
1368 for (i = 0; i < primcount; i++) { in _save_OBE_MultiDrawArrays()
1510 const GLvoid * const *indices, GLsizei primcount) in _save_OBE_MultiDrawElements() argument
1516 for (i = 0; i < primcount; i++) { in _save_OBE_MultiDrawElements()
1528 GLsizei primcount, in _save_OBE_MultiDrawElementsBaseVertex() argument
1535 for (i = 0; i < primcount; i++) { in _save_OBE_MultiDrawElementsBaseVertex()
/external/swiftshader/include/GLES2/
Dgl2ext.h337 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
342 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
878 …YP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
879 …TANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
882 …L_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
883 …tsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1357 …TRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1358 …NSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1360 … GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1361 …entsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
[all …]
/external/mesa3d/include/GLES2/
Dgl2ext.h353 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
358 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
910 …YP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
911 …TANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
914 …L_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
915 …tsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1394 …TRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1395 …NSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1397 … GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1398 …entsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
[all …]
/external/angle/include/GLES2/
Dgl2ext.h353 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
358 …, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *ba…
910 …YP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
911 …TANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
914 …L_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
915 …tsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1401 …TRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1402 …NSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1404 … GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1405 …entsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
[all …]
/external/mesa3d/docs/relnotes/
D17.0.3.rst125 - mesa/main: fix MultiDrawElements[BaseVertex] validation of primcount
/external/angle/include/GLES/
Dglext.h648 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
649 …OC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
651 …RY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
652 …EXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
/external/mesa3d/src/glx/
Dindirect_vertex_array.c1075 const GLsizei *count, GLsizei primcount) in __indirect_glMultiDrawArrays() argument
1089 for (i = 0; i < primcount; i++) { in __indirect_glMultiDrawArrays()
1101 GLsizei primcount) in __indirect_glMultiDrawElementsEXT() argument
1115 for (i = 0; i < primcount; i++) { in __indirect_glMultiDrawElementsEXT()
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES/
Dglext.h1058 …RY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1059 …ntsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
1061 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1062 …TPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
/external/mesa3d/include/GLES/
Dglext.h659 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
660 …OC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
662 …RY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
663 …EXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
/external/swiftshader/include/GLES/
Dglext.h659 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
660 …OC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
662 …RY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
663 …EXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);

12