Home
last modified time | relevance | path

Searched refs:drawType (Results 1 – 25 of 35) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderApiTests.cpp70 std::ostream& operator<< (std::ostream& stream, DrawType drawType) in operator <<() argument
72 switch (drawType) in operator <<()
98 DrawType drawType; member
349 if (m_params.drawType == DrawType::DRAW_INDIRECT && m_params.drawCount > 1u) in checkSupport()
357 if (m_params.drawType == DrawType::DRAW_INDIRECT_COUNT) in checkSupport()
522 if (m_params.drawType != DrawType::DRAW) in iterate()
543 if (m_params.drawType == DrawType::DRAW_INDIRECT_COUNT) in iterate()
569 if (m_params.drawType == DrawType::DRAW) in iterate()
573 else if (m_params.drawType == DrawType::DRAW_INDIRECT) in iterate()
578 else if (m_params.drawType == DrawType::DRAW_INDIRECT_COUNT) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawMultiExtTests.cpp85 DrawType drawType; member
240 static bool indexedWithOffset (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in indexedWithOffset() argument
242 return (drawType == DrawType::INDEXED && *offsetType != VertexOffsetType::CONSTANT_PACK); in indexedWithOffset()
246 static deUint32 baseSize (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType) in baseSize() argument
248 …return static_cast<deUint32>(indexedWithOffset(drawType, offsetType) ? sizeof(VkMultiDrawIndexedIn… in baseSize()
252 …static deUint32 calcExtraBytes (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType,… in calcExtraBytes() argument
258 const auto minStride = baseSize(drawType, offsetType); in calcExtraBytes()
270 …DrawInfoPacker (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride… in DrawInfoPacker() argument
271 : m_drawType (drawType) in DrawInfoPacker()
274 , m_extraBytes (calcExtraBytes(drawType, offsetType, stride)) in DrawInfoPacker()
[all …]
DvktDrawIndirectTest.cpp85 : drawType(DRAWTYPE_LAST) in DrawTypedTestSpec()
90 DrawType drawType; member
254 , m_drawType (testSpec.drawType) in IndirectDraw()
264 if (testSpec.drawType == DRAW_TYPE_INDEXED) in IndirectDraw()
1039 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1078 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1122 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
1162 testSpec.drawType = static_cast<DrawType>(drawTypeIdx); in init()
/third_party/skia/src/gpu/v1/
DPathRendererChain.cpp71 DrawType drawType, in getPathRenderer() argument
78 if (DrawType::kStencil == drawType) { in getPathRenderer()
80 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
/third_party/skia/src/core/
DSkPictureRecord.h102 size_t addDraw(DrawType drawType, size_t* size) { in addDraw() argument
108 SkASSERT(((uint8_t) drawType) == drawType); in addDraw()
111 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
115 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
/third_party/flutter/skia/src/gpu/
DGrPathRendererChain.cpp79 DrawType drawType, in getPathRenderer() argument
86 if (DrawType::kStencil == drawType) { in getPathRenderer()
88 } else if (DrawType::kStencilAndColor == drawType) { in getPathRenderer()
DGrPathRendererChain.h48 DrawType drawType,
DGrDrawingManager.h68 GrPathRendererChain::DrawType drawType,
/third_party/flutter/skia/src/core/
DSkPictureRecord.h100 size_t addDraw(DrawType drawType, size_t* size) { in addDraw() argument
106 SkASSERT(((uint8_t) drawType) == drawType); in addDraw()
109 fWriter.writeInt(PACK_8_24(drawType, MASK_24)); in addDraw()
113 fWriter.writeInt(PACK_8_24(drawType, SkToU32(*size))); in addDraw()
/third_party/vk-gl-cts/modules/egl/
DteglPreservingSwapTests.cpp111 … width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
160 …t width, int height, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) in render() argument
162 if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER) in render()
207 else if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_CLEAR) in render()
237 …u::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType);
252 …cu::Surface* target, float x1, float y1, float x2, float y2, PreservingSwapTest::DrawType drawType) in render() argument
254 …if (drawType == PreservingSwapTest::DRAWTYPE_GLES2_RENDER || drawType == PreservingSwapTest::DRAWT… in render()
DteglBufferAgeTests.cpp146 BufferAgeTest::DrawType drawType; member
151 : drawType(drawType_) in DrawCommand()
263 if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER) in render()
313 else if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_CLEAR) in render()
346 …if (frame.draws[drawNdx].drawType == BufferAgeTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawNdx]. in render()
DteglPartialUpdateTests.cpp134 PartialUpdateTest::DrawType drawType; member
139 : drawType (drawType_) in DrawCommand()
252 if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER) in render()
302 else if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_CLEAR) in render()
335 …if (frame.draws[drawNdx].drawType == PartialUpdateTest::DRAWTYPE_GLES2_RENDER || frame.draws[drawN… in render()
DteglSwapBuffersWithDamageTests.cpp102 DrawType drawType; member
107 : drawType (drawType_) in DrawCommand()
194 if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_RENDER) in render()
244 else if (frame.draws[drawNdx].drawType == DRAWTYPE_GLES2_CLEAR) in render()
/third_party/skia/bench/
DAlternatingColorPatternBench.cpp98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench() argument
103 kRect_DrawType == drawType ? "rect" : "path"); in AlternatingColorPatternBench()
104 fDrawType = drawType; in AlternatingColorPatternBench()
/third_party/flutter/skia/bench/
DAlternatingColorPatternBench.cpp98 AlternatingColorPatternBench(ColorPattern pattern1, ColorPattern pattern2, DrawType drawType) { in AlternatingColorPatternBench() argument
103 kRect_DrawType == drawType ? "rect" : "path"); in AlternatingColorPatternBench()
104 fDrawType = drawType; in AlternatingColorPatternBench()
/third_party/flutter/skia/gm/
Dblurignorexform.cpp36 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM() argument
/third_party/skia/gm/
Dblurignorexform.cpp36 BlurIgnoreXformGM(DrawType drawType) : fDrawType(drawType) { } in BlurIgnoreXformGM() argument
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2248 … primitiveType, GLsizei elementCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCo… in ConvertPrimitiveType() argument
2253 drawType = sw::DRAW_POINTLIST; in ConvertPrimitiveType()
2258 drawType = sw::DRAW_LINELIST; in ConvertPrimitiveType()
2263 drawType = sw::DRAW_LINELOOP; in ConvertPrimitiveType()
2268 drawType = sw::DRAW_LINESTRIP; in ConvertPrimitiveType()
2273 drawType = sw::DRAW_TRIANGLELIST; in ConvertPrimitiveType()
2278 drawType = sw::DRAW_TRIANGLESTRIP; in ConvertPrimitiveType()
2283 drawType = sw::DRAW_TRIANGLEFAN; in ConvertPrimitiveType()
2301 drawType = sw::DrawType(drawType | elementSize); in ConvertPrimitiveType()
/third_party/vk-gl-cts/modules/glshared/
DglsStateChangePerfTestCases.hpp55 …Context& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCoun…
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DRenderer.hpp281 void draw(DrawType drawType, unsigned int indexOffset, unsigned int count, bool update = true);
472 AtomicInt drawType; member
DContext.cpp68 switch(drawType) in isDrawPoint()
112 switch(drawType) in isDrawLine()
156 switch(drawType) in isDrawTriangle()
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp992 for (int drawType = 0; drawType < 2; drawType++) in init() local
994 bool drawElements = (drawType == 1); in init()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp96 void runIndexOutOfRangeTests(GLenum drawType) in runIndexOutOfRangeTests() argument
108 drawType); in runIndexOutOfRangeTests()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DRobustBufferAccessBehaviorTest.cpp96 void runIndexOutOfRangeTests(GLenum drawType) in runIndexOutOfRangeTests() argument
108 drawType); in runIndexOutOfRangeTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp518 #define DRAW_CALL(drawType, instanced, bvbi) DRAW_##drawType##instanced##bvbi argument
520 #define MULTI_DRAW_BLOCK(drawType, instanced, bvbi, hasDrawID, hasBaseVertex, hasBaseInstance) \ argument
531 DRAW_CALL(drawType, instanced, bvbi); \

12