Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/skia/src/gpu/effects/
DGrDistanceFieldTextureEffect.cpp54 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsCoordName, &fsCoordNamePtr); in emitCode()
63 kVec2f_GrSLType, "TextureSize", in emitCode()
69 kVec2f_GrSLType); in emitCode()
118 builder->fsAppendTextureLookup(samplers[1], "uv", kVec2f_GrSLType); in emitCode()
186 this->addVertexAttrib(kVec2f_GrSLType); in GrDistanceFieldTextureEffect()
271 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsCoordName, &fsCoordNamePtr); in emitCode()
298 builder->fsAppendTextureLookup(samplers[0], "uv", kVec2f_GrSLType); in emitCode()
305 builder->fsAppendTextureLookup(samplers[0], "uv_adjusted", kVec2f_GrSLType); in emitCode()
311 builder->fsAppendTextureLookup(samplers[0], "uv_adjusted", kVec2f_GrSLType); in emitCode()
362 builder->fsAppendTextureLookup(samplers[1], "uv", kVec2f_GrSLType); in emitCode()
[all …]
DGrCustomCoordsTextureEffect.cpp33 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsVaryingName, &fsVaryingNamePtr); in emitCode()
44 kVec2f_GrSLType); in emitCode()
61 this->addVertexAttrib(kVec2f_GrSLType); in GrCustomCoordsTextureEffect()
DGrConvolutionEffect.cpp66 kVec2f_GrSLType, "ImageIncrement"); in emitCode()
69 kVec2f_GrSLType, "Bounds"); in emitCode()
/external/skia/src/gpu/effects/
DGrDistanceFieldTextureEffect.cpp54 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsCoordName, &fsCoordNamePtr); in emitCode()
63 kVec2f_GrSLType, "TextureSize", in emitCode()
69 kVec2f_GrSLType); in emitCode()
118 builder->fsAppendTextureLookup(samplers[1], "uv", kVec2f_GrSLType); in emitCode()
186 this->addVertexAttrib(kVec2f_GrSLType); in GrDistanceFieldTextureEffect()
271 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsCoordName, &fsCoordNamePtr); in emitCode()
298 builder->fsAppendTextureLookup(samplers[0], "uv", kVec2f_GrSLType); in emitCode()
305 builder->fsAppendTextureLookup(samplers[0], "uv_adjusted", kVec2f_GrSLType); in emitCode()
311 builder->fsAppendTextureLookup(samplers[0], "uv_adjusted", kVec2f_GrSLType); in emitCode()
362 builder->fsAppendTextureLookup(samplers[1], "uv", kVec2f_GrSLType); in emitCode()
[all …]
DGrCustomCoordsTextureEffect.cpp33 builder->addVarying(kVec2f_GrSLType, "textureCoords", &vsVaryingName, &fsVaryingNamePtr); in emitCode()
44 kVec2f_GrSLType); in emitCode()
61 this->addVertexAttrib(kVec2f_GrSLType); in GrCustomCoordsTextureEffect()
DGrConvolutionEffect.cpp66 kVec2f_GrSLType, "ImageIncrement"); in emitCode()
69 kVec2f_GrSLType, "Bounds"); in emitCode()
DGrBicubicEffect.cpp60 kVec2f_GrSLType, "ImageIncrement"); in emitCode()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLProgramEffects.cpp326 varyingType = kVec2f_GrSLType; in emitTransforms()
329 transforms[t].fType = kVec2f_GrSLType; in emitTransforms()
331 varyingType = kVec2f_GrSLType; in emitTransforms()
336 varyingType = kVec2f_GrSLType; in emitTransforms()
376 SkASSERT(kVec2f_GrSLType == varyingType); in emitTransforms()
379 case kVec2f_GrSLType: in emitTransforms()
380 SkASSERT(kVec2f_GrSLType == varyingType); in emitTransforms()
385 SkASSERT(kVec2f_GrSLType == varyingType || kVec3f_GrSLType == varyingType); in emitTransforms()
386 if (kVec2f_GrSLType == varyingType) { in emitTransforms()
429 case kVec2f_GrSLType: { in setTransformData()
[all …]
DGrGLShaderBuilder.h136 GrSLType coordType = kVec2f_GrSLType) const;
141 GrSLType coordType = kVec2f_GrSLType);
151 GrSLType coordType = kVec2f_GrSLType);
DGrGLShaderBuilder.cpp44 if (kVec2f_GrSLType == type) { in sample_function_name()
58 GrSLType varyingType = kVec2f_GrSLType) { in append_texture_lookup()
133 this->addUniform(kFragment_Visibility, kVec2f_GrSLType, "DstCopyUpperLeft", in genProgram()
136 this->addUniform(kFragment_Visibility, kVec2f_GrSLType, "DstCopyCoordScale", in genProgram()
475 SkASSERT(kVec2f_GrSLType == coords[index].type()); in ensureFSCoords2D()
838 fPositionVar->set(kVec2f_GrSLType, GrGLShaderVar::kAttribute_TypeModifier, "aPosition"); in emitCodeBeforeEffects()
841 fLocalCoordsVar->set(kVec2f_GrSLType, in emitCodeBeforeEffects()
DGrGLUniformManager.cpp84 SkASSERT(uni.fType == kVec2f_GrSLType); in set2f()
99 SkASSERT(uni.fType == kVec2f_GrSLType); in set2fv()
DGrGLSL.h60 case kVec2f_GrSLType: in GrGLSLTypeString()
/external/skia/src/gpu/gl/
DGrGLProgramEffects.cpp326 varyingType = kVec2f_GrSLType; in emitTransforms()
329 transforms[t].fType = kVec2f_GrSLType; in emitTransforms()
331 varyingType = kVec2f_GrSLType; in emitTransforms()
336 varyingType = kVec2f_GrSLType; in emitTransforms()
376 SkASSERT(kVec2f_GrSLType == varyingType); in emitTransforms()
379 case kVec2f_GrSLType: in emitTransforms()
380 SkASSERT(kVec2f_GrSLType == varyingType); in emitTransforms()
385 SkASSERT(kVec2f_GrSLType == varyingType || kVec3f_GrSLType == varyingType); in emitTransforms()
386 if (kVec2f_GrSLType == varyingType) { in emitTransforms()
429 case kVec2f_GrSLType: { in setTransformData()
[all …]
DGrGLShaderBuilder.h136 GrSLType coordType = kVec2f_GrSLType) const;
141 GrSLType coordType = kVec2f_GrSLType);
151 GrSLType coordType = kVec2f_GrSLType);
DGrGLShaderBuilder.cpp44 if (kVec2f_GrSLType == type) { in sample_function_name()
58 GrSLType varyingType = kVec2f_GrSLType) { in append_texture_lookup()
133 this->addUniform(kFragment_Visibility, kVec2f_GrSLType, "DstCopyUpperLeft", in genProgram()
136 this->addUniform(kFragment_Visibility, kVec2f_GrSLType, "DstCopyCoordScale", in genProgram()
475 SkASSERT(kVec2f_GrSLType == coords[index].type()); in ensureFSCoords2D()
838 fPositionVar->set(kVec2f_GrSLType, GrGLShaderVar::kAttribute_TypeModifier, "aPosition"); in emitCodeBeforeEffects()
841 fLocalCoordsVar->set(kVec2f_GrSLType, in emitCodeBeforeEffects()
DGrGLUniformManager.cpp84 SkASSERT(uni.fType == kVec2f_GrSLType); in set2f()
99 SkASSERT(uni.fType == kVec2f_GrSLType); in set2fv()
DGrGLSL.h60 case kVec2f_GrSLType: in GrGLSLTypeString()
/external/chromium_org/third_party/skia/include/gpu/
DGrTypesPriv.h21 kVec2f_GrSLType, enumerator
42 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeVectorCount()
58 GR_STATIC_ASSERT(kVec2f_GrSLType == 2); in GrSLFloatVectorType()
/external/skia/include/gpu/
DGrTypesPriv.h21 kVec2f_GrSLType, enumerator
42 GR_STATIC_ASSERT(2 == kVec2f_GrSLType); in GrSLTypeVectorCount()
58 GR_STATIC_ASSERT(kVec2f_GrSLType == 2); in GrSLFloatVectorType()
/external/chromium_org/third_party/skia/src/effects/
DSkPerlinNoiseShader.cpp667 kVec2f_GrSLType, "baseFrequency"); in emitCode()
676 kVec2f_GrSLType, "stitchData"); in emitCode()
705 GrGLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode()
710 GrGLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode()
711 GrGLShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
747 builder->appendTextureLookup(&noiseCode, samplers[0], xCoords.c_str(), kVec2f_GrSLType); in emitCode()
757 builder->appendTextureLookup(&noiseCode, samplers[0], xCoords.c_str(), kVec2f_GrSLType); in emitCode()
782 kVec2f_GrSLType); in emitCode()
794 kVec2f_GrSLType); in emitCode()
810 kVec2f_GrSLType); in emitCode()
[all …]
DSkMagnifierImageFilter.cpp131 kVec2f_GrSLType, "Offset"); in emitCode()
135 kVec2f_GrSLType, "InvZoom"); in emitCode()
139 kVec2f_GrSLType, "InvInset"); in emitCode()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp667 kVec2f_GrSLType, "baseFrequency"); in emitCode()
676 kVec2f_GrSLType, "stitchData"); in emitCode()
705 GrGLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode()
710 GrGLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode()
711 GrGLShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
747 builder->appendTextureLookup(&noiseCode, samplers[0], xCoords.c_str(), kVec2f_GrSLType); in emitCode()
757 builder->appendTextureLookup(&noiseCode, samplers[0], xCoords.c_str(), kVec2f_GrSLType); in emitCode()
782 kVec2f_GrSLType); in emitCode()
794 kVec2f_GrSLType); in emitCode()
810 kVec2f_GrSLType); in emitCode()
[all …]
DSkMagnifierImageFilter.cpp131 kVec2f_GrSLType, "Offset"); in emitCode()
135 kVec2f_GrSLType, "InvZoom"); in emitCode()
139 kVec2f_GrSLType, "InvInset"); in emitCode()
/external/chromium_org/third_party/skia/src/gpu/
DGrOvalRenderer.cpp220 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets", &vsOffsetName, &fsOffsetName); in emitCode()
268 this->addVertexAttrib(kVec2f_GrSLType); in EllipseEdgeEffect()
359 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets0", in emitCode()
365 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets1", in emitCode()
424 this->addVertexAttrib(kVec2f_GrSLType); in DIEllipseEdgeEffect()
425 this->addVertexAttrib(kVec2f_GrSLType); in DIEllipseEdgeEffect()
/external/skia/src/gpu/
DGrOvalRenderer.cpp220 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets", &vsOffsetName, &fsOffsetName); in emitCode()
268 this->addVertexAttrib(kVec2f_GrSLType); in EllipseEdgeEffect()
359 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets0", in emitCode()
365 builder->addVarying(kVec2f_GrSLType, "EllipseOffsets1", in emitCode()
424 this->addVertexAttrib(kVec2f_GrSLType); in DIEllipseEdgeEffect()
425 this->addVertexAttrib(kVec2f_GrSLType); in DIEllipseEdgeEffect()

12