Home
last modified time | relevance | path

Searched refs:Vertex (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/external/skia/src/gpu/
DGrTriangulator.h44 struct Vertex;
131 void* emitTriangle(Vertex* prev, Vertex* curr, Vertex* next, int winding, void* data) const;
133 Poly* makePoly(Poly** head, Vertex* v, int winding) const;
140 Edge* makeEdge(Vertex* prev, Vertex* next, EdgeType type, const Comparator&) const;
141 void setTop(Edge* edge, Vertex* v, EdgeList* activeEdges, Vertex** current,
143 void setBottom(Edge* edge, Vertex* v, EdgeList* activeEdges, Vertex** current,
145 void mergeEdgesAbove(Edge* edge, Edge* other, EdgeList* activeEdges, Vertex** current,
147 void mergeEdgesBelow(Edge* edge, Edge* other, EdgeList* activeEdges, Vertex** current,
149 Edge* makeConnectingEdge(Vertex* prev, Vertex* next, EdgeType, const Comparator&,
151 void mergeVertices(Vertex* src, Vertex* dst, VertexList* mesh, const Comparator&) const;
[all …]
DGrAATriangulator.cpp26 using Vertex = GrTriangulator::Vertex; typedef
39 SSVertex(Vertex* v) : fVertex(v), fPrev(nullptr), fNext(nullptr) {} in SSVertex()
40 Vertex* fVertex;
55 typedef std::unordered_map<Vertex*, SSVertex*> SSVertexMap;
65 Vertex* prev = e->fPrev->fVertex; in makeEvent()
66 Vertex* next = e->fNext->fVertex; in makeEvent()
84 void GrAATriangulator::makeEvent(SSEdge* edge, Vertex* v, SSEdge* other, Vertex* dest, in makeEvent()
89 Vertex* top = edge->fEdge->fTop; in makeEvent()
90 Vertex* bottom = edge->fEdge->fBottom; in makeEvent()
110 for (Vertex* outer = mesh->fHead; outer; outer = outer->fNext) { in connectPartners()
[all …]
DGrTriangulator.cpp29 using Vertex = GrTriangulator::Vertex; typedef
83 static inline void* emit_vertex(Vertex* v, bool emitCoverage, void* data) { in emit_vertex()
94 static void* emit_triangle(Vertex* v0, Vertex* v1, Vertex* v2, bool emitCoverage, void* data) { in emit_triangle()
113 void GrTriangulator::VertexList::insert(Vertex* v, Vertex* prev, Vertex* next) { in insert()
114 list_insert<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, prev, next, &fHead, &fTail); in insert()
117 void GrTriangulator::VertexList::remove(Vertex* v) { in remove()
118 list_remove<Vertex, &Vertex::fPrev, &Vertex::fNext>(v, &fHead, &fTail); in remove()
237 Vertex* first = vertices.fHead; in emitMonotonePoly()
238 Vertex* v = first->fNext; in emitMonotonePoly()
241 Vertex* prev = v->fPrev; in emitMonotonePoly()
[all …]
DGrAATriangulator.h73 void makeEvent(SSEdge*, Vertex* v, SSEdge* other, Vertex* dest, EventList* events,
77 void connectSSEdge(Vertex* v, Vertex* dest, const Comparator&) const;
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp70 Pointer<Byte> cacheEntry = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
76 vertex += sizeof(Vertex); in generate()
559 …*Pointer<Float4>(vertexCache + sizeof(Vertex) * cacheIndex3 + OFFSET(Vertex, position), 16) = pos.… in writeCache()
560 …*Pointer<Float4>(vertexCache + sizeof(Vertex) * cacheIndex2 + OFFSET(Vertex, position), 16) = pos.… in writeCache()
561 …*Pointer<Float4>(vertexCache + sizeof(Vertex) * cacheIndex1 + OFFSET(Vertex, position), 16) = pos.… in writeCache()
562 …*Pointer<Float4>(vertexCache + sizeof(Vertex) * cacheIndex0 + OFFSET(Vertex, position), 16) = pos.… in writeCache()
564 …*Pointer<Int>(vertexCache + sizeof(Vertex) * cacheIndex3 + OFFSET(Vertex, clipFlags)) = (clipFlags… in writeCache()
565 …*Pointer<Int>(vertexCache + sizeof(Vertex) * cacheIndex2 + OFFSET(Vertex, clipFlags)) = (clipFlags… in writeCache()
566 …*Pointer<Int>(vertexCache + sizeof(Vertex) * cacheIndex1 + OFFSET(Vertex, clipFlags)) = (clipFlags… in writeCache()
567 …*Pointer<Int>(vertexCache + sizeof(Vertex) * cacheIndex0 + OFFSET(Vertex, clipFlags)) = (clipFlags… in writeCache()
[all …]
DSetupRoutine.cpp61 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.x)); in generate()
62 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.x)); in generate()
63 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.x)); in generate()
65 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex, projected.y)); in generate()
66 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex, projected.y)); in generate()
67 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex, projected.y)); in generate()
84 Int w0w1w2 = *Pointer<Int>(v0 + OFFSET(Vertex, w)) ^ in generate()
85 *Pointer<Int>(v1 + OFFSET(Vertex, w)) ^ in generate()
86 *Pointer<Int>(v2 + OFFSET(Vertex, w)); in generate()
271 Float y0 = *Pointer<Float>(v0 + OFFSET(Vertex, y)); in generate()
[all …]
/external/skqp/src/gpu/
DGrTessellator.cpp101 struct Vertex;
148 struct Vertex { struct
149 Vertex(const SkPoint& point, uint8_t alpha) in Vertex() argument
161 Vertex* fPrev; // Linked list of contours, then Y-sorted vertices. argument
162 Vertex* fNext; // " argument
169 Vertex* fPartner; // Corresponding inner or outer vertex (for AA). argument
197 inline void* emit_vertex(Vertex* v, bool emitCoverage, void* data) { in emit_vertex()
208 void* emit_triangle(Vertex* v0, Vertex* v1, Vertex* v2, bool emitCoverage, void* data) { in emit_triangle()
229 VertexList(Vertex* head, Vertex* tail) : fHead(head), fTail(tail) {} in VertexList()
230 Vertex* fHead;
[all …]
/external/llvm/include/llvm/Support/
DGenericDomTreeConstruction.h43 Vertex.push_back(V); // Vertex[n] = V; in DFSPass()
70 DT.Vertex.push_back(BB); // Vertex[n] = V; in DFSPass()
124 typename GraphT::NodeType* VAncestor = DT.Vertex[VInfo.Parent]; in Eval()
162 DT.Vertex.push_back(nullptr); // Vertex[n] = V; in Calculate()
191 typename GraphT::NodeType* W = DT.Vertex[i]; in Calculate()
197 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]]; in Calculate()
222 DT.IDoms[W] = DT.Vertex[WInfo.Parent]; in Calculate()
230 typename GraphT::NodeType* Root = DT.Vertex[1]; in Calculate()
232 typename GraphT::NodeType* V = DT.Vertex[Buckets[j]]; in Calculate()
239 typename GraphT::NodeType* W = DT.Vertex[i]; in Calculate()
[all …]
/external/swiftshader/tests/VulkanBenchmarks/
DTriangleBenchmarks.cpp43 struct Vertex in TriangleSolidColor() struct
48 Vertex vertexBufferData[] = { in TriangleSolidColor()
55 …::VertexInputAttributeDescription(0, 0, vk::Format::eR32G32B32Sfloat, offsetof(Vertex, position))); in TriangleSolidColor()
94 struct Vertex in TriangleInterpolateColor() struct
100 Vertex vertexBufferData[] = { in TriangleInterpolateColor()
107 …::VertexInputAttributeDescription(0, 0, vk::Format::eR32G32B32Sfloat, offsetof(Vertex, position))); in TriangleInterpolateColor()
108 …(vk::VertexInputAttributeDescription(1, 0, vk::Format::eR32G32B32Sfloat, offsetof(Vertex, color))); in TriangleInterpolateColor()
153 struct Vertex in TriangleSampleTexture() struct
159 Vertex vertexBufferData[] = { in TriangleSampleTexture()
166 …::VertexInputAttributeDescription(0, 0, vk::Format::eR32G32B32Sfloat, offsetof(Vertex, position))); in TriangleSampleTexture()
[all …]
/external/swiftshader/src/Shader/
DVertexRoutine.cpp69 Pointer<Byte> cacheLine0 = vertexCache + tagIndex * UInt((int)sizeof(Vertex)); in generate()
74 Pointer<Byte> cacheLine = vertexCache + cacheIndex * UInt((int)sizeof(Vertex)); in generate()
89 vertex += sizeof(Vertex); in generate()
683 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0) = v.x.x; in writeCache()
684 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1) = v.x.y; in writeCache()
685 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2) = v.x.z; in writeCache()
686 *Pointer<Float>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 3) = v.x.w; in writeCache()
699 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 0, 16) = v.x; in writeCache()
700 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 1, 16) = v.y; in writeCache()
701 *Pointer<Float4>(cacheLine + OFFSET(Vertex,v[i]) + sizeof(Vertex) * 2, 16) = v.z; in writeCache()
[all …]
DSetupRoutine.cpp68 X[0] = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
69 X[1] = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
70 X[2] = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
72 Y[0] = *Pointer<Int>(v0 + OFFSET(Vertex,Y)); in generate()
73 Y[1] = *Pointer<Int>(v1 + OFFSET(Vertex,Y)); in generate()
74 Y[2] = *Pointer<Int>(v2 + OFFSET(Vertex,Y)); in generate()
321 Float rhw0 = *Pointer<Float>(v0 + OFFSET(Vertex,W)); in generate()
323 Int X0 = *Pointer<Int>(v0 + OFFSET(Vertex,X)); in generate()
324 Int X1 = *Pointer<Int>(v1 + OFFSET(Vertex,X)); in generate()
325 Int X2 = *Pointer<Int>(v2 + OFFSET(Vertex,X)); in generate()
[all …]
/external/angle/src/libANGLE/renderer/metal/doc/
DTransformFeedback.md7 Shader or Vertex Shader to write vertex outputs to buffers directly.
8 - If Vertex Shader writes to buffers directly as well as to stage output (i.e. `[[position]]`,
25 - First pass: Vertex Shader will write captured varyings to XFB buffers.
27 translation step. `spirv-cross` can convert the Vertex Shader to a `void` function,
29 - Second pass: Vertex Shader will write to stage output normally, but the XFB buffers writing
30 snippet are disabled. Note that the Vertex Shader in this pass is essential the same as the
32 effectively executes the same Vertex Shader's internal logic twice.
39 `MTLRenderPipelineState`'s rasterization because if doing so, Metal runtime requires the Vertex
43 - However, the Vertex Shader will be translated to write `(-3, -3, -3, 1)` to
52 - Instead of executing the same Vertex Shader's logic twice, one alternative approach is writing the
[all …]
/external/skqp/gm/
Dbeziereffects.cpp96 struct Vertex { struct in skiagm::BezierConicTestOp
102 SkASSERT(this->gp()->vertexStride() == sizeof(Vertex)); in onPrepareDraws()
103 QuadHelper helper(target, sizeof(Vertex), 1); in onPrepareDraws()
104 Vertex* verts = reinterpret_cast<Vertex*>(helper.vertices()); in onPrepareDraws()
110 rect.fBottom, sizeof(Vertex)); in onPrepareDraws()
160 struct Vertex { in onDraw() struct
318 struct Vertex { struct in skiagm::BezierQuadTestOp
324 SkASSERT(this->gp()->vertexStride() == sizeof(Vertex)); in onPrepareDraws()
325 QuadHelper helper(target, sizeof(Vertex), 1); in onPrepareDraws()
326 Vertex* verts = reinterpret_cast<Vertex*>(helper.vertices()); in onPrepareDraws()
[all …]
/external/llvm-project/clang/test/CodeGenCXX/
Ddebug-info-template-array.cpp9 struct Vertex {}; struct
13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>(); in crash()
/external/clang/test/CodeGenCXX/
Ddebug-info-template-array.cpp9 struct Vertex {}; struct
13 unique_ptr<Vertex<2>[]> v = unique_ptr<Vertex<2>[]>(); in crash()
/external/swiftshader/src/Device/
DTriangle.hpp24 Vertex V0;
25 Vertex V1;
26 Vertex V2;
DPrimitive.hpp25 Vertex v0;
26 Vertex v1;
27 Vertex v2;
DVertex.hpp23 struct alignas(16) Vertex struct
56 static_assert((sizeof(Vertex) & 0x0000000F) == 0, "Vertex size not a multiple of 16 bytes (alignmen…
/external/swiftshader/src/Renderer/
DTriangle.hpp24 Vertex V0;
25 Vertex V1;
26 Vertex V2;
DPrimitive.hpp25 Vertex v0;
26 Vertex v1;
27 Vertex v2;
DVertex.hpp62 ALIGN(16, struct Vertex
95 …static_assert((sizeof(Vertex) & 0x0000000F) == 0, "Vertex size not a multiple of 16 bytes (alignme…
/external/skia/gm/
Dbeziereffects.cpp166 struct Vertex { struct in skiagm::BezierConicTestOp
177 SkASSERT(tmp->vertexStride() == sizeof(Vertex)); in makeGP()
182 QuadHelper helper(target, sizeof(Vertex), 1); in onPrepareDraws()
183 Vertex* verts = reinterpret_cast<Vertex*>(helper.vertices()); in onPrepareDraws()
188 SkPointPriv::SetRectTriStrip(&verts[0].fPosition, rect, sizeof(Vertex)); in onPrepareDraws()
370 struct Vertex { struct in skiagm::BezierQuadTestOp
381 SkASSERT(tmp->vertexStride() == sizeof(Vertex)); in makeGP()
386 QuadHelper helper(target, sizeof(Vertex), 1); in onPrepareDraws()
387 Vertex* verts = reinterpret_cast<Vertex*>(helper.vertices()); in onPrepareDraws()
392 SkPointPriv::SetRectTriStrip(&verts[0].fPosition, rect, sizeof(Vertex)); in onPrepareDraws()
[all …]
/external/swiftshader/tests/VulkanUnitTests/
DDrawTests.cpp30 struct Vertex in TEST_F() struct
35 Vertex vertexBufferData[] = { in TEST_F()
42 …::VertexInputAttributeDescription(0, 0, vk::Format::eR32G32B32Sfloat, offsetof(Vertex, position))); in TEST_F()
/external/perfetto/test/trace_processor/graphics/
Dgpu_counters.out2 11,5.000000,"Vertex / Second",0,"Number of vertices per second","25/22"
6 21,10.000000,"Vertex / Second",0,"Number of vertices per second","25/22"
10 31,15.000000,"Vertex / Second",0,"Number of vertices per second","25/22"
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp478 ASSERT((*shaderHLSL)[gl::ShaderType::Vertex].empty() && in generateShaderLinkHLSL()
481 gl::Shader *vertexShaderGL = programData.getAttachedShader(ShaderType::Vertex); in generateShaderLinkHLSL()
503 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateShaderLinkHLSL()
893 (*shaderHLSL)[gl::ShaderType::Vertex] = vertexStream.str(); in generateShaderLinkHLSL()
906 const auto &vertexBuiltins = builtinsD3D[gl::ShaderType::Vertex]; in generateGeometryShaderPreamble()
1360 updateBuiltins(gl::ShaderType::Vertex, metadata, packing); in BuiltinVaryingsD3D()
1369 ASSERT(shaderModel < 4 || mBuiltinInfo[gl::ShaderType::Vertex].glPosition.enabled == in BuiltinVaryingsD3D()
1371 ASSERT(shaderModel < 4 || mBuiltinInfo[gl::ShaderType::Vertex].glFragCoord.enabled == in BuiltinVaryingsD3D()
1373 ASSERT(shaderModel < 4 || mBuiltinInfo[gl::ShaderType::Vertex].glPointCoord.enabled == in BuiltinVaryingsD3D()
1375 ASSERT(shaderModel < 4 || mBuiltinInfo[gl::ShaderType::Vertex].glPointSize.enabled == in BuiltinVaryingsD3D()
[all …]

12345678910>>...26