Lines Matching refs:PrimitiveMode
24 constexpr angle::PackedEnumMap<PrimitiveMode, GLsizei> kMinimumPrimitiveCounts = {{
25 {PrimitiveMode::Points, 1},
26 {PrimitiveMode::Lines, 2},
27 {PrimitiveMode::LineLoop, 2},
28 {PrimitiveMode::LineStrip, 2},
29 {PrimitiveMode::Triangles, 3},
30 {PrimitiveMode::TriangleStrip, 3},
31 {PrimitiveMode::TriangleFan, 3},
32 {PrimitiveMode::LinesAdjacency, 2},
33 {PrimitiveMode::LineStripAdjacency, 2},
34 {PrimitiveMode::TrianglesAdjacency, 3},
35 {PrimitiveMode::TriangleStripAdjacency, 3},
67 ANGLE_INLINE bool Context::noopDraw(PrimitiveMode mode, GLsizei count) in noopDraw()
93 ANGLE_INLINE angle::Result Context::prepareForDraw(PrimitiveMode mode) in prepareForDraw()
106 ANGLE_INLINE void Context::drawArrays(PrimitiveMode mode, GLint first, GLsizei count) in drawArrays()
119 ANGLE_INLINE void Context::drawElements(PrimitiveMode mode, in drawElements()