Home
last modified time | relevance | path

Searched refs:kVec2f_GrSLType (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp22 if (kVec2f_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
51 kVec2f_GrSLType; in emitTransforms()
67 SkASSERT(kVec2f_GrSLType == varyingType || kVec3f_GrSLType == varyingType); in emitTransforms()
72 if (kVec2f_GrSLType == varyingType) { in emitTransforms()
73 if (kVec2f_GrSLType == posVar.getType()) { in emitTransforms()
82 if (kVec2f_GrSLType == posVar.getType()) { in emitTransforms()
90 if (kVec2f_GrSLType == varyingType) { in emitTransforms()
109 GrSLType varyingType = kVec2f_GrSLType; in emitTransforms()
130 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
141 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
[all …]
DGrGLSLXferProcessor.cpp40 kVec2f_GrSLType, in emitCode()
45 kVec2f_GrSLType, in emitCode()
60 fragBuilder->appendTextureLookup(args.fSamplers[0], "_dstTexCoord", kVec2f_GrSLType); in emitCode()
DGrGLSLVertexShaderBuilder.cpp30 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
43 SkASSERT(kVec2f_GrSLType == posVar.getType()); in transformToNormalizedDeviceSpace()
DGrGLSL.h62 SkASSERT(kVec2f_GrSLType == coordType || kVec3f_GrSLType == coordType); in GrGLSLTexture2DFunctionName()
70 return (kVec2f_GrSLType == coordType) ? "texture" : "textureProj"; in GrGLSLTexture2DFunctionName()
72 if (kVec2f_GrSLType == coordType) { in GrGLSLTexture2DFunctionName()
95 case kVec2f_GrSLType: in GrGLSLTypeString()
DGrGLSLShaderBuilder.h45 GrSLType coordType = kVec2f_GrSLType) const;
50 GrSLType coordType = kVec2f_GrSLType);
60 GrSLType coordType = kVec2f_GrSLType);
DGrGLSLShaderBuilder.cpp67 if (varyingType == kVec2f_GrSLType) { in appendTextureLookup()
DGrGLSLFragmentShaderBuilder.cpp112 SkASSERT(kVec2f_GrSLType == coords[index].getType()); in ensureFSCoords2D()
/external/skia/include/gpu/
DGrTypesPriv.h21 kVec2f_GrSLType, enumerator
83 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeVectorCount()
104 GR_STATIC_ASSERT(kVec2f_GrSLType == 2); in GrSLFloatVectorType()
116 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeIsFloatType()
137 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeIsIntType()
178 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeSize()
305 return kVec2f_GrSLType; in GrVertexAttribTypeToSLType()
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp81 GrGLSLVertToFrag uv(kVec2f_GrSLType); in onEmitCode()
91 GrGLSLVertToFrag st(kVec2f_GrSLType); in onEmitCode()
105 kVec2f_GrSLType); in onEmitCode()
290 GrGLSLVertToFrag v(kVec2f_GrSLType); in onEmitCode()
318 kVec2f_GrSLType, kDefault_GrSLPrecision, in onEmitCode()
329 kVec2f_GrSLType); in onEmitCode()
523 GrGLSLVertToFrag uv(kVec2f_GrSLType); in onEmitCode()
532 GrGLSLVertToFrag st(kVec2f_GrSLType); in onEmitCode()
570 fragBuilder->appendTextureLookup(args.fSamplers[0], "uv", kVec2f_GrSLType); in onEmitCode()
577 fragBuilder->appendTextureLookup(args.fSamplers[0], "uv_adjusted", kVec2f_GrSLType); in onEmitCode()
[all …]
DGrBitmapTextGeoProc.cpp37 GrGLSLVertToFrag v(kVec2f_GrSLType); in onEmitCode()
71 kVec2f_GrSLType); in onEmitCode()
76 fragBuilder->appendTextureLookup(args.fSamplers[0], v.fsIn(), kVec2f_GrSLType); in onEmitCode()
DGrConvolutionEffect.cpp39 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
43 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
DGrMatrixConvolutionEffect.cpp44 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
51 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
DGrRRectEffect.cpp165 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
539 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
548 kVec2f_GrSLType, in emitCode()
DGrBicubicEffect.cpp55 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
DGrBezierEffect.cpp131 GrGLSLShaderVar gF("gF", kVec2f_GrSLType, 0, precision); in onEmitCode()
596 GrGLSLShaderVar gF("gF", kVec2f_GrSLType, 0, kHigh_GrSLPrecision); in onEmitCode()
/external/skia/src/gpu/
DGrPathProcessor.cpp68 kVec2f_GrSLType; in emitTransforms()
111 SkASSERT(transforms[t].fType == kVec2f_GrSLType || in setTransformData()
113 unsigned components = transforms[t].fType == kVec2f_GrSLType ? 2 : 3; in setTransformData()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp602 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
609 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
639 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode()
644 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode()
645 GrGLSLShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
682 kVec2f_GrSLType); in emitCode()
693 kVec2f_GrSLType); in emitCode()
718 kVec2f_GrSLType); in emitCode()
730 kVec2f_GrSLType); in emitCode()
746 kVec2f_GrSLType); in emitCode()
[all …]
DSkMagnifierImageFilter.cpp120 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
123 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
126 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
/external/skia/src/gpu/batches/
DGrPLSPathRenderer.cpp293 GrGLSLVertToFrag v1(kVec2f_GrSLType); in onEmitCode()
300 GrGLSLVertToFrag v2(kVec2f_GrSLType); in onEmitCode()
307 GrGLSLVertToFrag v3(kVec2f_GrSLType); in onEmitCode()
314 GrGLSLVertToFrag delta1(kVec2f_GrSLType); in onEmitCode()
319 GrGLSLVertToFrag delta2(kVec2f_GrSLType); in onEmitCode()
324 GrGLSLVertToFrag delta3(kVec2f_GrSLType); in onEmitCode()
494 GrGLSLVertToFrag uv(kVec2f_GrSLType); in onEmitCode()
498 GrGLSLVertToFrag ep1(kVec2f_GrSLType); in onEmitCode()
503 GrGLSLVertToFrag ep2(kVec2f_GrSLType); in onEmitCode()
508 GrGLSLVertToFrag delta(kVec2f_GrSLType); in onEmitCode()
[all …]
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp740 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
747 kVec2f_GrSLType, kDefault_GrSLPrecision, in emitCode()
777 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode()
782 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode()
783 GrGLSLShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
820 kVec2f_GrSLType); in emitCode()
831 kVec2f_GrSLType); in emitCode()
856 kVec2f_GrSLType); in emitCode()
868 kVec2f_GrSLType); in emitCode()
884 kVec2f_GrSLType); in emitCode()
[all …]
/external/skia/src/gpu/gl/
DGrGLProgramDataManager.cpp115 SkASSERT(uni.fType == kVec2f_GrSLType); in set2f()
130 SkASSERT(uni.fType == kVec2f_GrSLType); in set2fv()
272 SkASSERT((components == 2 && fragmentInput.fType == kVec2f_GrSLType) || in setPathFragmentInputTransform()
/external/skia/bench/
DGLVec4ScalarBench.cpp104 GrGLSLShaderVar aPosition("a_position", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader()
105 GrGLSLShaderVar oPosition("o_position", kVec2f_GrSLType, GrShaderVar::kVaryingOut_TypeModifier); in setupShader()
DGLInstancedArraysBench.cpp114 GrGLSLShaderVar aPosition("a_position", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader()
/external/skia/src/gpu/vk/
DGrVkProgramDataManager.cpp82 SkASSERT(uni.fType == kVec2f_GrSLType); in set2f()
102 SkASSERT(uni.fType == kVec2f_GrSLType); in set2fv()
DGrVkUniformHandler.cpp29 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in grsltype_to_alignment_mask()

12