/external/skia/src/gpu/glsl/ |
D | GrGLSLBlend.cpp | 125 GrGLSLShaderVar getLumArgs[] = { in add_lum_function() 126 GrGLSLShaderVar("color", kVec3f_GrSLType), in add_lum_function() 136 GrGLSLShaderVar setLumArgs[] = { in add_lum_function() 137 GrGLSLShaderVar("hueSat", kVec3f_GrSLType), in add_lum_function() 138 GrGLSLShaderVar("alpha", kFloat_GrSLType), in add_lum_function() 139 GrGLSLShaderVar("lumColor", kVec3f_GrSLType), in add_lum_function() 170 GrGLSLShaderVar getSatArgs[] = { GrGLSLShaderVar("color", kVec3f_GrSLType) }; in add_sat_function() 185 GrGLSLShaderVar helperArgs[] = { in add_sat_function() 186 GrGLSLShaderVar("minComp", kFloat_GrSLType), in add_sat_function() 187 GrGLSLShaderVar("midComp", kFloat_GrSLType), in add_sat_function() [all …]
|
D | GrGLSLShaderVar.h | 20 class GrGLSLShaderVar : public GrShaderVar { 25 GrGLSLShaderVar() in GrGLSLShaderVar() function 30 GrGLSLShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray, 38 GrGLSLShaderVar(const char* name, GrSLType type, TypeModifier typeModifier, 45 GrGLSLShaderVar(const GrShaderVar& var) in GrGLSLShaderVar() function 51 GrGLSLShaderVar(const GrGLSLShaderVar& var) in GrGLSLShaderVar() function
|
D | GrGLSLProgramBuilder.h | 23 class GrGLSLShaderVar; variable 73 virtual void finalizeFragmentOutputColor(GrGLSLShaderVar& outputColor) {} in finalizeFragmentOutputColor() 74 virtual void finalizeFragmentSecondaryColor(GrGLSLShaderVar& outputColor) {} in finalizeFragmentSecondaryColor()
|
D | GrGLSLShaderBuilder.h | 104 void declAppend(const GrGLSLShaderVar& var); 110 const GrGLSLShaderVar* args, 142 typedef GrTAllocator<GrGLSLShaderVar> VarArray;
|
D | GrGLSLFragmentShaderBuilder.cpp | 142 GrGLSLShaderVar::kIn_TypeModifier, in fragmentPosition() 262 GrGLSLShaderVar::kOut_TypeModifier, in enableCustomOutput() 281 fOutputs.push_back().set(kVec4f_GrSLType, GrGLSLShaderVar::kOut_TypeModifier, in enableSecondaryOutput()
|
D | GrGLSLShaderBuilder.cpp | 32 void GrGLSLShaderBuilder::declAppend(const GrGLSLShaderVar& var) { in declAppend() 41 const GrGLSLShaderVar* args, in emitFunction()
|
D | GrGLSLVarying.cpp | 84 const GrGLSLShaderVar& attr = fVertexInputs[j]; in addAttribute() 125 fGeomOutputs.push_back().set(v.fType, GrGLSLShaderVar::kVaryingOut_TypeModifier, in finalize()
|
/external/skia/src/gpu/vk/ |
D | GrVkProgramDataManager.cpp | 27 SkASSERT(GrGLSLShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkProgramDataManager() 44 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set1f() 65 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set1fv() 83 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set2f() 105 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set2fv() 123 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set3f() 145 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set3fv() 163 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set4f() 185 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)); in set4fv() 203 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in setMatrix3f() [all …]
|
D | GrVkUniformHandler.h | 31 GrGLSLShaderVar fVariable; 39 const GrGLSLShaderVar& getUniformVariable(UniformHandle u) const override { in getUniformVariable()
|
D | GrVkUniformHandler.cpp | 95 uni.fVariable.setTypeModifier(GrGLSLShaderVar::kNone_TypeModifier); in internalAddUniformArray() 108 uni.fVariable.setTypeModifier(GrGLSLShaderVar::kUniform_TypeModifier); in internalAddUniformArray()
|
D | GrVkProgramBuilder.h | 43 void finalizeFragmentOutputColor(GrGLSLShaderVar& outputColor) override;
|
/external/skia/src/gpu/effects/ |
D | GrBicubicEffect.cpp | 63 static const GrGLSLShaderVar gCubicBlendArgs[] = { in emitCode() 64 GrGLSLShaderVar("coefficients", kMat44f_GrSLType), in emitCode() 65 GrGLSLShaderVar("t", kFloat_GrSLType), in emitCode() 66 GrGLSLShaderVar("c0", kVec4f_GrSLType), in emitCode() 67 GrGLSLShaderVar("c1", kVec4f_GrSLType), in emitCode() 68 GrGLSLShaderVar("c2", kVec4f_GrSLType), in emitCode() 69 GrGLSLShaderVar("c3", kVec4f_GrSLType), in emitCode()
|
D | GrBezierEffect.cpp | 126 GrGLSLShaderVar edgeAlpha("edgeAlpha", kFloat_GrSLType, 0, precision); in onEmitCode() 127 GrGLSLShaderVar dklmdx("dklmdx", kVec3f_GrSLType, 0, precision); in onEmitCode() 128 GrGLSLShaderVar dklmdy("dklmdy", kVec3f_GrSLType, 0, precision); in onEmitCode() 129 GrGLSLShaderVar dfdx("dfdx", kFloat_GrSLType, 0, precision); in onEmitCode() 130 GrGLSLShaderVar dfdy("dfdy", kFloat_GrSLType, 0, precision); in onEmitCode() 131 GrGLSLShaderVar gF("gF", kVec2f_GrSLType, 0, precision); in onEmitCode() 132 GrGLSLShaderVar gFM("gFM", kFloat_GrSLType, 0, precision); in onEmitCode() 133 GrGLSLShaderVar func("func", kFloat_GrSLType, 0, precision); in onEmitCode() 591 GrGLSLShaderVar edgeAlpha("edgeAlpha", kFloat_GrSLType, 0, kHigh_GrSLPrecision); in onEmitCode() 592 GrGLSLShaderVar dklmdx("dklmdx", kVec3f_GrSLType, 0, kHigh_GrSLPrecision); in onEmitCode() [all …]
|
D | GrDistanceFieldGeoProc.cpp | 98 fragBuilder->codeAppend(GrGLSLShaderVar::PrecisionString(args.fGLSLCaps, in onEmitCode() 322 fragBuilder->codeAppend(GrGLSLShaderVar::PrecisionString(args.fGLSLCaps, in onEmitCode() 334 fragBuilder->codeAppend(GrGLSLShaderVar::PrecisionString(args.fGLSLCaps, in onEmitCode() 545 fragBuilder->codeAppend(GrGLSLShaderVar::PrecisionString(args.fGLSLCaps, in onEmitCode() 548 fragBuilder->codeAppend(GrGLSLShaderVar::PrecisionString(args.fGLSLCaps, in onEmitCode()
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 15 (1 == arrayCount && GrGLSLShaderVar::kNonArray == uni.fArrayCount)) 27 SkASSERT(GrGLSLShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || in GrGLProgramDataManager() 54 SkASSERT(GrGLSLShaderVar::kNonArray == builderPathProcVarying.fVariable.getArrayCount() || in GrGLProgramDataManager() 68 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in setSampler() 84 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set1f() 116 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set2f() 145 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set3f() 178 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in set4f() 207 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in setMatrix3f() 220 SkASSERT(GrGLSLShaderVar::kNonArray == uni.fArrayCount); in setMatrix4f()
|
D | GrGLProgramDataManager.h | 30 GrGLSLShaderVar fVariable; 36 GrGLSLShaderVar fVariable;
|
D | GrGLUniformHandler.h | 21 const GrGLSLShaderVar& getUniformVariable(UniformHandle u) const override { in getUniformVariable()
|
/external/skia/bench/ |
D | GLVertexAttributesBench.cpp | 72 GrGLSLShaderVar aPosition("a_position", kVec4f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 73 SkTArray<GrGLSLShaderVar> aVars; in setupShader() 74 SkTArray<GrGLSLShaderVar> oVars; in setupShader() 83 aVars.push_back(GrGLSLShaderVar(aname.c_str(), in setupShader() 94 oVars.push_back(GrGLSLShaderVar(oname.c_str(), in setupShader() 120 GrGLSLShaderVar oFragColor("o_FragColor", kVec4f_GrSLType, GrShaderVar::kOut_TypeModifier); in setupShader()
|
D | GLVec4ScalarBench.cpp | 104 GrGLSLShaderVar aPosition("a_position", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 105 GrGLSLShaderVar oPosition("o_position", kVec2f_GrSLType, GrShaderVar::kVaryingOut_TypeModifier); in setupShader() 106 GrGLSLShaderVar aColor("a_color", kVec3f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 107 GrGLSLShaderVar oColor("o_color", kVec3f_GrSLType, GrShaderVar::kVaryingOut_TypeModifier); in setupShader() 134 GrGLSLShaderVar oFragColor("o_FragColor", kVec4f_GrSLType, GrShaderVar::kOut_TypeModifier); in setupShader()
|
D | GLInstancedArraysBench.cpp | 114 GrGLSLShaderVar aPosition("a_position", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 115 GrGLSLShaderVar aColor("a_color", kVec3f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 116 GrGLSLShaderVar oColor("o_color", kVec3f_GrSLType, GrShaderVar::kVaryingOut_TypeModifier); in setupShader() 136 GrGLSLShaderVar oFragColor("o_FragColor", kVec4f_GrSLType, GrShaderVar::kOut_TypeModifier); in setupShader()
|
/external/skia/experimental/SkPerlinNoiseShader2/ |
D | SkPerlinNoiseShader2.cpp | 775 static const GrGLSLShaderVar gPerlinNoiseArgs[] = { in emitCode() 776 GrGLSLShaderVar(chanCoord, kFloat_GrSLType), in emitCode() 777 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode() 780 static const GrGLSLShaderVar gPerlinNoiseStitchArgs[] = { in emitCode() 781 GrGLSLShaderVar(chanCoord, kFloat_GrSLType), in emitCode() 782 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode() 783 GrGLSLShaderVar(stitchData, kVec2f_GrSLType) in emitCode() 1158 static const GrGLSLShaderVar fadeArgs[] = { in emitCode() 1159 GrGLSLShaderVar("t", kVec3f_GrSLType) in emitCode() 1168 static const GrGLSLShaderVar permArgs[] = { in emitCode() [all …]
|
/external/skia/src/effects/ |
D | SkPixelXorXfermode.cpp | 60 static const GrGLSLShaderVar gXorArgs[] = { in add_pixelxor_code() 61 GrGLSLShaderVar("f1", kFloat_GrSLType), in add_pixelxor_code() 62 GrGLSLShaderVar("f2", kFloat_GrSLType), in add_pixelxor_code() 63 GrGLSLShaderVar("f3", kFloat_GrSLType), in add_pixelxor_code() 64 GrGLSLShaderVar("fPowerOf2Divisor", kFloat_GrSLType), in add_pixelxor_code()
|
D | SkLightingImageFilter.cpp | 1743 static const GrGLSLShaderVar gSobelArgs[] = { in emitCode() 1744 GrGLSLShaderVar("a", kFloat_GrSLType), in emitCode() 1745 GrGLSLShaderVar("b", kFloat_GrSLType), in emitCode() 1746 GrGLSLShaderVar("c", kFloat_GrSLType), in emitCode() 1747 GrGLSLShaderVar("d", kFloat_GrSLType), in emitCode() 1748 GrGLSLShaderVar("e", kFloat_GrSLType), in emitCode() 1749 GrGLSLShaderVar("f", kFloat_GrSLType), in emitCode() 1750 GrGLSLShaderVar("scale", kFloat_GrSLType), in emitCode() 1761 static const GrGLSLShaderVar gPointToNormalArgs[] = { in emitCode() 1762 GrGLSLShaderVar("x", kFloat_GrSLType), in emitCode() [all …]
|
D | SkPerlinNoiseShader.cpp | 637 static const GrGLSLShaderVar gPerlinNoiseArgs[] = { in emitCode() 638 GrGLSLShaderVar(chanCoord, kFloat_GrSLType), in emitCode() 639 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType) in emitCode() 642 static const GrGLSLShaderVar gPerlinNoiseStitchArgs[] = { in emitCode() 643 GrGLSLShaderVar(chanCoord, kFloat_GrSLType), in emitCode() 644 GrGLSLShaderVar(noiseVec, kVec2f_GrSLType), in emitCode() 645 GrGLSLShaderVar(stitchData, kVec2f_GrSLType) in emitCode()
|
/external/skia/tools/debugger/ |
D | SkOverdrawMode.cpp | 71 static const GrGLSLShaderVar gColorTableArgs[] = { in add_overdraw_code() 73 GrGLSLShaderVar("index", kFloat_GrSLType), in add_overdraw_code()
|