/external/mesa3d/src/mesa/main/ |
D | draw.h | 117 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);
|
D | draw_validate.h | 48 _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,
|
D | draw.c | 670 #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 …]
|
D | draw_validate.c | 733 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/ |
D | TransformFeedback.cpp | 25 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()
|
D | validationES.h | 361 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 …]
|
D | TransformFeedback.h | 81 bool checkBufferSpaceForDraw(GLsizei count, GLsizei primcount) const; 86 void onVerticesDrawn(const Context *context, GLsizei count, GLsizei primcount);
|
D | validationES.cpp | 670 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 …]
|
D | validationESEXT_autogen.h | 122 GLsizei primcount); 128 GLsizei primcount); 815 GLsizei primcount, 830 GLsizei primcount); 836 GLsizei primcount);
|
D | capture_gles_ext_autogen.h | 137 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/ |
D | ANGLE_instanced_arrays.txt | 77 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/ |
D | svga_pipe_draw.c | 210 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()
|
D | svga_pipe_streamout.c | 630 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/ |
D | gl2ext.h | 1256 …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/ |
D | PVRTgles2Ext.h | 83 …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/ |
D | vbo_save_api.c | 1344 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/ |
D | gl2ext.h | 337 …, 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/ |
D | gl2ext.h | 353 …, 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/ |
D | gl2ext.h | 353 …, 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/ |
D | 17.0.3.rst | 125 - mesa/main: fix MultiDrawElements[BaseVertex] validation of primcount
|
/external/angle/include/GLES/ |
D | glext.h | 648 …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/ |
D | indirect_vertex_array.c | 1075 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/ |
D | glext.h | 1058 …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/ |
D | glext.h | 659 …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/ |
D | glext.h | 659 …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);
|