/third_party/flutter/skia/samplecode/ |
D | SampleCCPRGeometry.cpp | 63 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/ |
D | GrSampleMaskProcessor.cpp | 36 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()
|
D | GrCCCoverageProcessor.h | 77 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
|
D | GrVSCoverageProcessor.cpp | 266 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode() 457 fPrimitiveType = primitiveType; in reset() 458 switch (fPrimitiveType) { in reset() 543 switch (fPrimitiveType) { in onCreateGLSLInstance()
|
D | GrGSCoverageProcessor.h | 27 b->add32(((int)fPrimitiveType << 16) | (int)fSubpass); in getGLSLProcessorKey()
|
D | GrCCCoverageProcessor.cpp | 180 switch (fPrimitiveType) { in createGLSLInstance()
|
D | GrGSCoverageProcessor.cpp | 412 fPrimitiveType = primitiveType; // This will affect the return values for numInputPoints, etc. in reset()
|
/third_party/skia/src/gpu/ |
D | GrProgramInfo.h | 41 , 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
|
D | GrOpFlushState.cpp | 60 fCurrDraw->fPrimitiveType, in executeDrawsAndUploadsForMeshDrawOp() 174 draw.fPrimitiveType = primitiveType; in recordDraw()
|
D | GrOpFlushState.h | 286 GrPrimitiveType fPrimitiveType; member
|
/third_party/flutter/skia/src/gpu/ |
D | GrMesh.h | 26 : 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/ |
D | GrTessellationShader.h | 24 , 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/ |
D | GrGLOpsRenderPass.cpp | 82 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 …]
|
D | GrGLOpsRenderPass.h | 94 GrPrimitiveType fPrimitiveType; variable
|
/third_party/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 94 fPrimitiveType = primitiveType; in init() 105 target->recordDraw(gp, fMesh, 1, fPrimitiveType); in recordDraw() 112 target->recordDraw(gp, fMesh, 1, primProcProxies, fPrimitiveType); in recordDraw()
|
D | DrawVerticesOp.cpp | 244 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()
|
D | DefaultPathRenderer.cpp | 64 : 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
|
D | GrMeshDrawOp.h | 76 GrPrimitiveType fPrimitiveType; variable
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 71 : 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
|
D | GrDrawVerticesOp.cpp | 73 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()
|