Home
last modified time | relevance | path

Searched refs:primitives (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/vk-gl-cts/framework/opengl/
H A DgluDrawUtil.cpp454 static bool isDrawCallValid (int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives) in isDrawCallValid() argument
459 if ((primitives.indexType == INDEXTYPE_LAST) != (primitives.indices == 0)) in isDrawCallValid()
462 if (primitives.numElements < 0) in isDrawCallValid()
465 if (!primitives.indices) in isDrawCallValid()
469 if (primitives.numElements > vertexArrays[ndx].pointer.numElements) in isDrawCallValid()
495 void drawFromUserPointers (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) in drawFromUserPointers() argument
500 DE_ASSERT(isDrawCallValid(numVertexArrays, vertexArrays, primitives)); in drawFromUserPointers()
515 if (primitives.indices) in drawFromUserPointers()
516 drawIndexed(gl, primitives in drawFromUserPointers()
527 drawFromBuffers(const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) drawFromBuffers() argument
580 drawFromVAOBuffers(const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) drawFromVAOBuffers() argument
590 draw(const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback) draw() argument
[all...]
H A DgluDrawUtil.hpp198 void draw (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback = DE_NULL);
200 void drawFromUserPointers (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback = DE_NULL);
201 void drawFromBuffers (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback = DE_NULL);
202 void drawFromVAOBuffers (const RenderContext& context, deUint32 program, int numVertexArrays, const VertexArrayBinding* vertexArrays, const PrimitiveList& primitives, DrawUtilCallback* callback = DE_NULL);
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DRenderer.hpp126 PrimitiveBatch primitives; member
136 using SetupFunction = int (*)(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
190 static int setupSolidTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
191 static int setupWireframeTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
192 static int setupPointTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
193 static int setupLines(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
194 static int setupPoints(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count);
H A DRenderer.cpp565 auto primitives = &batch->primitives[0]; in processPrimitives() local
566 batch->numVisible = draw->setupPrimitives(device, triangles, primitives, draw, batch->numPrimitives); in processPrimitives()
589 draw->pixelRoutine(device, &batch->primitives.front(), batch->numVisible, cluster, MaxClusterCount, draw->data); in processPixels()
658 int DrawCall::setupSolidTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupSolidTriangles() argument
693 if(drawCall->setupRoutine(device, primitives, triangles, &polygon, data)) in setupSolidTriangles()
695 primitives += ms; in setupSolidTriangles()
703 int DrawCall::setupWireframeTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupWireframeTriangles() argument
747 if(setupLine(device, *primitives, lines[i], *drawCall)) in setupWireframeTriangles()
749 primitives in setupWireframeTriangles()
758 setupPointTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) setupPointTriangles() argument
803 setupLines(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) setupLines() argument
824 setupPoints(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) setupPoints() argument
[all...]
/third_party/python/Lib/test/test_asyncio/
H A Dtest_pep492.py46 primitives = [
63 for primitive in primitives:
68 primitives = [
85 for primitive in primitives:
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp267 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
290 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives); in draw()
298 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
327 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 3, vertexAttribs, primitives); in draw()
336 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
359 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives); in draw()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp267 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
290 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives); in draw()
298 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
327 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 3, vertexAttribs, primitives); in draw()
336 const rr::PrimitiveList primitives(primitive, (int)vertexBuffer.size(), 0); in draw()
359 rr::DrawCommand drawQuadCommand(renderState, *m_renderTarget, *m_program, 2, vertexAttribs, primitives); in draw()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrRenderer.cpp1304 // shared buffers for all primitives in rasterize()
1401 PrimitiveTypeTraits<DrawPrimitiveType>::Assembler::exec(inputPrimitives.begin(), vertices, numVertices, state.provokingVertexConvention); // \note input Primitives are baseType_t => only basic primitives (non adjacency) will compile in drawGeometryShaderOutputAsPrimitives()
1407 // Draw assembled primitives in drawGeometryShaderOutputAsPrimitives()
1418 // Run geometry shader for all primitives in drawWithGeometryShader()
1420 std::vector<PrimitivePacket> primitives (input.size()); in drawWithGeometryShader()
1426 primitives[primitiveNdx].primitiveIDIn = drawContext.primitiveID++; in drawWithGeometryShader()
1427 copyVertexPacketPointers(primitives[primitiveNdx].vertices, input[primitiveNdx]); in drawWithGeometryShader()
1430 if (primitives.empty()) in drawWithGeometryShader()
1437 program.geometryShader->shadePrimitives(emitter, verticesIn, &primitives[0], (int)primitives in drawWithGeometryShader()
[all...]
H A DrrRenderer.hpp118 , primitives (primitives_) in DrawCommand()
129 const PrimitiveList& primitives; member in rr::DrawCommand
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fScissorTests.cpp63 const int primitives; in init() member
91 cases[caseNdx].primitives)); in init()
H A Des2fRasterizationTests.cpp215 GLU_EXPECT_NO_ERROR (gl.getError(), "draw primitives"); in drawPrimitives()
1959 // .primitives
1961 tcu::TestCaseGroup* const primitives = new tcu::TestCaseGroup(m_testCtx, "primitives", "Primitive rasterization");
1963 addChild(primitives);
1965 primitives->addChild(new TrianglesCase (m_context, "triangles", "Render primitives as GL_TRIANGLES, verify rasterization result"));
1966 primitives->addChild(new TriangleStripCase (m_context, "triangle_strip", "Render primitives as GL_TRIANGLE_STRIP, verify rasterization result"));
1967 primitives
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fScissorTests.cpp73 const int primitives; in init() member
101 cases[caseNdx].primitives)); in init()
/third_party/vk-gl-cts/modules/gles2/stress/
H A Des2sDrawTests.cpp235 gls::DrawTestSpec::Primitive primitives[] = in init() local
245 const UniformWeightArray<DE_LENGTH_OF_ARRAY(primitives)> primitiveWeights; in init()
312 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights); in init()
/third_party/skia/third_party/externals/oboe/src/common/
H A DSourceI16Caller.cpp23 #include <audio_utils/primitives.h>
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryInputGeometryShaderTests.cpp265 MovePtr<TestCaseGroup> inputPrimitiveGroup (new TestCaseGroup(testCtx, "input", "Different input primitives.")); in createInputGeometryShaderTests()
268 MovePtr<TestCaseGroup> conversionPrimitiveGroup (new TestCaseGroup(testCtx, "conversion", "Different input and output primitives.")); in createInputGeometryShaderTests()
291 const PrimitiveTestSpec primitives = { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, name.c_str(), VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP }; in createInputGeometryShaderTests() local
293 triStripAdjacencyGroup->addChild(new TriangleStripAdjacencyVertexCountTest(testCtx, primitives, vertexCount)); in createInputGeometryShaderTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/
H A DvktGeometryInputGeometryShaderTests.cpp265 MovePtr<TestCaseGroup> inputPrimitiveGroup (new TestCaseGroup(testCtx, "input", "Different input primitives.")); in createInputGeometryShaderTests()
268 MovePtr<TestCaseGroup> conversionPrimitiveGroup (new TestCaseGroup(testCtx, "conversion", "Different input and output primitives.")); in createInputGeometryShaderTests()
291 const PrimitiveTestSpec primitives = { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY, name.c_str(), VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP }; in createInputGeometryShaderTests() local
293 triStripAdjacencyGroup->addChild(new TriangleStripAdjacencyVertexCountTest(testCtx, primitives, vertexCount)); in createInputGeometryShaderTests()
/third_party/skia/third_party/externals/oboe/src/flowgraph/
H A DSinkI16.cpp23 #include <audio_utils/primitives.h>
H A DSourceI16.cpp24 #include <audio_utils/primitives.h>
H A DSourceI24.cpp21 #include <audio_utils/primitives.h>
H A DSinkI24.cpp25 #include <audio_utils/primitives.h>
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp542 << "Failure: the number of generated primitives is " << numPrimitives << ", expected at least " << refNumPrimitives in logPrimitiveCountError()
567 PerPrimitiveVec primitives; member
698 result.primitives = sorted(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)), in draw()
733 * primitives, the vertices generated for that outer edge. Repeat with
780 for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == patchNdx; ++primitiveNdx) in iterate()
783 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
859 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
955 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
970 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f; in iterate()
1192 const PerPrimitiveVec& primitives in compareTriangleSets() local
1525 const PerPrimitiveVec primitives = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(), iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp532 << "Failure: the number of generated primitives is " << numPrimitives << ", expected at least " << refNumPrimitives in logPrimitiveCountError()
557 PerPrimitiveVec primitives; member
686 result.primitives = sorted(readInterleavedData<PerPrimitive>(result.numPrimitives, resultAlloc.getHostPtr(), m_resultBufferPrimitiveDataOffset, sizeof(PerPrimitive)), in draw()
721 * primitives, the vertices generated for that outer edge. Repeat with
768 for (; primitiveNdx < result.numPrimitives && result.primitives[primitiveNdx].patchPrimitiveID == patchNdx; ++primitiveNdx) in iterate()
771 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
847 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
943 const tcu::Vec3& coord = result.primitives[primitiveNdx].tessCoord[i].swizzle(0, 1, 2); in iterate()
958 const bool isMirrored = result.primitives[primitiveNdx].tessCoord[i].w() > 0.5f; in iterate()
1180 const PerPrimitiveVec& primitives in compareTriangleSets() local
1508 const PerPrimitiveVec primitives = sorted(readInterleavedData<PerPrimitive>(numPrimitives, resultAlloc.getHostPtr(), iterate() local
[all...]
/third_party/vk-gl-cts/modules/gles31/stress/
H A Des31sDrawTests.cpp361 gls::DrawTestSpec::Primitive primitives[] =
371 const UniformWeightArray<DE_LENGTH_OF_ARRAY(primitives)> primitiveWeights;
447 spec.primitive = random.chooseWeighted<gls::DrawTestSpec::Primitive> (DE_ARRAY_BEGIN(primitives), DE_ARRAY_END(primitives), primitiveWeights.weights);
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
H A DOperationTest.java19 import static com.google.common.primitives.Bytes.asList;
/third_party/mesa3d/src/vulkan/overlay-layer/
H A Doverlay_params.h57 OVERLAY_PARAM_BOOL(primitives) \

Completed in 22 milliseconds

1234