Home
last modified time | relevance | path

Searched refs:primcount (Results 1 – 25 of 42) 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()
212 bool TransformFeedback::checkBufferSpaceForDraw(GLsizei count, GLsizei primcount) const in checkBufferSpaceForDraw()
215 mState.mVerticesDrawn + GetVerticesNeededForDraw(mState.mPrimitiveMode, count, primcount); in checkBufferSpaceForDraw()
219 void TransformFeedback::onVerticesDrawn(const Context *context, GLsizei count, GLsizei primcount) in onVerticesDrawn() argument
224 (mState.mVerticesDrawn + GetVerticesNeededForDraw(mState.mPrimitiveMode, count, primcount)) in onVerticesDrawn()
DvalidationES.h390 GLsizei primcount);
395 GLsizei primcount);
400 GLsizei primcount);
407 GLsizei primcount);
413 GLsizei primcount);
419 GLsizei primcount);
819 ANGLE_INLINE bool ValidateDrawInstancedAttribs(const Context *context, GLint primcount) in ValidateDrawInstancedAttribs() argument
826 if ((primcount - 1) > context->getStateCache().getInstancedVertexElementLimit()) in ValidateDrawInstancedAttribs()
839 GLsizei primcount) in ValidateDrawArraysCommon() argument
869 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.cpp785 GLsizei primcount) in ValidateDrawElementsInstancedBase() argument
787 if (primcount <= 0) in ValidateDrawElementsInstancedBase()
789 if (primcount < 0) in ValidateDrawElementsInstancedBase()
796 return ValidateDrawElementsCommon(context, mode, count, type, indices, primcount); in ValidateDrawElementsInstancedBase()
799 if (!ValidateDrawElementsCommon(context, mode, count, type, indices, primcount)) in ValidateDrawElementsInstancedBase()
810 return ValidateDrawInstancedAttribs(context, primcount); in ValidateDrawElementsInstancedBase()
817 GLsizei primcount) in ValidateDrawArraysInstancedBase() argument
819 if (primcount <= 0) in ValidateDrawArraysInstancedBase()
821 if (primcount < 0) in ValidateDrawArraysInstancedBase()
828 return ValidateDrawArraysCommon(context, mode, first, count, primcount); in ValidateDrawArraysInstancedBase()
[all …]
DvalidationESEXT_autogen.h134 GLsizei primcount);
140 GLsizei primcount);
908 GLsizei primcount,
937 GLsizei primcount);
943 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/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/mesa3d/docs/relnotes/
D17.0.3.rst125 - mesa/main: fix MultiDrawElements[BaseVertex] validation of 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/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/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/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/angle/include/GLES2/
Dgl2ext.h891 …YP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
892 …TANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
895 …L_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
896 …tsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1382 …TRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1383 …NSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1385 … GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1386 …entsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1570 …MULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1571 …OC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
[all …]
/external/angle/src/libGLESv2/
Dentry_points_gles_ext_autogen.h124 GLsizei primcount);
129 GLsizei primcount);
774 GLsizei primcount,
799 GLsizei primcount);
804 GLsizei primcount);
Dentry_points_gles_ext_autogen.cpp503 GLsizei primcount) in GL_DrawArraysInstancedANGLE() argument
508 GLenumToString(GLenumGroup::PrimitiveType, mode), first, count, primcount); in GL_DrawArraysInstancedANGLE()
516 ValidateDrawArraysInstancedANGLE(context, modePacked, first, count, primcount)); in GL_DrawArraysInstancedANGLE()
519 context->drawArraysInstanced(modePacked, first, count, primcount); in GL_DrawArraysInstancedANGLE()
522 primcount); in GL_DrawArraysInstancedANGLE()
534 GLsizei primcount) in GL_DrawElementsInstancedANGLE() argument
541 GLenumToString(GLenumGroup::PrimitiveType, type), (uintptr_t)indices, primcount); in GL_DrawElementsInstancedANGLE()
550 typePacked, indices, primcount)); in GL_DrawElementsInstancedANGLE()
553 context->drawElementsInstanced(modePacked, count, typePacked, indices, primcount); in GL_DrawElementsInstancedANGLE()
556 typePacked, indices, primcount); in GL_DrawElementsInstancedANGLE()
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.hpp262 void glDrawArraysInstanced (deUint32 mode, int first, int count, int primcount);
263 …lementsInstanced (deUint32 mode, int count, deUint32 type, const void* indices, int primcount);
/external/angle/src/libANGLE/capture/
Dcapture_gles_ext_autogen.h151 GLsizei primcount);
158 GLsizei primcount);
1098 GLsizei primcount,
1131 GLsizei primcount);
1138 GLsizei primcount);
2506 GLsizei primcount,
3792 GLsizei primcount,
3801 GLsizei primcount,
3810 GLsizei primcount,
3819 GLsizei primcount,

12