/external/skia/samplecode/ |
D | SampleCCPRGeometry.cpp | 62 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles; member in CCPRGeometryView 213 GrCCCoverageProcessor::PrimitiveTypeName(fPrimitiveType)); in onDrawContent() 214 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent() 216 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent() 231 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent() 258 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData() 283 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData() 287 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData() 291 SkASSERT(PrimitiveType::kConics == fPrimitiveType); in updateGpuData() 308 if (PrimitiveType::kQuadratics == fPrimitiveType && in updateGpuData() [all …]
|
/external/skqp/samplecode/ |
D | SampleCCPRGeometry.cpp | 60 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles; member in CCPRGeometryView 210 GrCCCoverageProcessor::PrimitiveTypeName(fPrimitiveType)); in onDrawContent() 211 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent() 213 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent() 228 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent() 255 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData() 280 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData() 284 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData() 288 SkASSERT(PrimitiveType::kConics == fPrimitiveType); in updateGpuData() 305 if (PrimitiveType::kQuadratics == fPrimitiveType && in updateGpuData() [all …]
|
/external/skia/src/gpu/ccpr/ |
D | GrCCCoverageProcessor.h | 73 , fPrimitiveType(type) in GrCCCoverageProcessor() 84 const char* name() const override { return PrimitiveTypeName(fPrimitiveType); } in name() 217 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints() 220 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles() 221 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles() 225 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight() 226 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight() 242 , fPrimitiveType(proc.fPrimitiveType) in GrCCCoverageProcessor() 263 const PrimitiveType fPrimitiveType; variable
|
D | GrCCCoverageProcessor.cpp | 189 int key = (int)fPrimitiveType << 2; in getGLSLProcessorKey() 206 switch (fPrimitiveType) { in createGLSLInstance()
|
D | GrCCCoverageProcessor_VSImpl.cpp | 267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode() 449 switch (fPrimitiveType) { in initVS() 542 switch (fPrimitiveType) { in createVSImpl()
|
D | GrCCCoverageProcessor_GSImpl.cpp | 62 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in emitGeometryShader()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCCoverageProcessor.h | 73 , fPrimitiveType(type) in GrCCCoverageProcessor() 84 const char* name() const override { return PrimitiveTypeName(fPrimitiveType); } in name() 217 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints() 220 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles() 221 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles() 225 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight() 226 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight() 242 , fPrimitiveType(proc.fPrimitiveType) in GrCCCoverageProcessor() 263 const PrimitiveType fPrimitiveType; variable
|
D | GrCCCoverageProcessor.cpp | 186 int key = (int)fPrimitiveType << 2; in getGLSLProcessorKey() 203 switch (fPrimitiveType) { in createGLSLInstance()
|
D | GrCCCoverageProcessor_VSImpl.cpp | 267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode() 448 switch (fPrimitiveType) { in initVS() 541 switch (fPrimitiveType) { in createVSImpl()
|
D | GrCCCoverageProcessor_GSImpl.cpp | 62 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in emitGeometryShader()
|
/external/skqp/src/gpu/ |
D | GrMesh.h | 25 : fPrimitiveType(primitiveType), fBaseVertex(0) { in fPrimitiveType() function 29 void setPrimitiveType(GrPrimitiveType type) { fPrimitiveType = type; } in setPrimitiveType() 30 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType() 78 GrPrimitiveType fPrimitiveType; 208 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 214 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu() 223 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu() 229 impl->sendIndexedMeshToGpu(fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu() 247 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
|
/external/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()
|
/external/skqp/src/gpu/ops/ |
D | GrDrawVerticesOp.h | 96 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType() 98 return GrPrimitiveType::kTriangles == fPrimitiveType || in combinablePrimitive() 99 GrPrimitiveType::kLines == fPrimitiveType || in combinablePrimitive() 100 GrPrimitiveType::kPoints == fPrimitiveType; in combinablePrimitive() 159 GrPrimitiveType fPrimitiveType; variable
|
D | GrDefaultPathRenderer.cpp | 70 : fPrimitiveType(primitiveType) in PathGeoBuilder() 202 return GrPrimitiveType::kLines == fPrimitiveType || in isIndexed() 203 GrPrimitiveType::kTriangles == fPrimitiveType; in isIndexed() 206 return GrPrimitiveType::kLines == fPrimitiveType || in isHairline() 207 GrPrimitiveType::kLineStrip == fPrimitiveType; in isHairline() 210 switch (fPrimitiveType) { in indexScale() 273 GrMesh* mesh = fTarget->allocMesh(fPrimitiveType); in emitMeshAndPutBackReserve() 314 GrPrimitiveType fPrimitiveType; member in __anon992fb3e50111::PathGeoBuilder
|
D | GrDrawVerticesOp.cpp | 39 , fPrimitiveType(primitiveType) in GrDrawVerticesOp() 120 string.appendf("PrimType: %d, MeshCount %d, VCount: %d, ICount: %d\n", (int)fPrimitiveType, in dumpInfo()
|
/external/skia/src/gpu/ops/ |
D | GrDefaultPathRenderer.cpp | 70 : fPrimitiveType(primitiveType) in PathGeoBuilder() 200 return GrPrimitiveType::kLines == fPrimitiveType || in isIndexed() 201 GrPrimitiveType::kTriangles == fPrimitiveType; in isIndexed() 204 return GrPrimitiveType::kLines == fPrimitiveType || in isHairline() 205 GrPrimitiveType::kLineStrip == fPrimitiveType; in isHairline() 208 switch (fPrimitiveType) { in indexScale() 271 GrMesh* mesh = fTarget->allocMesh(fPrimitiveType); in emitMeshAndPutBackReserve() 312 GrPrimitiveType fPrimitiveType; member in __anon372be18e0111::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 __anon04da10970111::DrawVerticesOp 142 , fPrimitiveType(primitiveType) in DrawVerticesOp() 197 string.appendf("PrimType: %d, MeshCount %d, VCount: %d, ICount: %d\n", (int)fPrimitiveType, in dumpInfo()
|