Home
last modified time | relevance | path

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

1234

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/ccpr/
H A DGrSampleMaskProcessor.cpp36 if (PrimitiveType::kTriangles == proc.fPrimitiveType) { in onEmitCode()
66 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in reset()
71 switch (fPrimitiveType) { in reset()
81 auto instanceAttribType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
83 auto shaderVarType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
96 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in primType()
98 switch (fPrimitiveType) { in primType()
113 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in bindBuffers()
115 switch (fPrimitiveType) { in bindBuffers()
132 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in drawInstances()
[all …]
H A DGrCCCoverageProcessor.h75 PrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
78 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints()
81 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles()
82 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles()
86 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight()
87 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight()
91 const char* name() const override { return PrimitiveTypeName(fPrimitiveType); } in name()
99 b->add32((int)fPrimitiveType); in getGLSLProcessorKey()
225 PrimitiveType fPrimitiveType; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/ccpr/
H A DGrSampleMaskProcessor.cpp35 if (PrimitiveType::kTriangles == proc.fPrimitiveType) { in onEmitCode()
65 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in reset()
70 switch (fPrimitiveType) { in reset()
80 auto instanceAttribType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
82 auto shaderVarType = (PrimitiveType::kQuadratics == fPrimitiveType) in reset()
95 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in primType()
97 switch (fPrimitiveType) { in primType()
112 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in bindBuffers()
114 switch (fPrimitiveType) { in bindBuffers()
131 SkASSERT(PrimitiveType::kWeightedTriangles != fPrimitiveType); in drawInstances()
[all …]
H A DGrCCCoverageProcessor.h75 PrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
78 int numInputPoints() const { return PrimitiveType::kCubics == fPrimitiveType ? 4 : 3; } in numInputPoints()
81 return PrimitiveType::kTriangles == fPrimitiveType || in isTriangles()
82 PrimitiveType::kWeightedTriangles == fPrimitiveType; in isTriangles()
86 return PrimitiveType::kWeightedTriangles == fPrimitiveType || in hasInputWeight()
87 PrimitiveType::kConics == fPrimitiveType; in hasInputWeight()
91 const char* name() const override { return PrimitiveTypeName(fPrimitiveType); } in name()
94 b->add32((int)fPrimitiveType); in getGLSLProcessorKey()
221 PrimitiveType fPrimitiveType; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/samplecode/
H A DSampleCCPRGeometry.cpp68 PrimitiveType fPrimitiveType = PrimitiveType::kCubics; member in CCPRGeometryView
188 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
190 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent()
226 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
247 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData()
270 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData()
274 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData()
346 proc->reset(fView->fPrimitiveType, i, rp); in onExecute()
349 if (PrimitiveType::kCubics == fView->fPrimitiveType || in onExecute()
417 fPrimitiveType = PrimitiveType(unichar - '1'); in onChar()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/samplecode/
H A DSampleCCPRGeometry.cpp66 PrimitiveType fPrimitiveType = PrimitiveType::kTriangles; member in CCPRGeometryView
216 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
218 } else if (PrimitiveType::kConics == fPrimitiveType) { in onDrawContent()
233 if (PrimitiveType::kCubics == fPrimitiveType) { in onDrawContent()
260 if (PrimitiveType::kCubics == fPrimitiveType) { in updateGpuData()
285 } else if (PrimitiveType::kTriangles != fPrimitiveType) { in updateGpuData()
289 if (PrimitiveType::kQuadratics == fPrimitiveType) { in updateGpuData()
362 proc->reset(fView->fPrimitiveType, i, rp); in onExecute()
454 fPrimitiveType = PrimitiveType(unichar - '1'); in onChar()
456 fPrimitiveType = (PrimitiveType) ((int)fPrimitiveType + 1); in onChar()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/ccpr/
H A 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()
H A 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
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/ccpr/
H A 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()
H A 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
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/ccpr/
H A 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()
H A 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
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/ccpr/
H A 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()
H A 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
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/
H A DGrProgramInfo.h33 , fPrimitiveType(primitiveType)
36 SkASSERT((GrPrimitiveType::kPatches == fPrimitiveType) ==
57 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
59 SkASSERT(GrPrimitiveType::kPatches == fPrimitiveType); in tessellationPatchVertexCount()
64 return ((uint16_t)fPrimitiveType << 8) | fTessellationPatchVertexCount; in primitiveTypeKey()
94 GrPrimitiveType fPrimitiveType; variable
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/gpu/batches/
H A DGrDrawVerticesBatch.h42 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
44 return kTriangles_GrPrimitiveType == fPrimitiveType || in batchablePrimitiveType()
45 kLines_GrPrimitiveType == fPrimitiveType || in batchablePrimitiveType()
46 kPoints_GrPrimitiveType == fPrimitiveType; in batchablePrimitiveType()
59 GrPrimitiveType fPrimitiveType; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/src/gpu/
H A DGrProgramInfo.h36 , fPrimitiveType(primitiveType) in GrProgramInfo()
41 SkASSERT((GrPrimitiveType::kPatches == fPrimitiveType) == in GrProgramInfo()
71 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
73 SkASSERT(GrPrimitiveType::kPatches == fPrimitiveType); in tessellationPatchVertexCount()
80 return ((uint16_t)fPrimitiveType << 8) | fTessellationPatchVertexCount; in primitiveTypeKey()
111 GrPrimitiveType fPrimitiveType; variable
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/skia/skia/src/gpu/
H A DGrMesh.h16 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
27 GrPrimitiveType fPrimitiveType;
54 fPrimitiveType = primType; in init()
80 fPrimitiveType = primType; in initIndexed()
111 fPrimitiveType = primType; in initInstanced()
148 fInstanceBatch.fPrimitiveType = mesh.fPrimitiveType; in init()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/ops/
H A DGrDrawVerticesOp.h70 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
72 return GrPrimitiveType::kTriangles == fPrimitiveType || in combinablePrimitive()
73 GrPrimitiveType::kLines == fPrimitiveType || in combinablePrimitive()
74 GrPrimitiveType::kPoints == fPrimitiveType; in combinablePrimitive()
123 GrPrimitiveType fPrimitiveType; variable
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/skia/skia/src/gpu/
H A DGrMesh.h25 : fPrimitiveType(primitiveType) in GrMesh()
30 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType()
82 GrPrimitiveType fPrimitiveType; variable
205 impl->sendInstancedMeshToGpu(primProc, fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
210 impl->sendIndexedInstancedMeshToGpu(primProc, fPrimitiveType, fIndexBuffer.get(), in sendToGpu()
221 impl->sendMeshToGpu(primProc, fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
227 impl->sendIndexedMeshToGpu(primProc, fPrimitiveType, fIndexBuffer.get(), in sendToGpu()
243 impl->sendIndexedMeshToGpu(primProc, fPrimitiveType, fIndexBuffer.get(), in sendToGpu()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/gpu/
H A 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()
93 GrPrimitiveType fPrimitiveType; variable
223 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
229 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu()
239 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
246 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu()
263 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/gpu/
H A 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()
93 GrPrimitiveType fPrimitiveType; variable
223 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
229 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu()
239 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
246 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu()
263 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/gpu/
H A 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()
93 GrPrimitiveType fPrimitiveType; variable
223 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
229 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu()
239 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
246 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu()
263 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/gpu/
H A 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()
93 GrPrimitiveType fPrimitiveType; variable
223 impl->sendInstancedMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
229 fPrimitiveType, fIndexBuffer.get(), fInstanceIndexData.fIndexCount, 0, in sendToGpu()
239 impl->sendMeshToGpu(fPrimitiveType, fVertexBuffer.get(), in sendToGpu()
246 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount, in sendToGpu()
263 fPrimitiveType, fIndexBuffer.get(), fIndexData.fIndexCount * repeatCount, 0, in sendToGpu()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/gpu/gl/
H A DGrGLOpsRenderPass.cpp39 fPrimitiveType = programInfo.primitiveType(); in onBindPipeline()
124 fGpu->drawArrays(fPrimitiveType, 0, vertexCount); in onDraw()
129 fGpu->drawArrays(fPrimitiveType, baseVertex, vertexCount); in onDraw()
136 fGpu->drawRangeElements(fPrimitiveType, minIndexValue, maxIndexValue, indexCount, in onDrawIndexed()
139 fGpu->drawElements(fPrimitiveType, indexCount, GR_GL_UNSIGNED_SHORT, in onDrawIndexed()
150 fGpu->drawArraysInstanced(fPrimitiveType, baseVertex, vertexCount, in onDrawInstanced()
161 fGpu->drawElementsInstanced(fPrimitiveType, indexCount, GR_GL_UNSIGNED_SHORT, in onDrawIndexedInstanced()

1234