/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 23 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()
|
D | GrGLSLVertexGeoBuilder.h | 22 GrSLType devPosType = GrSLType::kFloat2_GrSLType) { 27 GrSLType devPosType = GrSLType::kFloat2_GrSLType); 70 GrSLType devPosType = GrSLType::kFloat2_GrSLType) { 74 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
|
D | GrGLSLVertexGeoBuilder.cpp | 22 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition() 31 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.cpp | 90 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 …]
|
D | GrSPIRVUniformHandler.cpp | 59 case kFloat2_GrSLType: in grsltype_to_alignment_mask() 116 case kFloat2_GrSLType: in grsltype_to_size() 310 return get_ubo_offset(¤tOffset, kFloat2_GrSLType, 0); in getRTFlipOffset()
|
/third_party/skia/src/gpu/tessellate/shaders/ |
D | GrStrokeTessellationShader.cpp | 40 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()
|
D | GrPathTessellationShader_MiddleOut.cpp | 44 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()
|
D | GrPathTessellationShader.cpp | 27 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()
|
D | GrPathTessellationShader_Hardware.cpp | 41 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()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 43 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 …]
|
D | GrBitmapTextGeoProc.cpp | 37 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()
|
D | GrAtlasedShaderHelpers.h | 77 kFloat2_GrSLType); in append_multitexture_lookup() 82 kFloat2_GrSLType); in append_multitexture_lookup()
|
/third_party/skia/src/gpu/ops/ |
D | AtlasInstancedHelper.cpp | 21 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()
|
D | DrawAtlasPathOp.cpp | 35 "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()
|
D | PathStencilCoverOp.cpp | 38 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/ |
D | GrGLSLVertexGeoBuilder.cpp | 21 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition() 29 SkASSERT(kFloat2_GrSLType == devPosType); in emitNormalizedSkPosition()
|
D | GrGLSLVertexGeoBuilder.h | 33 GrSLType devPosType = GrSLType::kFloat2_GrSLType) { 38 GrSLType devPosType = GrSLType::kFloat2_GrSLType);
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrCCPathProcessor.cpp | 158 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()
|
D | GrSampleMaskProcessor.cpp | 52 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode() 72 fInputAttribs.emplace_back("point", kFloat2_GrVertexAttribType, kFloat2_GrSLType); in reset()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 195 "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/skia/src/gpu/effects/ |
D | GrAtlasedShaderHelpers.h | 58 uv->reset(kFloat2_GrSLType); in append_index_uv_varyings() 72 st->reset(kFloat2_GrSLType); in append_index_uv_varyings()
|
D | GrDistanceFieldGeoProc.cpp | 66 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()
|
D | GrBezierEffect.h | 101 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}, 164 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
|
D | GrBitmapTextGeoProc.cpp | 57 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/ |
D | samplelocations.cpp | 123 GrGLSLVarying coord(kFloat2_GrSLType); in onEmitCode() 124 GrGLSLVarying grad(kFloat2_GrSLType); in onEmitCode() 155 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|