Home
last modified time | relevance | path

Searched refs:Triangle (Results 1 - 25 of 28) sorted by relevance

12

/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrPrimitiveTypes.hpp35 PRIMITIVETYPE_TRIANGLE_STRIP, //!< Triangle strip
36 PRIMITIVETYPE_TRIANGLE_FAN, //!< Triangle fan
47 PRIMITIVETYPE_TRIANGLE_STRIP_ADJACENCY, //!< Triangle strip (adjacency)
53 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_TRIANGLES> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::Triangles Assembler; };
54 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_TRIANGLE_STRIP> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::TriangleStrip Assembler; };
55 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_TRIANGLE_FAN> { typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::TriangleFan Assembler; };
62 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_TRIANGLES_ADJACENCY> { typedef pa::TriangleAdjacency Type; typedef pa::Triangle BaseTyp
[all...]
H A DrrPrimitiveAssembler.hpp34 struct Triangle struct
41 Triangle (void) in Triangle() function
49 Triangle (VertexPacket* v0_, VertexPacket* v1_, VertexPacket* v2_, int provokingIndex_) in Triangle() function
85 *(outputIterator++) = Triangle(vertices[ndx], vertices[ndx+1], vertices[ndx+2], provokingOffset); in exec()
114 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (0) : (2)); in exec()
124 *(outputIterator++) = Triangle(vert0, vert1, vertices[ndx], (provokingConvention == rr::PROVOKINGVERTEX_FIRST) ? (1) : (2)); in exec()
153 *(outputIterator++) = Triangle(first, vertices[ndx], vertices[ndx+1], provokingOffset); in exec()
H A DrrRenderer.cpp114 void convertPrimitiveToBaseType(std::vector<pa::Triangle>& output, std::vector<pa::Triangle>& input) in convertPrimitiveToBaseType()
140 void convertPrimitiveToBaseType(std::vector<pa::Triangle>& output, std::vector<pa::TriangleAdjacency>& input) in convertPrimitiveToBaseType()
147 output[i] = pa::Triangle(input[i].v0, input[i].v2, input[i].v4, baseProvokingVertexIndex); in convertPrimitiveToBaseType()
488 void flatshadePrimitiveVertices (pa::Triangle& target, size_t outputNdx) in flatshadePrimitiveVertices()
524 void clipPrimitives (std::vector<pa::Triangle>& list, in clipPrimitives()
542 std::vector<pa::Triangle> outputTriangles; in clipPrimitives()
664 pa::Triangle ngonFragment (p0, p1, p2, -1); in clipPrimitives()
839 void transformPrimitiveClipCoordsToWindowCoords (const RenderState& state, pa::Triangle& target) in transformPrimitiveClipCoordsToWindowCoords()
888 void makeSharedVerticesDistinct (pa::Triangle
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DRenderer.hpp59 using TriangleBatch = std::array<Triangle, MaxBatchSize>;
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);
196 static bool setupLine(vk::Device *device, Primitive &primitive, Triangle &triangle, const DrawCall &draw);
197 static bool setupPoint(vk::Device *device, Primitive &primitive, Triangle &triangle, const DrawCall &draw);
H A DSetupProcessor.hpp29 struct Triangle;
35 using SetupFunction = FunctionT<int(const vk::Device *device, Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const DrawData *draw)>;
H A DTriangle.hpp22 struct Triangle struct
H A DRenderer.cpp658 int DrawCall::setupSolidTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupSolidTriangles()
703 int DrawCall::setupWireframeTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupWireframeTriangles()
737 Triangle lines[3]; in setupWireframeTriangles()
758 int DrawCall::setupPointTriangles(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupPointTriangles()
785 Triangle points[3]; in setupPointTriangles()
803 int DrawCall::setupLines(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupLines()
824 int DrawCall::setupPoints(vk::Device *device, Triangle *triangles, Primitive *primitives, const DrawCall *drawCall, int count) in setupPoints()
845 bool DrawCall::setupLine(vk::Device *device, Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupLine()
1142 bool DrawCall::setupPoint(vk::Device *device, Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupPoint()
H A DPrimitive.hpp23 struct Triangle struct
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DSetupProcessor.hpp27 struct Triangle;
86 typedef bool (*RoutinePointer)(Primitive *primitive, const Triangle *triangle, const Polygon *polygon, const DrawData *draw);
H A DTriangle.hpp22 struct Triangle struct
H A DPrimitive.hpp23 struct Triangle struct
H A DRenderer.hpp383 bool setupLine(Primitive &primitive, Triangle &triangle, const DrawCall &draw);
384 bool setupPoint(Primitive &primitive, Triangle &triangle, const DrawCall &draw);
402 Triangle *triangleBatch[16];
H A DRenderer.cpp1120 Triangle *triangle = triangleBatch[unit]; in processPrimitiveVertices()
1567 Triangle *triangle = triangleBatch[unit]; in setupSolidTriangles()
1612 Triangle *triangle = triangleBatch[unit]; in setupWireframeTriangle()
1669 Triangle *triangle = triangleBatch[unit]; in setupVertexTriangle()
1713 Triangle *triangle = triangleBatch[unit]; in setupLines()
1738 Triangle *triangle = triangleBatch[unit]; in setupPoints()
1761 bool Renderer::setupLine(Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupLine()
2055 bool Renderer::setupPoint(Primitive &primitive, Triangle &triangle, const DrawCall &draw) in setupPoint()
2139 triangleBatch[i] = (Triangle*)allocate(batchSize * sizeof(Triangle)); in initializeThreads()
[all...]
H A DContext.hpp31 struct Triangle;
/third_party/typescript/tests/baselines/reference/
H A DexhaustiveSwitchStatements1.js62 interface Triangle { kind: "triangle"; side: number; }
64 type Shape = Square | Rectangle | Circle | Triangle;
500 interface Triangle {
504 type Shape = Square | Rectangle | Circle | Triangle;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingPipelineFlagsTests.cpp78 Triangle = 0x1, member in vkt::RayTracing::__anon28557::GeometryTypes
80 TriangleAndBox = Triangle | Box
156 const deUint32 triangleCount = (params.geomTypes == GeometryTypes::Triangle || params.geomTypes == GeometryTypes::TriangleAndBox) ? nameCount : 0u; in calcDefBoxRetGreenComp()
237 return (rec.geomType == GeometryTypes::Triangle) ? rec.retValue : hitAttr;
554 && (GeometryTypes::Triangle == m_params.geomTypes)) in checkSupport()
661 << " if (record.geomType == " << deUint32(GeometryTypes::Triangle) << ")" << endl in initPrograms()
822 if (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_params.geomTypes == GeometryTypes::TriangleAndBox))) in createBottomLevelAccelerationStructs()
890 const bool includeTriangles = (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_params.geomTypes == GeometryTypes::TriangleAndBox))); in prepareShaderBindingTable()
930 shaderRecords[shaderGroupIndex] = std::tuple<VkShaderStageFlags, HitGroup, ShaderRecordEXT, bool>( flags, hitGroup, { GeometryTypes::Triangle, geometryIndex, tcu::IVec4(0, greenComp++, 0, 0) }, true ); in prepareShaderBindingTable()
1047 const bool includeTriangles = (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_param in travelRay()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/
H A DvktRayTracingPipelineFlagsTests.cpp78 Triangle = 0x1, member in vkt::RayTracing::__anon29741::GeometryTypes
80 TriangleAndBox = Triangle | Box
155 const deUint32 triangleCount = (params.geomTypes == GeometryTypes::Triangle || params.geomTypes == GeometryTypes::TriangleAndBox) ? nameCount : 0u; in calcDefBoxRetGreenComp()
236 return (rec.geomType == GeometryTypes::Triangle) ? rec.retValue : hitAttr;
550 && (GeometryTypes::Triangle == m_params.geomTypes)) in checkSupport()
654 << " if (record.geomType == " << deUint32(GeometryTypes::Triangle) << ")" << endl in initPrograms()
815 if (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_params.geomTypes == GeometryTypes::TriangleAndBox))) in createBottomLevelAccelerationStructs()
882 const bool includeTriangles = (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_params.geomTypes == GeometryTypes::TriangleAndBox))); in prepareShaderBindingTable()
922 shaderRecords[shaderGroupIndex] = std::tuple<VkShaderStageFlags, HitGroup, ShaderRecordEXT, bool>( flags, hitGroup, { GeometryTypes::Triangle, geometryIndex, tcu::IVec4(0, greenComp++, 0, 0) }, true ); in prepareShaderBindingTable()
1039 const bool includeTriangles = (!m_params.isect() && ((m_params.geomTypes == GeometryTypes::Triangle) || (m_param in travelRay()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DSetupRoutine.cpp55 const int V0 = OFFSET(Triangle,v0); in generate()
56 const int V1 = (triangle || line) ? OFFSET(Triangle,v1) : OFFSET(Triangle,v0); in generate()
57 const int V2 = triangle ? OFFSET(Triangle,v2) : (line ? OFFSET(Triangle,v1) : OFFSET(Triangle,v0)); in generate()
554 int leadingVertex = leadingVertexFirst ? OFFSET(Triangle,v0) : OFFSET(Triangle,v2); in setupGradient()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DSetupRoutine.cpp52 const int V0 = OFFSET(Triangle, v0); in generate()
53 const int V1 = (triangle || line) ? OFFSET(Triangle, v1) : OFFSET(Triangle, v0); in generate()
54 const int V2 = triangle ? OFFSET(Triangle, v2) : (line ? OFFSET(Triangle, v1) : OFFSET(Triangle, v0)); in generate()
559 int leadingVertex = OFFSET(Triangle, v0); in setupGradient()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cTextureBarrierTests.cpp259 } Triangle; in generateVertexData() typedef
276 Triangle list[TRIANGLE_COUNT]; in generateVertexData()
299 Triangle xchg = list[j]; in generateVertexData()
/third_party/skia/src/sfnt/
H A DSkPanose.h39 Triangle = 10, member in SkPanose::Data::TextAndDisplay::SerifStyle
374 Triangle = 10, member in SkPanose::Data::Decorative::SerifVariant
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureMultisampleTests.cpp153 struct Triangle struct in deqp::gles31::Functional::__anon30949::SamplePosRasterizationTest
162 std::vector<Triangle> m_testTriangles;
241 Triangle tri; in init()
250 Triangle tri; in init()
263 Triangle tri; in init()
270 Triangle tri; in init()
401 gl.bufferData (GL_ARRAY_BUFFER, (glw::GLsizeiptr)(m_testTriangles.size() * sizeof(Triangle)), &m_testTriangles[0], GL_STATIC_DRAW); in genMultisampleTexture()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp1165 typedef tcu::Vector<tcu::Vec3, 3> Triangle; typedef
1167 inline Triangle makeTriangle (const PerPrimitive& primitive) in makeTriangle()
1169 return Triangle(primitive.tessCoord[0].swizzle(0, 1, 2), in makeTriangle()
1182 typedef LexCompare<Triangle, 3, VecLexLessThan<3> > TriangleLexLessThan; in compareTriangleSets()
1183 typedef std::set<Triangle, TriangleLexLessThan> TriangleSet; in compareTriangleSets()
1198 Triangle triangle = makeTriangle(primitives[triNdx]); in compareTriangleSets()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationInvarianceTests.cpp1153 typedef tcu::Vector<tcu::Vec3, 3> Triangle; typedef
1155 inline Triangle makeTriangle (const PerPrimitive& primitive) in makeTriangle()
1157 return Triangle(primitive.tessCoord[0].swizzle(0, 1, 2), in makeTriangle()
1170 typedef LexCompare<Triangle, 3, VecLexLessThan<3> > TriangleLexLessThan; in compareTriangleSets()
1171 typedef std::set<Triangle, TriangleLexLessThan> TriangleSet; in compareTriangleSets()
1186 Triangle triangle = makeTriangle(primitives[triNdx]); in compareTriangleSets()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DMultisampleTest.cpp281 TEST_P(MultisampleTest, Triangle) in TEST_P()
371 // Triangle edge: in TEST_P()

Completed in 56 milliseconds

12