Searched defs:EffectKey (Results 1 - 6 of 6) sorted by relevance

/external/skia/include/gpu/
H A DGrBackendEffectFactory.h33 typedef uint32_t EffectKey; typedef in class:GrBackendEffectFactory
39 * effect's EffectKey, so effects don't need to account for them in GenKey().
47 virtual EffectKey glEffectKey(const GrDrawEffect&, const GrGLCaps&) const = 0;
59 static EffectKey GetTransformKey(EffectKey key) {
73 static EffectKey GenID() {
74 SkDEBUGCODE(static const int32_t kClassIDBits = 8 * sizeof(EffectKey) -
81 return static_cast<EffectKey>(id);
84 EffectKey fEffectClassID;
/external/skia/src/gpu/gl/
H A DGrGLEffect.h22 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&)
41 typedef GrBackendEffectFactory::EffectKey EffectKey; typedef in class:GrGLEffect
48 // the number of bits in EffectKey available to GenKey
81 EffectKey key,
91 EffectKey as the one that created this GrGLEffect. Effects that use local coords have
98 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) { return 0; }
H A DGrGLProgramDesc.h195 typedef GrGLEffect::EffectKey EffectKey; typedef in class:GrGLProgramDesc
199 EffectKey* effectKeys() { return this->atOffset<EffectKey, kEffectKeyOffset>(); }
202 const EffectKey* getEffectKeys() const { return this->atOffset<EffectKey, kEffectKeyOffset>(); }
205 GR_STATIC_ASSERT(!(sizeof(EffectKey) & 0x3));
206 return kEffectKeyOffset + effectCnt * sizeof(EffectKey);
211 kPreAllocSize = kEffectKeyOffset + kMaxPreallocEffects * sizeof(EffectKey),
H A DGrGLProgramEffects.h29 typedef GrBackendEffectFactory::EffectKey EffectKey; typedef in class:GrGLProgramEffects
35 static EffectKey GenAttribKey(const GrDrawEffect&);
36 static EffectKey GenTransformKey(const GrDrawEffect&);
37 static EffectKey GenTextureKey(const GrDrawEffect&, const GrGLCaps&);
141 GrGLProgramEffects::EffectKey,
173 GrGLProgramEffects::EffectKey,
192 EffectKey,
222 GrGLProgramEffects::EffectKey,
266 GrGLProgramEffects::EffectKey,
[all...]
H A DGrGLProgramEffects.cpp15 typedef GrGLProgramEffects::EffectKey EffectKey; typedef
74 MatrixType get_matrix_type(EffectKey transformKey, int transformIdx) {
84 GrCoordSet get_source_coords(EffectKey transformKey, int transformIdx) {
143 EffectKey GrGLProgramEffects::GenAttribKey(const GrDrawEffect& drawEffect) {
144 EffectKey key = 0;
149 EffectKey value = attributeIndices[a] << 3 * a;
156 EffectKey GrGLProgramEffects::GenTransformKey(const GrDrawEffect& drawEffect) {
157 EffectKey totalKey = 0;
160 EffectKey ke
[all...]
H A DGrGLShaderBuilder.h33 typedef GrBackendEffectFactory::EffectKey EffectKey; typedef in class:GrGLShaderBuilder
256 const EffectKey effectKeys[],
348 const EffectKey effectKeys[],
468 const EffectKey effectKeys[],
513 const EffectKey effectKeys[],

Completed in 338 milliseconds