Home
last modified time | relevance | path

Searched refs:UniformHandle (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/gpu/gl/
DGrGLUniformManager.h25 typedef int UniformHandle; typedef
26 static const UniformHandle kInvalidUniformHandle = 0;
30 UniformHandle appendUniform(GrSLType type, int arrayCount = GrGLShaderVar::kNonArray);
35 void setSampler(UniformHandle, GrGLint texUnit) const;
36 void set1f(UniformHandle, GrGLfloat v0) const;
37 void set1fv(UniformHandle, int offset, int arrayCount, const GrGLfloat v[]) const;
38 void set2f(UniformHandle, GrGLfloat, GrGLfloat) const;
39 void set2fv(UniformHandle, int offset, int arrayCount, const GrGLfloat v[]) const;
40 void set3f(UniformHandle, GrGLfloat, GrGLfloat, GrGLfloat) const;
41 void set3fv(UniformHandle, int offset, int arrayCount, const GrGLfloat v[]) const;
[all …]
DGrGLProgram.h153 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
175 typedef SkSTArray<4, UniformHandle, true> SamplerUniSArray;
178 UniformHandle fViewMatrixUni;
179 UniformHandle fColorUni;
180 UniformHandle fCoverageUni;
181 UniformHandle fColorFilterUni;
184 UniformHandle fRTHeightUni;
DGrGLShaderBuilder.h67 GrGLUniformManager::UniformHandle fSamplerUniform;
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()
185 SkTArray<GrGLUniformManager::UniformHandle, true>* samplerHandles);
186 GrGLUniformManager::UniformHandle getRTHeightUniform() const { return fRTHeightUniform; } in getRTHeightUniform()
227 GrGLUniformManager::UniformHandle fRTHeightUniform;
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 …]
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; typedef
169 GrGLUniformManager::UniformHandle GrGLShaderBuilder::addUniformArray(uint32_t visibility, in addUniformArray()
180 UniformHandle h = index_to_handle(fUniforms.count() - 1); in addUniformArray()
181 GR_DEBUGCODE(UniformHandle h2 =) in addUniformArray()
212 const GrGLShaderVar& GrGLShaderBuilder::getUniformVariable(UniformHandle u) const { in getUniformVariable()
422 SkTArray<GrGLUniformManager::UniformHandle, true>* samplerHandles) { in createAndEmitGLEffect() argument
DGrGLEffectMatrix.h92 GrGLUniformManager::UniformHandle fUni;
DGrGpuGL_program.cpp14 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
15 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
202 UniformHandle filterColorUni = fCurrentProgram->fUniformHandles.fColorFilterUni; in flushColor()
DGrGLProgram.cpp887 UniformHandle handle = fUniformHandles.fSamplerUnis[s][u]; in initSamplerUniforms()
915 UniformHandle handle = fUniformHandles.fSamplerUnis[s][u]; in setData()
/external/skia/src/gpu/effects/
DGrConvolutionEffect.cpp16 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
17 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
39 UniformHandle fKernelUni;
40 UniformHandle fImageIncrementUni;
DGrTextureDomainEffect.cpp32 GrGLUniformManager::UniformHandle fNameUni;
/external/skia/src/effects/
DSkLightingImageFilter.cpp27 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
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()
430 UniformHandle lightColorUni() const { return fColorUni; } in lightColorUni()
433 UniformHandle fColorUni;
447 UniformHandle fDirectionUni;
460 UniformHandle fLocationUni;
475 UniformHandle fLocationUni;
476 UniformHandle fExponentUni;
[all …]
DSkMagnifierImageFilter.cpp91 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
111 UniformHandle fOffsetVar;
112 UniformHandle fZoomVar;
113 UniformHandle fInsetVar;
DSkMatrixConvolutionImageFilter.cpp333 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef in GrGLMatrixConvolutionEffect
339 UniformHandle fKernelUni;
340 UniformHandle fImageIncrementUni;
341 UniformHandle fTargetUni;
342 UniformHandle fGainUni;
343 UniformHandle fBiasUni;
DSkBicubicImageFilter.cpp199 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef in GrGLBicubicEffect
201 UniformHandle fCoefficientsUni;
202 UniformHandle fImageIncrementUni;
DSkDisplacementMapEffect.cpp224 GrGLUniformManager::UniformHandle fScaleUni;
225 GrGLUniformManager::UniformHandle fYSignColor;
226 GrGLUniformManager::UniformHandle fYSignDispl;
DSkColorMatrixFilter.cpp446 GrGLUniformManager::UniformHandle fMatrixHandle;
447 GrGLUniformManager::UniformHandle fVectorHandle;
DSkMorphologyImageFilter.cpp300 GrGLUniformManager::UniformHandle fImageIncrementUni;
/external/skia/src/effects/gradients/
DSkTwoPointRadialGradient.cpp380 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
381 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
403 UniformHandle fVSParamUni;
404 UniformHandle fFSParamUni;
DSkTwoPointConicalGradient.cpp321 typedef GrGLUniformManager::UniformHandle UniformHandle; typedef
322 static const UniformHandle kInvalidUniformHandle = GrGLUniformManager::kInvalidUniformHandle;
344 UniformHandle fVSParamUni;
345 UniformHandle fFSParamUni;
DSkGradientShaderPriv.h332 GrGLUniformManager::UniformHandle fFSYUni;