Home
last modified time | relevance | path

Searched refs:fPrimitiveType (Results 1 – 20 of 20) sorted by relevance

/third_party/flutter/skia/samplecode/
DSampleCCPRGeometry.cpp63 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles; member in CCPRGeometryView
207 GrCCCoverageProcessor::PrimitiveTypeName(fPrimitiveType)); in onDrawContent()
208 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
210 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent()
225 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
252 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData()
277 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData()
281 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData()
285 SkASSERT(PrimitiveType::kConics == fPrimitiveType); in updateGpuData()
302 if (PrimitiveType::kQuadratics == fPrimitiveType && in updateGpuData()
[all …]
/third_party/flutter/skia/src/gpu/ccpr/
DGrSampleMaskProcessor.cpp36 if (PrimitiveType::kTriangles == proc.fPrimitiveType) { in onEmitCode()
63 fPrimitiveType = primitiveType; // This will affect the return values for numInputPoints, etc. in reset()
64 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in reset()
69 switch (fPrimitiveType) { in reset()
79 auto instanceAttribType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
81 auto shaderVarType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
95 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in appendMesh()
97 switch (fPrimitiveType) { in appendMesh()
DGrCCCoverageProcessor.h77 PrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
80 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints()
83 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles()
84 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles()
88 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight()
89 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight()
93 const char* name() const override { return PrimitiveTypeName(fPrimitiveType); } in name()
101 b->add32((int)fPrimitiveType); in getGLSLProcessorKey()
226 PrimitiveType fPrimitiveType; variable
DGrVSCoverageProcessor.cpp266 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode()
457 fPrimitiveType = primitiveType; in reset()
458 switch (fPrimitiveType) { in reset()
543 switch (fPrimitiveType) { in onCreateGLSLInstance()
DGrGSCoverageProcessor.h27 b->add32(((int)fPrimitiveType << 16) | (int)fSubpass); in getGLSLProcessorKey()
DGrCCCoverageProcessor.cpp180 switch (fPrimitiveType) { in createGLSLInstance()
DGrGSCoverageProcessor.cpp412 fPrimitiveType = primitiveType; // This will affect the return values for numInputPoints, etc. in reset()
/third_party/skia/src/gpu/
DGrProgramInfo.h41 , fPrimitiveType(primitiveType) in GrProgramInfo()
50 SkASSERT((GrPrimitiveType::kPatches == fPrimitiveType) == in GrProgramInfo()
68 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
70 SkASSERT(GrPrimitiveType::kPatches == fPrimitiveType); in tessellationPatchVertexCount()
85 return ((uint16_t)fPrimitiveType << 8) | fTessellationPatchVertexCount; in primitiveTypeKey()
112 GrPrimitiveType fPrimitiveType; variable
DGrOpFlushState.cpp60 fCurrDraw->fPrimitiveType, in executeDrawsAndUploadsForMeshDrawOp()
174 draw.fPrimitiveType = primitiveType; in recordDraw()
DGrOpFlushState.h286 GrPrimitiveType fPrimitiveType; member
/third_party/flutter/skia/src/gpu/
DGrMesh.h26 : fPrimitiveType(primitiveType), fBaseVertex(0) { in fPrimitiveType() function
30 void setPrimitiveType(GrPrimitiveType type) { fPrimitiveType = type; } in setPrimitiveType()
31 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
94 GrPrimitiveType fPrimitiveType; variable
224 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
230 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu()
240 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
247 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu()
264 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
/third_party/skia/src/gpu/tessellate/shaders/
DGrTessellationShader.h24 , fPrimitiveType(primitiveType) in GrTessellationShader()
33 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
75 pipeline, stencil, shader, shader->fPrimitiveType, in MakeProgram()
81 const GrPrimitiveType fPrimitiveType;
/third_party/skia/src/gpu/gl/
DGrGLOpsRenderPass.cpp82 fPrimitiveType = programInfo.primitiveType(); in onBindPipeline()
183 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDraw()
193 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndexed()
226 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawInstanced()
244 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndexedInstanced()
294 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndirect()
302 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndirect()
320 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in multiDrawArraysANGLEOrWebGL()
366 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndexedIndirect()
374 GrGLenum glPrimType = fGpu->prepareToDraw(fPrimitiveType); in onDrawIndexedIndirect()
[all …]
DGrGLOpsRenderPass.h94 GrPrimitiveType fPrimitiveType; variable
/third_party/skia/src/gpu/ops/
DGrMeshDrawOp.cpp94 fPrimitiveType = primitiveType; in init()
105 target->recordDraw(gp, fMesh, 1, fPrimitiveType); in recordDraw()
112 target->recordDraw(gp, fMesh, 1, primProcProxies, fPrimitiveType); in recordDraw()
DDrawVerticesOp.cpp244 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
246 return GrPrimitiveType::kTriangles == fPrimitiveType || in combinablePrimitive()
247 GrPrimitiveType::kLines == fPrimitiveType || in combinablePrimitive()
248 GrPrimitiveType::kPoints == fPrimitiveType; in combinablePrimitive()
287 GrPrimitiveType fPrimitiveType; member in skgpu::v1::DrawVerticesOp::__anon2d6083510111::DrawVerticesOpImpl
310 , fPrimitiveType(primitiveType) in DrawVerticesOpImpl()
346 (int)fPrimitiveType, fMeshes.count(), fVertexCount, fIndexCount, in onDumpInfo()
DDefaultPathRenderer.cpp64 : fPrimitiveType(primitiveType) in PathGeoBuilder()
207 return GrPrimitiveType::kLines == fPrimitiveType || in isIndexed()
208 GrPrimitiveType::kTriangles == fPrimitiveType; in isIndexed()
211 return GrPrimitiveType::kLines == fPrimitiveType || in isHairline()
212 GrPrimitiveType::kLineStrip == fPrimitiveType; in isHairline()
215 switch (fPrimitiveType) { in indexScale()
365 GrPrimitiveType fPrimitiveType; member in __anon416918880111::PathGeoBuilder
DGrMeshDrawOp.h76 GrPrimitiveType fPrimitiveType; variable
/third_party/flutter/skia/src/gpu/ops/
DGrDefaultPathRenderer.cpp71 : fPrimitiveType(primitiveType) in PathGeoBuilder()
201 return GrPrimitiveType::kLines == fPrimitiveType || in isIndexed()
202 GrPrimitiveType::kTriangles == fPrimitiveType; in isIndexed()
205 return GrPrimitiveType::kLines == fPrimitiveType || in isHairline()
206 GrPrimitiveType::kLineStrip == fPrimitiveType; in isHairline()
209 switch (fPrimitiveType) { in indexScale()
272 GrMesh* mesh = fTarget->allocMesh(fPrimitiveType); in emitMeshAndPutBackReserve()
313 GrPrimitiveType fPrimitiveType; member in __anon7631e7560111::PathGeoBuilder
DGrDrawVerticesOp.cpp73 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
75 return GrPrimitiveType::kTriangles == fPrimitiveType || in combinablePrimitive()
76 GrPrimitiveType::kLines == fPrimitiveType || in combinablePrimitive()
77 GrPrimitiveType::kPoints == fPrimitiveType; in combinablePrimitive()
125 GrPrimitiveType fPrimitiveType; member in __anon4f4b595f0111::DrawVerticesOp
142 , fPrimitiveType(primitiveType) in DrawVerticesOp()
197 string.appendf("PrimType: %d, MeshCount %d, VCount: %d, ICount: %d\n", (int)fPrimitiveType, in dumpInfo()