Home
last modified time | relevance | path

Searched refs:PrimitiveType (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/experimental/graphite/src/
DCommandBuffer.h70 void draw(PrimitiveType type, unsigned int baseVertex, unsigned int vertexCount) { in draw()
74 void drawIndexed(PrimitiveType type, unsigned int baseIndex, unsigned int indexCount, in drawIndexed()
79 void drawInstanced(PrimitiveType type, unsigned int baseVertex, unsigned int vertexCount, in drawInstanced()
84 void drawIndexedInstanced(PrimitiveType type, unsigned int baseIndex, unsigned int indexCount, in drawIndexedInstanced()
115 virtual void onDraw(PrimitiveType type, unsigned int baseVertex, unsigned int vertexCount) = 0;
116 virtual void onDrawIndexed(PrimitiveType type, unsigned int baseIndex, unsigned int indexCount,
118 virtual void onDrawInstanced(PrimitiveType type,
121 virtual void onDrawIndexedInstanced(PrimitiveType type, unsigned int baseIndex,
DDrawTypes.h104 enum class PrimitiveType : uint8_t { enum
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp60 enum PrimitiveType enum
71 static int getNumVerticesPerPrimitive (PrimitiveType primType) in getNumVerticesPerPrimitive()
86 static glu::PrimitiveType getGluPrimitiveType (PrimitiveType primType) in getGluPrimitiveType()
101 static void genVertices (PrimitiveType primType, int numPrimitives, de::Random* rnd, vector<Vec2>* … in genVertices()
162 …domPrimitives (const glu::RenderContext& renderCtx, deUint32 program, PrimitiveType primType, int … in drawRandomPrimitives()
295 …lueCase (Context& context, const char* name, const char* description, PrimitiveType primType, int …
303 const PrimitiveType m_primitiveType;
314 …lueCase (Context& context, const char* name, const char* description, PrimitiveType primType, int … in HelperInvocationValueCase()
452 …ateCase (Context& context, const char* name, const char* description, PrimitiveType primType, int …
460 const PrimitiveType m_primitiveType;
[all …]
/third_party/skia/experimental/graphite/src/mtl/
DMtlCommandBuffer.h62 void onDraw(PrimitiveType type, unsigned int baseVertex, unsigned int vertexCount) override;
63 void onDrawIndexed(PrimitiveType type, unsigned int baseIndex, unsigned int indexCount,
65 void onDrawInstanced(PrimitiveType type,
68 void onDrawIndexedInstanced(PrimitiveType type, unsigned int baseIndex,
DMtlCommandBuffer.mm200 static MTLPrimitiveType graphite_to_mtl_primitive(PrimitiveType primitiveType) {
206 static_assert((int)PrimitiveType::kTriangles == 0);
207 static_assert((int)PrimitiveType::kTriangleStrip == 1);
208 static_assert((int)PrimitiveType::kPoints == 2);
210 SkASSERT(primitiveType <= PrimitiveType::kPoints);
214 void CommandBuffer::onDraw(PrimitiveType type, unsigned int baseVertex, unsigned int vertexCount) {
222 void CommandBuffer::onDrawIndexed(PrimitiveType type, unsigned int baseIndex,
236 void CommandBuffer::onDrawInstanced(PrimitiveType type, unsigned int baseVertex,
248 void CommandBuffer::onDrawIndexedInstanced(PrimitiveType type, unsigned int baseIndex,
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderer.hpp91 …PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement); // !< prim…
92 …PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices); // !< p…
98 inline PrimitiveType getPrimitiveType (void) const { return m_primitiveType; } in getPrimitiveType()
102 const PrimitiveType m_primitiveType;
DrrPrimitiveTypes.hpp32 enum PrimitiveType enum
52 template <PrimitiveType DrawPrimitiveType> struct PrimitiveTypeTraits {};
/third_party/skia/tests/graphite/
DCommandBufferTest.cpp86 commandBuffer->draw(PrimitiveType::kTriangleStrip, 0, 4); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
97 commandBuffer->draw(PrimitiveType::kTriangleStrip, 0, 4); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
137 commandBuffer->drawIndexed(PrimitiveType::kTriangles, 0, 6, 0); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
168 commandBuffer->drawIndexedInstanced(PrimitiveType::kTriangles, 0, 6, 0, 0, 2); in DEF_GRAPHITE_TEST_FOR_CONTEXTS()
/third_party/vk-gl-cts/framework/opengl/
DgluDrawUtil.hpp76 enum PrimitiveType enum
161 PrimitiveType type; //!< Primitive type.
166 PrimitiveList (PrimitiveType type_, int numElements_) in PrimitiveList()
174 PrimitiveList (PrimitiveType type_, int numElements_, IndexType indexType_, const void* indices_) in PrimitiveList()
DgluDrawUtil.cpp200 static deUint32 getPrimitiveGLType (PrimitiveType type) in getPrimitiveGLType()
479 static inline void drawNonIndexed (const glw::Functions& gl, PrimitiveType type, int numElements) in drawNonIndexed()
485 static inline void drawIndexed (const glw::Functions& gl, PrimitiveType type, int numElements, Inde… in drawIndexed()
/third_party/vk-gl-cts/modules/glshared/
DglsScissorTests.hpp53 enum PrimitiveType enum
82 PrimitiveType type,
DglsScissorTests.cpp311 PrimitiveType type,
321 const PrimitiveType m_primitiveType;
331 PrimitiveType type, in ScissorPrimitiveCase()
889 PrimitiveType type, in createPrimitiveTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.hpp331 const rr::PrimitiveType primitive,
335 const rr::PrimitiveType primitive,
339 const rr::PrimitiveType primitive,
366 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology);
DvktPipelineReferenceRenderer.cpp107 rr::PrimitiveType mapVkPrimitiveTopology (VkPrimitiveTopology primitiveTopology) in mapVkPrimitiveTopology()
264 const rr::PrimitiveType primitive, in draw()
295 const rr::PrimitiveType primitive, in draw()
333 const rr::PrimitiveType primitive, in draw()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderMiscTests.cpp1193 enum class PrimitiveType { POINTS=0, LINES, TRIANGLES }; enum
1195 std::string primitiveTypeName (PrimitiveType primitiveType) in primitiveTypeName()
1201 case PrimitiveType::POINTS: primitiveName = "points"; break; in primitiveTypeName()
1202 case PrimitiveType::LINES: primitiveName = "lines"; break; in primitiveTypeName()
1203 case PrimitiveType::TRIANGLES: primitiveName = "triangles"; break; in primitiveTypeName()
1212 PrimitiveType primitiveType;
1327 case PrimitiveType::POINTS: maxPrimitives = kLocalInvocations - 0u; break; in initPrograms()
1328 case PrimitiveType::LINES: maxPrimitives = kLocalInvocations - 1u; break; in initPrograms()
1329 case PrimitiveType::TRIANGLES: maxPrimitives = kLocalInvocations - 2u; break; in initPrograms()
1333 const std::string pointSizeDecl = ((params->primitiveType == PrimitiveType::POINTS) in initPrograms()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPrimitiveRestartTests.cpp60 enum PrimitiveType enum in deqp::gles3::Functional::PrimitiveRestartCase
91 …artCase (Context& context, const char* name, const char* description, PrimitiveType primType, Inde…
120 PrimitiveType m_primType;
131 …artCase (Context& context, const char* name, const char* description, PrimitiveType primType, Inde… in PrimitiveRestartCase()
713 (PrimitiveRestartCase::PrimitiveType)primType, in init()
Des3fScissorTests.cpp72 const PrimitiveType type; in init()
/third_party/vk-gl-cts/framework/opengl/simplereference/
DsglrReferenceUtils.hpp41 rr::PrimitiveType mapGLPrimitiveType (deUint32 type);
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_state.h521 D3DPRIMITIVETYPE PrimitiveType,
527 D3DPRIMITIVETYPE PrimitiveType,
536 D3DPRIMITIVETYPE PrimitiveType,
Ddevice9.h647 D3DPRIMITIVETYPE PrimitiveType,
653 D3DPRIMITIVETYPE PrimitiveType,
662 D3DPRIMITIVETYPE PrimitiveType,
669 D3DPRIMITIVETYPE PrimitiveType,
Ddevice9.c2998 D3DPRIMITIVETYPE PrimitiveType, in NineDevice9_DrawPrimitive() argument
3004 This, PrimitiveType, StartVertex, PrimitiveCount); in NineDevice9_DrawPrimitive()
3012 unsigned num_vertices = prim_count_to_vertex_count(PrimitiveType, PrimitiveCount); in NineDevice9_DrawPrimitive()
3021 nine_context_draw_primitive(This, PrimitiveType, StartVertex, PrimitiveCount); in NineDevice9_DrawPrimitive()
3029 D3DPRIMITIVETYPE PrimitiveType, in NineDevice9_DrawIndexedPrimitive() argument
3039 This, PrimitiveType, BaseVertexIndex, MinVertexIndex, NumVertices, in NineDevice9_DrawIndexedPrimitive()
3045 num_indices = prim_count_to_vertex_count(PrimitiveType, PrimitiveCount); in NineDevice9_DrawIndexedPrimitive()
3068 nine_context_draw_indexed_primitive(This, PrimitiveType, BaseVertexIndex, in NineDevice9_DrawIndexedPrimitive()
3081 D3DPRIMITIVETYPE PrimitiveType, in NineDevice9_DrawPrimitiveUP() argument
3091 This, PrimitiveType, PrimitiveCount, in NineDevice9_DrawPrimitiveUP()
[all …]
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fScissorTests.cpp62 PrimitiveType type; in init()
/third_party/node/deps/v8/src/builtins/
Dboolean.tq9 ToThisValue(receiver, PrimitiveType::kBoolean, method));
Dsymbol.tq12 ToThisValue(receiver, PrimitiveType::kSymbol, method));
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dgl_enum_utils_autogen.h157 PrimitiveType, enumerator

123