/external/skia/src/gpu/glsl/ |
D | GrGLSLVarying.cpp | 73 this->addAttribute(GrShaderVar(attr.fName, in emitAttributes() 75 GrShaderVar::kAttribute_TypeModifier, in emitAttributes() 76 GrShaderVar::kNonArray, in emitAttributes() 81 void GrGLSLVaryingHandler::addAttribute(const GrShaderVar& var) { in addAttribute() 82 SkASSERT(GrShaderVar::kAttribute_TypeModifier == var.getTypeModifier()); in addAttribute() 114 fVertexOutputs.push_back().set(v.fType, GrShaderVar::kVaryingOut_TypeModifier, v.fVsOut, in finalize() 117 fGeomInputs.push_back().set(v.fType, GrShaderVar::kVaryingIn_TypeModifier, v.fVsOut, in finalize() 118 GrShaderVar::kUnsizedArray, v.fPrecision, nullptr, in finalize() 129 fFragInputs.push_back().set(v.fType, GrShaderVar::kVaryingIn_TypeModifier, fsIn, in finalize()
|
D | GrGLSLShaderVar.h | 20 class GrGLSLShaderVar : public GrShaderVar { 26 : GrShaderVar() in GrGLSLShaderVar() 32 : GrShaderVar(name, type, arrayCount, precision) in GrShaderVar() function 40 : GrShaderVar(name, type, typeModifier, arrayCount, precision) in GrShaderVar() function 45 GrGLSLShaderVar(const GrShaderVar& var) in GrGLSLShaderVar() 46 : GrShaderVar(var) in GrGLSLShaderVar() 52 : GrShaderVar(var.c_str(), var.getType(), var.getTypeModifier(), in GrGLSLShaderVar() 263 typedef GrShaderVar INHERITED;
|
D | GrGLSLProcessorTypes.h | 17 typedef GrShaderVar GrGLSLTransformedCoords; 18 typedef SkTArray<GrShaderVar> GrGLSLTransformedCoordsArray;
|
D | GrGLSLGeometryProcessor.h | 48 const GrShaderVar& posVar, in emitTransforms() 60 const GrShaderVar& posVar, 76 GrShaderVar fPositionVar;
|
D | GrGLSLVertexShaderBuilder.h | 23 void transformToNormalizedDeviceSpace(const GrShaderVar& posVar);
|
D | GrGLSLFragmentShaderBuilder.cpp | 206 fOutputs.push_back().set(kInt_GrSLType, GrShaderVar::kOut_TypeModifier, in overrideSampleCoverage() 231 fOutputs[fCustomColorOutputIndex].setTypeModifier(GrShaderVar::kInOut_TypeModifier); in dstColor()
|
D | GrGLSLVertexShaderBuilder.cpp | 18 void GrGLSLVertexBuilder::transformToNormalizedDeviceSpace(const GrShaderVar& posVar) { in transformToNormalizedDeviceSpace()
|
D | GrGLSLVarying.h | 174 void addAttribute(const GrShaderVar& var);
|
D | GrGLSLGeometryProcessor.cpp | 30 const GrShaderVar& posVar, in emitTransforms()
|
/external/skia/include/gpu/ |
D | GrShaderVar.h | 14 class GrShaderVar { 40 GrShaderVar() in GrShaderVar() function 47 GrShaderVar(const SkString& name, GrSLType type, int arrayCount = kNonArray, 58 GrShaderVar(const char* name, GrSLType type, int arrayCount = kNonArray, 69 GrShaderVar(const char* name, GrSLType type, TypeModifier typeModifier,
|
/external/skia/bench/ |
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() 137 oPosition.setTypeModifier(GrShaderVar::kVaryingIn_TypeModifier); in setupShader() 140 oColor.setTypeModifier(GrShaderVar::kVaryingIn_TypeModifier); in setupShader()
|
D | GLVertexAttributesBench.cpp | 72 GrGLSLShaderVar aPosition("a_position", kVec4f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in setupShader() 85 GrShaderVar::kAttribute_TypeModifier)); in setupShader() 96 GrShaderVar::kVaryingOut_TypeModifier)); in setupShader() 120 GrGLSLShaderVar oFragColor("o_FragColor", kVec4f_GrSLType, GrShaderVar::kOut_TypeModifier); in setupShader() 134 oVars[i].setTypeModifier(GrShaderVar::kVaryingIn_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() 139 oColor.setTypeModifier(GrShaderVar::kVaryingIn_TypeModifier); in setupShader()
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 291 GrGLSLShaderVar aVertex("a_vertex", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in createPLSSetupProgram() 293 GrShaderVar::kUniform_TypeModifier); in createPLSSetupProgram() 294 GrGLSLShaderVar uPosXform("u_posXform", kVec4f_GrSLType, GrShaderVar::kUniform_TypeModifier); in createPLSSetupProgram() 295 GrGLSLShaderVar uTexture("u_texture", kSampler2D_GrSLType, GrShaderVar::kUniform_TypeModifier); in createPLSSetupProgram() 296 GrGLSLShaderVar vTexCoord("v_texCoord", kVec2f_GrSLType, GrShaderVar::kVaryingOut_TypeModifier); in createPLSSetupProgram() 333 vTexCoord.setTypeModifier(GrShaderVar::kVaryingIn_TypeModifier); in createPLSSetupProgram() 3384 GrGLSLShaderVar aVertex("a_vertex", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier); in createCopyPrograms() 3386 GrShaderVar::kUniform_TypeModifier); in createCopyPrograms() 3388 GrShaderVar::kUniform_TypeModifier); in createCopyPrograms() 3390 GrShaderVar::kUniform_TypeModifier); in createCopyPrograms() [all …]
|
/external/skia/gyp/ |
D | gpu.gypi | 34 '<(skia_include_path)/gpu/GrShaderVar.h',
|