Home
last modified time | relevance | path

Searched refs:GrGLUniformManager (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGLShaderBuilder.h32 , fSamplerUniform(GrGLUniformManager::kInvalidUniformHandle) {} in TextureSampler()
38 GrAssert(GrGLUniformManager::kInvalidUniformHandle == fSamplerUniform);
52 GrAssert(GrGLUniformManager::kInvalidUniformHandle == fSamplerUniform); in init()
61 GrAssert(GrGLUniformManager::kInvalidUniformHandle != fSamplerUniform); in init()
67 GrGLUniformManager::UniformHandle fSamplerUniform;
81 GrGLShaderBuilder(const GrGLContextInfo&, GrGLUniformManager&);
128 GrGLUniformManager::UniformHandle addUniform(uint32_t visibility,
134 GrGLUniformManager::UniformHandle addUniformArray(uint32_t visibility,
140 const GrGLShaderVar& getUniformVariable(GrGLUniformManager::UniformHandle) const;
145 const char* getUniformCStr(GrGLUniformManager::UniformHandle u) const { in getUniformCStr()
[all …]
DGrGLProgram.h153 typedef GrGLUniformManager::UniformHandle UniformHandle;
189 fViewMatrixUni = GrGLUniformManager::kInvalidUniformHandle; in UniformHandles()
190 fColorUni = GrGLUniformManager::kInvalidUniformHandle; in UniformHandles()
191 fCoverageUni = GrGLUniformManager::kInvalidUniformHandle; in UniformHandles()
192 fColorFilterUni = GrGLUniformManager::kInvalidUniformHandle; in UniformHandles()
193 fRTHeightUni = GrGLUniformManager::kInvalidUniformHandle; in UniformHandles()
218 GrGLUniformManager fUniformManager;
DGrGLUniformManager.cpp17 GrGLUniformManager::UniformHandle GrGLUniformManager::appendUniform(GrSLType type, int arrayCount) { in appendUniform()
28 void GrGLUniformManager::setSampler(UniformHandle u, GrGLint texUnit) const { in setSampler()
44 void GrGLUniformManager::set1f(UniformHandle u, GrGLfloat v0) const { in set1f()
57 void GrGLUniformManager::set1fv(UniformHandle u, in set1fv()
77 void GrGLUniformManager::set2f(UniformHandle u, GrGLfloat v0, GrGLfloat v1) const { in set2f()
90 void GrGLUniformManager::set2fv(UniformHandle u, in set2fv()
107 void GrGLUniformManager::set3f(UniformHandle u, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) const { in set3f()
120 void GrGLUniformManager::set3fv(UniformHandle u, in set3fv()
137 void GrGLUniformManager::set4f(UniformHandle u, in set4f()
154 void GrGLUniformManager::set4fv(UniformHandle u, in set4fv()
[all …]
DGrGLEffectMatrix.h33 GrGLEffectMatrix() : fUni(GrGLUniformManager::kInvalidUniformHandle) { in GrGLEffectMatrix()
79 void setData(const GrGLUniformManager& uniformManager,
92 GrGLUniformManager::UniformHandle fUni;
DGrGLUniformHandle.h12 inline int handle_to_index(GrGLUniformManager::UniformHandle h) { return ~h; } in handle_to_index()
13 inline GrGLUniformManager::UniformHandle index_to_handle(int i) { return ~i; } in index_to_handle()
DGrGLShaderBuilder.cpp22 typedef GrGLUniformManager::UniformHandle UniformHandle;
84 GrGLShaderBuilder::GrGLShaderBuilder(const GrGLContextInfo& ctx, GrGLUniformManager& uniformManager) in GrGLShaderBuilder()
97 , fRTHeightUniform(GrGLUniformManager::kInvalidUniformHandle) { in GrGLShaderBuilder()
169 GrGLUniformManager::UniformHandle GrGLShaderBuilder::addUniformArray(uint32_t visibility, in addUniformArray()
277 GrAssert(GrGLUniformManager::kInvalidUniformHandle == fRTHeightUniform); in fragmentPosition()
294 GrAssert(GrGLUniformManager::kInvalidUniformHandle != fRTHeightUniform); in fragmentPosition()
422 SkTArray<GrGLUniformManager::UniformHandle, true>* samplerHandles) { in createAndEmitGLEffect()
DGrGLUniformManager.h22 class GrGLUniformManager {
28 GrGLUniformManager(const GrGLContextInfo& context) : fContext(context) {} in GrGLUniformManager() function
DGrGLEffect.cpp20 void GrGLEffect::setData(const GrGLUniformManager&, const GrEffectStage&) { in setData() argument
DGrGLEffect.h85 virtual void setData(const GrGLUniformManager&, const GrEffectStage&);
DGrGLEffectMatrix.cpp166 void GrGLEffectMatrix::setData(const GrGLUniformManager& uniformManager, in setData()
170 GrAssert((GrGLUniformManager::kInvalidUniformHandle == fUni) == in setData()
DGrGLProgram.cpp888 if (GrGLUniformManager::kInvalidUniformHandle != handle) { in initSamplerUniforms()
902 if (GrGLUniformManager::kInvalidUniformHandle != fUniformHandles.fRTHeightUni && in setData()
916 if (GrGLUniformManager::kInvalidUniformHandle != handle) { in setData()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp91 typedef GrGLUniformManager::UniformHandle UniformHandle;
105 virtual void setData(const GrGLUniformManager& uman, const GrEffectStage& stage) SK_OVERRIDE;
122 , fOffsetVar(GrGLUniformManager::kInvalidUniformHandle) in GrGLMagnifierEffect()
123 , fZoomVar(GrGLUniformManager::kInvalidUniformHandle) in GrGLMagnifierEffect()
124 , fInsetVar(GrGLUniformManager::kInvalidUniformHandle) { in GrGLMagnifierEffect()
181 void GrGLMagnifierEffect::setData(const GrGLUniformManager& uman, in setData()
DSkLightingImageFilter.cpp27 typedef GrGLUniformManager::UniformHandle UniformHandle;
28 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
39 void setUniformPoint3(const GrGLUniformManager& uman, UniformHandle uni, const SkPoint3& point) { in setUniformPoint3()
44 void setUniformNormal3(const GrGLUniformManager& uman, UniformHandle uni, const SkPoint3& point) { in setUniformNormal3()
423 virtual void setData(const GrGLUniformManager&, const SkLight* light) const;
443 virtual void setData(const GrGLUniformManager&, const SkLight* light) const SK_OVERRIDE;
455 virtual void setData(const GrGLUniformManager&, const SkLight* light) const SK_OVERRIDE;
468 virtual void setData(const GrGLUniformManager&, const SkLight* light) const SK_OVERRIDE;
999 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
1020 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
[all …]
DSkMatrixConvolutionImageFilter.cpp330 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
333 typedef GrGLUniformManager::UniformHandle UniformHandle;
353 , fKernelUni(GrGLUniformManager::kInvalidUniformHandle) in GrGLMatrixConvolutionEffect()
354 , fImageIncrementUni(GrGLUniformManager::kInvalidUniformHandle) in GrGLMatrixConvolutionEffect()
355 , fTargetUni(GrGLUniformManager::kInvalidUniformHandle) in GrGLMatrixConvolutionEffect()
356 , fGainUni(GrGLUniformManager::kInvalidUniformHandle) in GrGLMatrixConvolutionEffect()
357 , fBiasUni(GrGLUniformManager::kInvalidUniformHandle) { in GrGLMatrixConvolutionEffect()
468 void GrGLMatrixConvolutionEffect::setData(const GrGLUniformManager& uman, in setData()
DSkColorMatrixFilter.cpp394 , fMatrixHandle(GrGLUniformManager::kInvalidUniformHandle) in GLEffect()
395 , fVectorHandle(GrGLUniformManager::kInvalidUniformHandle) {} in GLEffect()
426 virtual void setData(const GrGLUniformManager& uniManager, in setData()
446 GrGLUniformManager::UniformHandle fMatrixHandle;
447 GrGLUniformManager::UniformHandle fVectorHandle;
DSkBicubicImageFilter.cpp196 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
199 typedef GrGLUniformManager::UniformHandle UniformHandle;
212 , fCoefficientsUni(GrGLUniformManager::kInvalidUniformHandle) in GrGLBicubicEffect()
213 , fImageIncrementUni(GrGLUniformManager::kInvalidUniformHandle) { in GrGLBicubicEffect()
276 void GrGLBicubicEffect::setData(const GrGLUniformManager& uman, in setData()
DSkDisplacementMapEffect.cpp217 virtual void setData(const GrGLUniformManager&, const GrEffectStage&);
224 GrGLUniformManager::UniformHandle fScaleUni;
225 GrGLUniformManager::UniformHandle fYSignColor;
226 GrGLUniformManager::UniformHandle fYSignDispl;
476 void GrGLDisplacementMapEffect::setData(const GrGLUniformManager& uman, const GrEffectStage& stage)… in setData()
DSkMorphologyImageFilter.cpp293 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
300 GrGLUniformManager::UniformHandle fImageIncrementUni;
309 , fImageIncrementUni(GrGLUniformManager::kInvalidUniformHandle) { in GrGLMorphologyEffect()
367 void GrGLMorphologyEffect::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()
DSkBlendImageFilter.cpp131 virtual void setData(const GrGLUniformManager&, const GrEffectStage&);
301 void GrGLBlendEffect::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()
/external/skia/src/gpu/effects/
DGrConvolutionEffect.cpp16 typedef GrGLUniformManager::UniformHandle UniformHandle;
17 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
31 virtual void setData(const GrGLUniformManager& uman, const GrEffectStage&) SK_OVERRIDE;
92 void GrGLConvolutionEffect::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()
DGrTextureDomainEffect.cpp27 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
32 GrGLUniformManager::UniformHandle fNameUni;
42 , fNameUni(GrGLUniformManager::kInvalidUniformHandle) { in GrGLTextureDomainEffect()
82 void GrGLTextureDomainEffect::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()
DGrSimpleTextureEffect.cpp46 virtual void setData(const GrGLUniformManager& uman, const GrEffectStage& stage) SK_OVERRIDE { in setData()
/external/skia/src/effects/gradients/
DSkGradientShaderPriv.h284 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
332 GrGLUniformManager::UniformHandle fFSYUni;
DSkTwoPointRadialGradient.cpp380 typedef GrGLUniformManager::UniformHandle UniformHandle;
381 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
397 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
644 void GrGLRadial2Gradient::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()
DSkTwoPointConicalGradient.cpp321 typedef GrGLUniformManager::UniformHandle UniformHandle;
322 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
338 virtual void setData(const GrGLUniformManager&, const GrEffectStage&) SK_OVERRIDE;
644 void GrGLConical2Gradient::setData(const GrGLUniformManager& uman, const GrEffectStage& stage) { in setData()

12