Lines Matching refs:GL_TRIANGLES
332 ctx.glDrawArrays(GL_TRIANGLES, 0, -1); in draw_arrays_incomplete_primitive()
340 ctx.glDrawArrays(GL_TRIANGLES, 0, 1); in draw_arrays_incomplete_primitive()
469 ctx.glDrawElements(GL_TRIANGLES, 1, -1, vertices); in draw_elements_incomplete_primitive()
471 ctx.glDrawElements(GL_TRIANGLES, 1, GL_FLOAT, vertices); in draw_elements_incomplete_primitive()
476 ctx.glDrawElements(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
484 ctx.glDrawElements(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
505 ctx.glBeginTransformFeedback (GL_TRIANGLES); in draw_elements_incomplete_primitive()
508 ctx.glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
512 ctx.glDrawElements (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices); in draw_elements_incomplete_primitive()
602 ctx.glDrawArraysInstanced(GL_TRIANGLES, 0, -1, 1); in draw_arrays_instanced_incomplete_primitive()
604 ctx.glDrawArraysInstanced(GL_TRIANGLES, 0, 1, -1); in draw_arrays_instanced_incomplete_primitive()
612 ctx.glDrawArraysInstanced(GL_TRIANGLES, 0, 1, 1); in draw_arrays_instanced_incomplete_primitive()
751 ctx.glDrawElementsInstanced(GL_TRIANGLES, 1, -1, vertices, 1); in draw_elements_instanced_incomplete_primitive()
753 ctx.glDrawElementsInstanced(GL_TRIANGLES, 1, GL_FLOAT, vertices, 1); in draw_elements_instanced_incomplete_primitive()
758 ctx.glDrawElementsInstanced(GL_TRIANGLES, -1, GL_UNSIGNED_BYTE, vertices, 1); in draw_elements_instanced_incomplete_primitive()
760 ctx.glDrawElementsInstanced(GL_TRIANGLES, 11, GL_UNSIGNED_BYTE, vertices, -1); in draw_elements_instanced_incomplete_primitive()
768 ctx.glDrawElementsInstanced(GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices, 1); in draw_elements_instanced_incomplete_primitive()
789 ctx.glBeginTransformFeedback (GL_TRIANGLES); in draw_elements_instanced_incomplete_primitive()
792 ctx.glDrawElementsInstanced (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices, 1); in draw_elements_instanced_incomplete_primitive()
796 ctx.glDrawElementsInstanced (GL_TRIANGLES, 1, GL_UNSIGNED_BYTE, vertices, 1); in draw_elements_instanced_incomplete_primitive()
939 ctx.glDrawRangeElements(GL_TRIANGLES, 0, 1, 1, -1, vertices); in draw_range_elements_incomplete_primitive()
941 ctx.glDrawRangeElements(GL_TRIANGLES, 0, 1, 1, GL_FLOAT, vertices); in draw_range_elements_incomplete_primitive()
946 ctx.glDrawRangeElements(GL_TRIANGLES, 0, 1, -1, GL_UNSIGNED_BYTE, vertices); in draw_range_elements_incomplete_primitive()
951 ctx.glDrawRangeElements(GL_TRIANGLES, 1, 0, 1, GL_UNSIGNED_BYTE, vertices); in draw_range_elements_incomplete_primitive()
959 ctx.glDrawRangeElements(GL_TRIANGLES, 0, 1, 1, GL_UNSIGNED_BYTE, vertices); in draw_range_elements_incomplete_primitive()
980 ctx.glBeginTransformFeedback (GL_TRIANGLES); in draw_range_elements_incomplete_primitive()
983 ctx.glDrawRangeElements (GL_TRIANGLES, 0, 1, 1, GL_UNSIGNED_BYTE, vertices); in draw_range_elements_incomplete_primitive()
987 ctx.glDrawRangeElements (GL_TRIANGLES, 0, 1, 1, GL_UNSIGNED_BYTE, vertices); in draw_range_elements_incomplete_primitive()