Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleCCPRGeometry.cpp62 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/
DSampleCCPRGeometry.cpp60 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/
DGrCCCoverageProcessor.h73 , 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
DGrCCCoverageProcessor.cpp189 int key = (int)fPrimitiveType << 2; in getGLSLProcessorKey()
206 switch (fPrimitiveType) { in createGLSLInstance()
DGrCCCoverageProcessor_VSImpl.cpp267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode()
449 switch (fPrimitiveType) { in initVS()
542 switch (fPrimitiveType) { in createVSImpl()
DGrCCCoverageProcessor_GSImpl.cpp62 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in emitGeometryShader()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor.h73 , 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
DGrCCCoverageProcessor.cpp186 int key = (int)fPrimitiveType << 2; in getGLSLProcessorKey()
203 switch (fPrimitiveType) { in createGLSLInstance()
DGrCCCoverageProcessor_VSImpl.cpp267 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in onEmitCode()
448 switch (fPrimitiveType) { in initVS()
541 switch (fPrimitiveType) { in createVSImpl()
DGrCCCoverageProcessor_GSImpl.cpp62 if (PrimitiveType::kWeightedTriangles == proc.fPrimitiveType) { in emitGeometryShader()
/external/skqp/src/gpu/
DGrMesh.h25 : 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/
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()
/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.h96 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
DGrDefaultPathRenderer.cpp70 : 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 __anonf366088e0111::PathGeoBuilder
DGrDrawVerticesOp.cpp39 , 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/
DGrDefaultPathRenderer.cpp70 : 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 __anon916236370111::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 __anon76c597a00111::DrawVerticesOp
142 , fPrimitiveType(primitiveType) in DrawVerticesOp()
197 string.appendf("PrimType: %d, MeshCount %d, VCount: %d, ICount: %d\n", (int)fPrimitiveType, in dumpInfo()