Home
last modified time | relevance | path

Searched refs:kFloat2_GrSLType (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp23 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode()
27 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
39 case kFloat2_GrSLType: in emitCode()
79 GrSLType varyingType = kFloat2_GrSLType; in emitTransforms()
91 if (kFloat2_GrSLType == varyingType) { in emitTransforms()
118 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
129 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
138 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
DGrGLSLVertexGeoBuilder.h22 GrSLType devPosType = GrSLType::kFloat2_GrSLType) {
27 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
70 GrSLType devPosType = GrSLType::kFloat2_GrSLType) {
74 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
DGrGLSLVertexGeoBuilder.cpp22 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
31 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp90 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode()
94 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
106 SkASSERT(localCoordsVar.getType() == kFloat2_GrSLType || in collectTransforms()
109 SkASSERT(positionVar.getType() == kFloat2_GrSLType || in collectTransforms()
184 varying = GrGLSLVarying(hasPerspective ? kFloat3_GrSLType : kFloat2_GrSLType); in collectTransforms()
275 if (inputCoords.getType() == kFloat2_GrSLType) { in emitTransformCode()
283 if (info.varying.type() == kFloat2_GrSLType) { in emitTransformCode()
352 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_passthrough_vertex_position()
369 SkASSERT(inPos.getType() == kFloat3_GrSLType || inPos.getType() == kFloat2_GrSLType); in write_vertex_position()
431 outPos->set(kFloat2_GrSLType, outName.c_str()); in write_vertex_position()
[all …]
DGrSPIRVUniformHandler.cpp59 case kFloat2_GrSLType: in grsltype_to_alignment_mask()
116 case kFloat2_GrSLType: in grsltype_to_size()
310 return get_ubo_offset(&currentOffset, kFloat2_GrSLType, 0); in getRTFlipOffset()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp40 fAttribs.emplace_back("prevCtrlPtAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader()
73 fAttribs.emplace_back("argsAttr", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in GrStrokeTessellationShader()
78 kFloat2_GrSLType); in GrStrokeTessellationShader()
327 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode()
328 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in emitTessellationCode()
334 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode()
335 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in emitTessellationCode()
DGrPathTessellationShader_MiddleOut.cpp44 kFloat2_GrSLType); in MiddleOutShader()
65 kFloat2_GrSLType); in MiddleOutShader()
196 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl()
197 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
DGrPathTessellationShader_Hardware.cpp41 kFloat2_GrSLType}; in HardwareWedgeShader()
65 v->declareGlobal(GrShaderVar("vsPt", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl()
182 kFloat2_GrSLType}; in HardwareCurveShader()
209 v->declareGlobal(GrShaderVar("P", kFloat2_GrSLType, GrShaderVar::TypeModifier::Out)); in makeProgramImpl()
DGrPathTessellationShader.cpp27 kFloat2_GrSLType}; in SimpleTriangleShader()
50 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl()
51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
126 kFloat2_GrSLType, "translate", &translate); in onEmitCode()
/third_party/flutter/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp43 kFloat2_GrSLType, in onEmitCode()
69 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
72 GrGLSLVarying st(kFloat2_GrSLType); in onEmitCode()
231 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
235 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
343 kFloat2_GrSLType, in onEmitCode()
347 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
350 GrGLSLVarying st(kFloat2_GrSLType); in onEmitCode()
526 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
529 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
[all …]
DGrBitmapTextGeoProc.cpp37 kFloat2_GrSLType, in onEmitCode()
41 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
138 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrBitmapTextGeoProc()
148 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrBitmapTextGeoProc()
DGrAtlasedShaderHelpers.h77 kFloat2_GrSLType); in append_multitexture_lookup()
82 kFloat2_GrSLType); in append_multitexture_lookup()
/third_party/skia/src/gpu/ops/
DAtlasInstancedHelper.cpp21 instanceAttribs->emplace_back("sizeInAtlas", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in appendInstanceAttribs()
45 GrGLSLVarying atlasCoord(kFloat2_GrSLType); in injectShaderCode()
50 nullptr, kVertex_GrShaderFlag, kFloat2_GrSLType, "atlas_adjust", &atlasAdjustName); in injectShaderCode()
DDrawAtlasPathOp.cpp35 "unitCoord", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in DrawAtlasPathShader()
41 fAttribs.emplace_back("translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in DrawAtlasPathShader()
93 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
99 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in onEmitCode()
DPathStencilCoverOp.cpp38 kFloat2_GrSLType); in BoundingBoxShader()
43 {"translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType}, in BoundingBoxShader()
87 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in makeProgramImpl()
88 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
/third_party/skia/src/gpu/glsl/
DGrGLSLVertexGeoBuilder.cpp21 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
29 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
DGrGLSLVertexGeoBuilder.h33 GrSLType devPosType = GrSLType::kFloat2_GrSLType) {
38 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
/third_party/flutter/skia/src/gpu/ops/
DGrFillRRectOp.cpp195 "translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in Processor()
442 GrShaderVar localCoord("", kFloat2_GrSLType); in onEmitCode()
446 localCoord.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
455 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
458 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
620 GrShaderVar localCoord("", kFloat2_GrSLType); in onEmitCode()
624 localCoord.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
633 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
641 GrGLSLVarying arcCoord((useHWDerivatives) ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp158 kVertex_GrShaderFlag, kFloat2_GrSLType, "atlas_adjust", &atlasAdjust); in onEmitCode()
162 GrGLSLVarying texcoord((isCoverageCount) ? kFloat3_GrSLType : kFloat2_GrSLType); in onEmitCode()
217 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
227 kFloat2_GrSLType); in onEmitCode()
DGrSampleMaskProcessor.cpp52 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
72 fInputAttribs.emplace_back("point", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in reset()
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp66 kFloat2_GrSLType, in onEmitCode()
226 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
230 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
354 kFloat2_GrSLType, in onEmitCode()
493 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
496 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
620 kFloat2_GrSLType, in onEmitCode()
805 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldLCDTextGeoProc()
809 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldLCDTextGeoProc()
DGrAtlasedShaderHelpers.h76 uv->reset(kFloat2_GrSLType); in append_index_uv_varyings()
90 st->reset(kFloat2_GrSLType); in append_index_uv_varyings()
DGrBezierEffect.h101 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
164 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
DGrBitmapTextGeoProc.cpp57 kFloat2_GrSLType, "AtlasSizeInv", &atlasDimensionsInvName); in onEmitCode()
132 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrBitmapTextGeoProc()
142 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrBitmapTextGeoProc()
/third_party/flutter/skia/gm/
Dsamplelocations.cpp123 GrGLSLVarying coord(kFloat2_GrSLType); in onEmitCode()
124 GrGLSLVarying grad(kFloat2_GrSLType); in onEmitCode()
155 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()

12345