/external/chromium_org/third_party/skia/include/gpu/ |
GrTBackendEffectFactory.h | 34 virtual EffectKey glEffectKey(const GrDrawEffect& drawEffect, 37 EffectKey effectKey = GLEffect::GenKey(drawEffect, caps); 38 EffectKey textureKey = GrGLProgramEffects::GenTextureKey(drawEffect, caps); 39 EffectKey transformKey = GrGLProgramEffects::GenTransformKey(drawEffect); 40 EffectKey attribKey = GrGLProgramEffects::GenAttribKey(drawEffect); 42 static const EffectKey kIllegalEffectKeyMask = (uint16_t) (~((1U << kEffectKeyBits) - 1)); 43 SkASSERT(!(kIllegalEffectKeyMask & effectKey)); 45 static const EffectKey kIllegalTextureKeyMask = (uint16_t) (~((1U << kTextureKeyBits) - 1)); 48 static const EffectKey kIllegalTransformKeyMask = (uint16_t) (~((1U << kTransformKeyBits) - 1)) [all...] |
GrBackendEffectFactory.h | 33 typedef uint32_t EffectKey; 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/include/gpu/ |
GrTBackendEffectFactory.h | 34 virtual EffectKey glEffectKey(const GrDrawEffect& drawEffect, 37 EffectKey effectKey = GLEffect::GenKey(drawEffect, caps); 38 EffectKey textureKey = GrGLProgramEffects::GenTextureKey(drawEffect, caps); 39 EffectKey transformKey = GrGLProgramEffects::GenTransformKey(drawEffect); 40 EffectKey attribKey = GrGLProgramEffects::GenAttribKey(drawEffect); 42 static const EffectKey kIllegalEffectKeyMask = (uint16_t) (~((1U << kEffectKeyBits) - 1)); 43 SkASSERT(!(kIllegalEffectKeyMask & effectKey)); 45 static const EffectKey kIllegalTextureKeyMask = (uint16_t) (~((1U << kTextureKeyBits) - 1)); 48 static const EffectKey kIllegalTransformKeyMask = (uint16_t) (~((1U << kTransformKeyBits) - 1)) [all...] |
GrBackendEffectFactory.h | 33 typedef uint32_t EffectKey; 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/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLProgramEffects.h | 29 typedef GrBackendEffectFactory::EffectKey EffectKey; 35 static EffectKey GenAttribKey(const GrDrawEffect&); 36 static EffectKey GenTransformKey(const GrDrawEffect&); 37 static EffectKey GenTextureKey(const GrDrawEffect&, const GrGLCaps&); 138 GrGLProgramEffects::EffectKey, 170 GrGLProgramEffects::EffectKey, 189 EffectKey, 219 GrGLProgramEffects::EffectKey, 263 GrGLProgramEffects::EffectKey, [all...] |
GrGLVertexEffect.h | 29 EffectKey key, 40 EffectKey key,
|
GrGLEffect.h | 22 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) 41 typedef GrBackendEffectFactory::EffectKey EffectKey; 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; }
|
GrGLProgramDesc.h | 197 typedef GrGLEffect::EffectKey EffectKey; 201 EffectKey* effectKeys() { return this->atOffset<EffectKey, kEffectKeyOffset>(); } 204 const EffectKey* getEffectKeys() const { return this->atOffset<EffectKey, kEffectKeyOffset>(); } 207 GR_STATIC_ASSERT(!(sizeof(EffectKey) & 0x3)); 208 return kEffectKeyOffset + effectCnt * sizeof(EffectKey); 213 kPreAllocSize = kEffectKeyOffset + kMaxPreallocEffects * sizeof(EffectKey),
|
GrGLProgramEffects.cpp | 15 typedef GrGLProgramEffects::EffectKey EffectKey; 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 key = 0 [all...] |
/external/skia/src/gpu/gl/ |
GrGLProgramEffects.h | 29 typedef GrBackendEffectFactory::EffectKey EffectKey; 35 static EffectKey GenAttribKey(const GrDrawEffect&); 36 static EffectKey GenTransformKey(const GrDrawEffect&); 37 static EffectKey GenTextureKey(const GrDrawEffect&, const GrGLCaps&); 138 GrGLProgramEffects::EffectKey, 170 GrGLProgramEffects::EffectKey, 189 EffectKey, 219 GrGLProgramEffects::EffectKey, 263 GrGLProgramEffects::EffectKey, [all...] |
GrGLVertexEffect.h | 29 EffectKey key, 40 EffectKey key,
|
GrGLEffect.h | 22 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) 41 typedef GrBackendEffectFactory::EffectKey EffectKey; 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; }
|
GrGLProgramDesc.h | 197 typedef GrGLEffect::EffectKey EffectKey; 201 EffectKey* effectKeys() { return this->atOffset<EffectKey, kEffectKeyOffset>(); } 204 const EffectKey* getEffectKeys() const { return this->atOffset<EffectKey, kEffectKeyOffset>(); } 207 GR_STATIC_ASSERT(!(sizeof(EffectKey) & 0x3)); 208 return kEffectKeyOffset + effectCnt * sizeof(EffectKey); 213 kPreAllocSize = kEffectKeyOffset + kMaxPreallocEffects * sizeof(EffectKey),
|
GrGLProgramEffects.cpp | 15 typedef GrGLProgramEffects::EffectKey EffectKey; 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 key = 0 [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 21 EffectKey key, 27 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 46 EffectKey key, 117 GrGLEffect::EffectKey GrGLConicEffect::GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) { 162 EffectKey key, 168 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 187 EffectKey key, 248 GrGLEffect::EffectKey GrGLQuadEffect::GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) { 293 EffectKey key, 299 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) [all...] |
GrConvolutionEffect.cpp | 23 EffectKey, 31 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 59 EffectKey key, 136 GrGLEffect::EffectKey GrGLConvolutionEffect::GenKey(const GrDrawEffect& drawEffect, 139 EffectKey key = conv.radius();
|
GrSimpleTextureEffect.cpp | 23 EffectKey key,
|
/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 21 EffectKey key, 27 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 46 EffectKey key, 117 GrGLEffect::EffectKey GrGLConicEffect::GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) { 162 EffectKey key, 168 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 187 EffectKey key, 248 GrGLEffect::EffectKey GrGLQuadEffect::GenKey(const GrDrawEffect& drawEffect, const GrGLCaps&) { 293 EffectKey key, 299 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) [all...] |
GrConvolutionEffect.cpp | 23 EffectKey, 31 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 59 EffectKey key, 136 GrGLEffect::EffectKey GrGLConvolutionEffect::GenKey(const GrDrawEffect& drawEffect, 139 EffectKey key = conv.radius();
|
GrSimpleTextureEffect.cpp | 23 EffectKey key,
|
/external/chromium_org/third_party/skia/src/effects/ |
SkLumaColorFilter.cpp | 88 static EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) { 95 EffectKey,
|
SkDisplacementMapEffect.cpp | 241 EffectKey, 247 static inline EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&); 452 EffectKey key, 539 GrGLEffect::EffectKey GrGLDisplacementMapEffect::GenKey(const GrDrawEffect& drawEffect, 544 EffectKey xKey = displacementMap.xChannelSelector(); 545 EffectKey yKey = displacementMap.yChannelSelector() << SkDisplacementMapEffect::kKeyBits;
|
/external/skia/src/effects/ |
SkLumaColorFilter.cpp | 88 static EffectKey GenKey(const GrDrawEffect&, const GrGLCaps&) { 95 EffectKey,
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 340 static GrGradientEffect::ColorType ColorTypeFromKey(EffectKey key){ 348 static GrGradientEffect::PremulType PremulTypeFromKey(EffectKey key){ 360 static EffectKey GenBaseGradientKey(const GrDrawEffect&); 364 void emitUniforms(GrGLShaderBuilder* builder, EffectKey key); 372 EffectKey key,
|
/external/skia/src/effects/gradients/ |
SkGradientShaderPriv.h | 340 static GrGradientEffect::ColorType ColorTypeFromKey(EffectKey key){ 348 static GrGradientEffect::PremulType PremulTypeFromKey(EffectKey key){ 360 static EffectKey GenBaseGradientKey(const GrDrawEffect&); 364 void emitUniforms(GrGLShaderBuilder* builder, EffectKey key); 372 EffectKey key,
|