Searched refs:VertexSpec (Results 1 - 5 of 5) sorted by relevance
/third_party/skia/src/gpu/ops/ |
H A D | QuadPerEdgeAA.h | 51 // This order matches the constructor argument order of VertexSpec and is the order that 53 struct VertexSpec { struct in skgpu::v1::QuadPerEdgeAA::Subset::ColorType::IndexBufferOption 55 VertexSpec() in VertexSpec() function 66 VertexSpec(GrQuad::Type deviceQuadType, ColorType colorType, GrQuad::Type localQuadType, in VertexSpec() function 135 // as specified by a VertexSpec. This vertex data can then be processed by a GP created with 139 explicit Tessellator(const VertexSpec& spec, char* vertices); 142 // necessary position and vertex attributes required by this Tessellator's VertexSpec into 145 // 'localQuad' can be null if the VertexSpec does not use local coords. 152 // VertexSpec defines many unique ways to write vertex attributes, which can be handled 153 // generically by branching per-quad based on the VertexSpec [all...] |
H A D | QuadPerEdgeAA.cpp | 31 using VertexSpec = skgpu::v1::QuadPerEdgeAA::VertexSpec; 35 // Generic WriteQuadProc that can handle any VertexSpec. It writes the 4 vertices in triangle strip 36 // order, although the data per-vertex is dependent on the VertexSpec. 38 const VertexSpec& spec, in write_quad_generic() 90 const VertexSpec& spec, in write_2d_color() 97 // Assert assumptions about VertexSpec in write_2d_color() 122 const VertexSpec& spec, in write_2d_uv() 129 // Assert assumptions about VertexSpec in write_2d_uv() 149 const VertexSpec in write_2d_color_uv() [all...] |
H A D | FillRectOp.cpp | 30 using VertexSpec = skgpu::v1::QuadPerEdgeAA::VertexSpec; 190 VertexSpec vertexSpec() const { in vertexSpec() 194 return VertexSpec(fQuads.deviceQuadType(), fColorType, fQuads.localQuadType(), in vertexSpec() 211 const VertexSpec vertexSpec = this->vertexSpec(); 238 const VertexSpec vertexSpec = this->vertexSpec(); 248 void tessellate(const VertexSpec& vertexSpec, char* dst) const { in tessellate() 266 const VertexSpec vertexSpec = this->vertexSpec(); 305 const VertexSpec vertexSpec = this->vertexSpec();
|
H A D | TextureOp.cpp | 50 using VertexSpec = skgpu::v1::QuadPerEdgeAA::VertexSpec; 408 VertexSpec fVertexSpec; 847 desc->fVertexSpec = VertexSpec(quadType, colorType, srcQuadType, /* hasLocal */ true, in characterize()
|
/third_party/skia/samplecode/ |
H A D | SampleDegenerateQuads.cpp | 19 using VertexSpec = skgpu::v1::QuadPerEdgeAA::VertexSpec; 415 static const VertexSpec kSpec =
|
Completed in 7 milliseconds