Home
last modified time | relevance | path

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

1234

/external/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()
/external/skqp/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()
/external/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()
342 kFloat2_GrSLType, in onEmitCode()
346 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
349 GrGLSLVarying st(kFloat2_GrSLType); in onEmitCode()
525 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
528 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.h65 kFloat2_GrSLType); in append_multitexture_lookup()
70 kFloat2_GrSLType); in append_multitexture_lookup()
DGrBezierEffect.h122 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
207 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
/external/skqp/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp43 kFloat2_GrSLType, in onEmitCode()
70 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
73 GrGLSLVarying st(kFloat2_GrSLType); in onEmitCode()
231 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
235 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldA8TextGeoProc()
342 kFloat2_GrSLType, in onEmitCode()
347 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
350 GrGLSLVarying st(kFloat2_GrSLType); in onEmitCode()
525 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
528 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrDistanceFieldPathGeoProc()
[all …]
DGrBitmapTextGeoProc.cpp37 kFloat2_GrSLType, in onEmitCode()
42 GrGLSLVarying uv(kFloat2_GrSLType); in onEmitCode()
139 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in GrBitmapTextGeoProc()
149 caps.integerSupport() ? kUShort2_GrSLType : kFloat2_GrSLType}; in GrBitmapTextGeoProc()
DGrAtlasedShaderHelpers.h65 kFloat2_GrSLType); in append_multitexture_lookup()
70 kFloat2_GrSLType); in append_multitexture_lookup()
DGrBezierEffect.h122 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
207 {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
/external/skia/src/gpu/ccpr/
DGrCCPathProcessor.cpp155 kFloat2_GrSLType, "atlas_adjust", &atlasAdjust); in onEmitCode()
206 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
222 this->emitTransforms(v, varyingHandler, uniHandler, GrShaderVar("octocoord", kFloat2_GrSLType), in onEmitCode()
231 kFloat2_GrSLType); in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp153 kFloat2_GrSLType, "atlas_adjust", &atlasAdjust); in onEmitCode()
203 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
219 this->emitTransforms(v, varyingHandler, uniHandler, GrShaderVar("octocoord", kFloat2_GrSLType), in onEmitCode()
228 kFloat2_GrSLType); in onEmitCode()
/external/skqp/src/gpu/ops/
DGrAAFillRRectOp.cpp281 {"translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType},
366 GrShaderVar localCoord("", kFloat2_GrSLType); in onEmitCode()
370 localCoord.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
378 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
381 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp145 kFloat2_GrSLType, in onEmitCode()
280 GrShaderVar("vec", kFloat2_GrSLType), in emitApplyBoneFunction()
293 vertBuilder->emitFunction(kFloat2_GrSLType, in emitApplyBoneFunction()
343 fInPosition = {"inPosition", kFloat2_GrVertexAttribType, kFloat2_GrSLType}; in DefaultGeoProc()
350 kFloat2_GrSLType}; in DefaultGeoProc()
/external/skia/src/gpu/ops/
DGrAAFillRRectOp.cpp274 fInTranslate = { "translate", kFloat2_GrVertexAttribType, kFloat2_GrSLType }; in Processor()
381 GrShaderVar localCoord("", kFloat2_GrSLType); in onEmitCode()
385 localCoord.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
393 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
396 GrGLSLVarying arcCoord(useHWDerivatives ? kFloat2_GrSLType : kFloat4_GrSLType); in onEmitCode()
/external/skia/gm/
Dsamplelocations.cpp82 GrGLSLVarying coord(kFloat2_GrSLType); in onEmitCode()
83 GrGLSLVarying grad(kFloat2_GrSLType); in onEmitCode()
114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
Dfwidth_squircle.cpp34 {"bboxcoord", kFloat2_GrVertexAttribType, kFloat2_GrSLType};
67 GrGLSLVarying squircleCoord(kFloat2_GrSLType); in onEmitCode()
Dclockwise.cpp29 {"vertex", kFloat2_GrVertexAttribType, kFloat2_GrSLType};
72 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp27 {"bboxcoord", kFloat2_GrVertexAttribType, kFloat2_GrSLType};
70 GrGLSLVarying squircleCoord(kFloat2_GrSLType); in onEmitCode()
Dclockwise.cpp26 {"vertex", kFloat2_GrVertexAttribType, kFloat2_GrSLType};
69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/include/private/
DGrTypesPriv.h362 kFloat2_GrSLType, enumerator
444 case kFloat2_GrSLType: in GrSLTypeIsFloatType()
506 case kFloat2_GrSLType: in GrSLTypeVecLength()
586 case kFloat2_GrSLType: in GrSLTypeIsCombinedSamplerType()
654 case kFloat2_GrSLType: in GrSLTypeAcceptsPrecision()
686 case kFloat2_GrSLType: in GrSLTypeTemporarilyAcceptsPrecision()

1234