/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Context.inl.h | 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}, [all …]
|
D | TransformFeedback.cpp | 23 angle::CheckedNumeric<GLsizeiptr> GetVerticesNeededForDraw(PrimitiveMode primitiveMode, in GetVerticesNeededForDraw() 37 case PrimitiveMode::Triangles: in GetVerticesNeededForDraw() 39 case PrimitiveMode::Lines: in GetVerticesNeededForDraw() 41 case PrimitiveMode::Points: in GetVerticesNeededForDraw() 52 mPrimitiveMode(PrimitiveMode::InvalidEnum), in TransformFeedbackState() 76 case gl::PrimitiveMode::Points: in getPrimitivesDrawn() 78 case gl::PrimitiveMode::Lines: in getPrimitivesDrawn() 80 case gl::PrimitiveMode::Triangles: in getPrimitivesDrawn() 127 PrimitiveMode primitiveMode, in begin() 162 mState.mPrimitiveMode = PrimitiveMode::InvalidEnum; in end() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Context.inl.h | 25 constexpr angle::PackedEnumMap<PrimitiveMode, GLsizei> kMinimumPrimitiveCounts = {{ 26 {PrimitiveMode::Points, 1}, 27 {PrimitiveMode::Lines, 2}, 28 {PrimitiveMode::LineLoop, 2}, 29 {PrimitiveMode::LineStrip, 2}, 30 {PrimitiveMode::Triangles, 3}, 31 {PrimitiveMode::TriangleStrip, 3}, 32 {PrimitiveMode::TriangleFan, 3}, 33 {PrimitiveMode::LinesAdjacency, 2}, 34 {PrimitiveMode::LineStripAdjacency, 2}, [all …]
|
D | TransformFeedback.cpp | 23 angle::CheckedNumeric<GLsizeiptr> GetVerticesNeededForDraw(PrimitiveMode primitiveMode, in GetVerticesNeededForDraw() 37 case PrimitiveMode::Triangles: in GetVerticesNeededForDraw() 39 case PrimitiveMode::Lines: in GetVerticesNeededForDraw() 41 case PrimitiveMode::Points: in GetVerticesNeededForDraw() 52 mPrimitiveMode(PrimitiveMode::InvalidEnum), in TransformFeedbackState() 76 case gl::PrimitiveMode::Points: in getPrimitivesDrawn() 78 case gl::PrimitiveMode::Lines: in getPrimitivesDrawn() 80 case gl::PrimitiveMode::Triangles: in getPrimitivesDrawn() 134 PrimitiveMode primitiveMode, in begin() 176 mState.mPrimitiveMode = PrimitiveMode::InvalidEnum; in end() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Context11.h | 80 gl::PrimitiveMode mode, 84 gl::PrimitiveMode mode, 89 gl::PrimitiveMode mode, 96 gl::PrimitiveMode mode, 101 gl::PrimitiveMode mode, 107 gl::PrimitiveMode mode, 113 gl::PrimitiveMode mode, 120 gl::PrimitiveMode mode, 128 gl::PrimitiveMode mode, 135 gl::PrimitiveMode mode, [all …]
|
D | Context11.cpp | 46 bool DrawCallHasStreamingVertexArrays(const gl::Context *context, gl::PrimitiveMode mode) in DrawCallHasStreamingVertexArrays() 51 if (DrawCallHasDynamicAttribs(context) || mode == gl::PrimitiveMode::LineLoop || in DrawCallHasStreamingVertexArrays() 52 mode == gl::PrimitiveMode::TriangleFan) in DrawCallHasStreamingVertexArrays() 263 gl::PrimitiveMode mode, in drawArrays() 274 gl::PrimitiveMode mode, in drawArraysInstanced() 287 gl::PrimitiveMode mode, in drawArraysInstancedBaseInstance() 301 gl::PrimitiveMode mode, in drawElementsImpl() 338 gl::PrimitiveMode mode, in drawElements() 347 gl::PrimitiveMode mode, in drawElementsBaseVertex() 357 gl::PrimitiveMode mode, in drawElementsInstanced() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Context9.h | 79 gl::PrimitiveMode mode, 83 gl::PrimitiveMode mode, 88 gl::PrimitiveMode mode, 95 gl::PrimitiveMode mode, 100 gl::PrimitiveMode mode, 106 gl::PrimitiveMode mode, 112 gl::PrimitiveMode mode, 119 gl::PrimitiveMode mode, 127 gl::PrimitiveMode mode, 134 gl::PrimitiveMode mode, [all …]
|
D | Context9.cpp | 164 gl::PrimitiveMode mode, in drawArrays() 172 gl::PrimitiveMode mode, in drawArraysInstanced() 181 gl::PrimitiveMode mode, in drawArraysInstancedBaseInstance() 192 gl::PrimitiveMode mode, in drawElements() 201 gl::PrimitiveMode mode, in drawElementsBaseVertex() 212 gl::PrimitiveMode mode, in drawElementsInstanced() 222 gl::PrimitiveMode mode, in drawElementsInstancedBaseVertex() 234 gl::PrimitiveMode mode, in drawElementsInstancedBaseVertexBaseInstance() 247 gl::PrimitiveMode mode, in drawRangeElements() 258 gl::PrimitiveMode mode, in drawRangeElementsBaseVertex() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | ContextNULL.h | 49 gl::PrimitiveMode mode, 53 gl::PrimitiveMode mode, 58 gl::PrimitiveMode mode, 65 gl::PrimitiveMode mode, 70 gl::PrimitiveMode mode, 76 gl::PrimitiveMode mode, 82 gl::PrimitiveMode mode, 89 gl::PrimitiveMode mode, 97 gl::PrimitiveMode mode, 104 gl::PrimitiveMode mode, [all …]
|
D | ContextNULL.cpp | 132 gl::PrimitiveMode mode, in drawArrays() 140 gl::PrimitiveMode mode, in drawArraysInstanced() 149 gl::PrimitiveMode mode, in drawArraysInstancedBaseInstance() 159 gl::PrimitiveMode mode, in drawElements() 168 gl::PrimitiveMode mode, in drawElementsBaseVertex() 178 gl::PrimitiveMode mode, in drawElementsInstanced() 188 gl::PrimitiveMode mode, in drawElementsInstancedBaseVertex() 199 gl::PrimitiveMode mode, in drawElementsInstancedBaseVertexBaseInstance() 211 gl::PrimitiveMode mode, in drawRangeElements() 222 gl::PrimitiveMode mode, in drawRangeElementsBaseVertex() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | ContextImpl.h | 46 gl::PrimitiveMode mode, 50 gl::PrimitiveMode mode, 56 gl::PrimitiveMode mode, 63 gl::PrimitiveMode mode, 68 gl::PrimitiveMode mode, 74 gl::PrimitiveMode mode, 80 gl::PrimitiveMode mode, 87 gl::PrimitiveMode mode, 95 gl::PrimitiveMode mode, 102 gl::PrimitiveMode mode, [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ContextGL.h | 101 gl::PrimitiveMode mode, 105 gl::PrimitiveMode mode, 110 gl::PrimitiveMode mode, 117 gl::PrimitiveMode mode, 122 gl::PrimitiveMode mode, 128 gl::PrimitiveMode mode, 134 gl::PrimitiveMode mode, 141 gl::PrimitiveMode mode, 149 gl::PrimitiveMode mode, 156 gl::PrimitiveMode mode, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.cpp | 185 std::ostream &operator<<(std::ostream &os, PrimitiveMode value) in operator <<() 189 case PrimitiveMode::LineLoop: in operator <<() 192 case PrimitiveMode::Lines: in operator <<() 195 case PrimitiveMode::LinesAdjacency: in operator <<() 198 case PrimitiveMode::LineStrip: in operator <<() 201 case PrimitiveMode::LineStripAdjacency: in operator <<() 204 case PrimitiveMode::Points: in operator <<() 207 case PrimitiveMode::TriangleFan: in operator <<() 210 case PrimitiveMode::Triangles: in operator <<() 213 case PrimitiveMode::TrianglesAdjacency: in operator <<() [all …]
|
D | PackedEnums.h | 219 enum class PrimitiveMode : uint8_t enum 241 constexpr PrimitiveMode FromGLenum<PrimitiveMode>(GLenum from) 243 if (from >= static_cast<GLenum>(PrimitiveMode::EnumCount)) 245 return PrimitiveMode::InvalidEnum; 248 return static_cast<PrimitiveMode>(from); 251 constexpr GLenum ToGLenum(PrimitiveMode from) in ToGLenum() 256 static_assert(ToGLenum(PrimitiveMode::Points) == GL_POINTS, "PrimitiveMode violation"); 257 static_assert(ToGLenum(PrimitiveMode::Lines) == GL_LINES, "PrimitiveMode violation"); 258 static_assert(ToGLenum(PrimitiveMode::LineLoop) == GL_LINE_LOOP, "PrimitiveMode violation"); 259 static_assert(ToGLenum(PrimitiveMode::LineStrip) == GL_LINE_STRIP, "PrimitiveMode violation"); [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | ContextMtl.h | 51 gl::PrimitiveMode mode, 55 gl::PrimitiveMode mode, 60 gl::PrimitiveMode mode, 67 gl::PrimitiveMode mode, 72 gl::PrimitiveMode mode, 78 gl::PrimitiveMode mode, 84 gl::PrimitiveMode mode, 91 gl::PrimitiveMode mode, 99 gl::PrimitiveMode mode, 106 gl::PrimitiveMode mode, [all …]
|
D | ProvokingVertexHelper.mm | 69 static inline gl::PrimitiveMode getNewPrimitiveMode(const uint fixIndexBufferKey) 76 return gl::PrimitiveMode::Points; 78 return gl::PrimitiveMode::Lines; 80 return gl::PrimitiveMode::Lines; 82 return gl::PrimitiveMode::Triangles; 84 return gl::PrimitiveMode::Triangles; 87 return gl::PrimitiveMode::InvalidEnum; 145 gl::PrimitiveMode primMode = pipelineDesc.primitiveMode; 203 gl::PrimitiveMode primitiveMode, 206 gl::PrimitiveMode &outPrimitiveMode)
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Context11.h | 80 gl::PrimitiveMode mode, 84 gl::PrimitiveMode mode, 89 gl::PrimitiveMode mode, 96 gl::PrimitiveMode mode, 101 gl::PrimitiveMode mode, 107 gl::PrimitiveMode mode, 115 gl::PrimitiveMode mode, 122 gl::PrimitiveMode mode, 125 gl::PrimitiveMode mode, 175 gl::PrimitiveMode drawMode); [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.cpp | 266 std::ostream &operator<<(std::ostream &os, PrimitiveMode value) in operator <<() 270 case PrimitiveMode::LineLoop: in operator <<() 273 case PrimitiveMode::Lines: in operator <<() 276 case PrimitiveMode::LinesAdjacency: in operator <<() 279 case PrimitiveMode::LineStrip: in operator <<() 282 case PrimitiveMode::LineStripAdjacency: in operator <<() 285 case PrimitiveMode::Points: in operator <<() 288 case PrimitiveMode::TriangleFan: in operator <<() 291 case PrimitiveMode::Triangles: in operator <<() 294 case PrimitiveMode::TrianglesAdjacency: in operator <<() [all …]
|
D | utilities.cpp | 733 bool IsTriangleMode(PrimitiveMode drawMode) in IsTriangleMode() 737 case PrimitiveMode::Triangles: in IsTriangleMode() 738 case PrimitiveMode::TriangleFan: in IsTriangleMode() 739 case PrimitiveMode::TriangleStrip: in IsTriangleMode() 741 case PrimitiveMode::Points: in IsTriangleMode() 742 case PrimitiveMode::Lines: in IsTriangleMode() 743 case PrimitiveMode::LineLoop: in IsTriangleMode() 744 case PrimitiveMode::LineStrip: in IsTriangleMode() 753 bool IsPolygonMode(PrimitiveMode mode) in IsPolygonMode() 757 case PrimitiveMode::Points: in IsPolygonMode() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Context9.h | 79 gl::PrimitiveMode mode, 83 gl::PrimitiveMode mode, 88 gl::PrimitiveMode mode, 95 gl::PrimitiveMode mode, 100 gl::PrimitiveMode mode, 106 gl::PrimitiveMode mode, 114 gl::PrimitiveMode mode, 121 gl::PrimitiveMode mode, 124 gl::PrimitiveMode mode,
|
D | Context9.cpp | 159 gl::PrimitiveMode mode, in drawArrays() 167 gl::PrimitiveMode mode, in drawArraysInstanced() 176 gl::PrimitiveMode mode, in drawArraysInstancedBaseInstance() 187 gl::PrimitiveMode mode, in drawElements() 196 gl::PrimitiveMode mode, in drawElementsInstanced() 206 gl::PrimitiveMode mode, in drawElementsInstancedBaseVertexBaseInstance() 219 gl::PrimitiveMode mode, in drawRangeElements() 230 gl::PrimitiveMode mode, in drawArraysIndirect() 238 gl::PrimitiveMode mode, in drawElementsIndirect()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | ContextImpl.h | 46 gl::PrimitiveMode mode, 50 gl::PrimitiveMode mode, 56 gl::PrimitiveMode mode, 63 gl::PrimitiveMode mode, 68 gl::PrimitiveMode mode, 74 gl::PrimitiveMode mode, 82 gl::PrimitiveMode mode, 90 gl::PrimitiveMode mode, 93 gl::PrimitiveMode mode,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ContextVk.h | 88 gl::PrimitiveMode mode, 92 gl::PrimitiveMode mode, 97 gl::PrimitiveMode mode, 104 gl::PrimitiveMode mode, 109 gl::PrimitiveMode mode, 115 gl::PrimitiveMode mode, 121 gl::PrimitiveMode mode, 128 gl::PrimitiveMode mode, 136 gl::PrimitiveMode mode, 143 gl::PrimitiveMode mode, [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | ContextNULL.h | 49 gl::PrimitiveMode mode, 53 gl::PrimitiveMode mode, 58 gl::PrimitiveMode mode, 65 gl::PrimitiveMode mode, 70 gl::PrimitiveMode mode, 76 gl::PrimitiveMode mode, 84 gl::PrimitiveMode mode, 91 gl::PrimitiveMode mode, 94 gl::PrimitiveMode mode,
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | ContextGL.h | 94 gl::PrimitiveMode mode, 98 gl::PrimitiveMode mode, 103 gl::PrimitiveMode mode, 110 gl::PrimitiveMode mode, 115 gl::PrimitiveMode mode, 121 gl::PrimitiveMode mode, 129 gl::PrimitiveMode mode, 136 gl::PrimitiveMode mode, 139 gl::PrimitiveMode mode,
|