Home
last modified time | relevance | path

Searched refs:validFlags (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/effects/
DGrSingleTextureEffect.h46 void updateConstantColorComponentsForModulation(GrColor* color, uint32_t* validFlags) const { in updateConstantColorComponentsForModulation() argument
47 if ((*validFlags & kA_ValidComponentFlag) && 0xFF == GrColorUnpackA(*color) && in updateConstantColorComponentsForModulation()
49 *validFlags = kA_ValidComponentFlag; in updateConstantColorComponentsForModulation()
51 *validFlags = 0; in updateConstantColorComponentsForModulation()
DGrConvolutionEffect.h55 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents() argument
58 *validFlags = 0; in getConstantColorComponents()
DGrSimpleTextureEffect.cpp58 void GrSimpleTextureEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
59 this->updateConstantColorComponentsForModulation(color, validFlags); in getConstantColorComponents()
DGrTextureDomainEffect.cpp177 void GrTextureDomainEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
179 *validFlags = 0; in getConstantColorComponents()
181 this->updateConstantColorComponentsForModulation(color, validFlags); in getConstantColorComponents()
DGrConfigConversionEffect.h48 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrTextureDomainEffect.h50 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrSimpleTextureEffect.h43 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
DGrConfigConversionEffect.cpp126 uint32_t* validFlags) const { in getConstantColorComponents()
127 this->updateConstantColorComponentsForModulation(color, validFlags); in getConstantColorComponents()
/external/skia/src/effects/
DSkTableColorFilter.cpp239 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
350 void ColorTableEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
354 *validFlags &= ~kR_ValidComponentFlag; in getConstantColorComponents()
357 *validFlags &= ~kG_ValidComponentFlag; in getConstantColorComponents()
360 *validFlags &= ~kB_ValidComponentFlag; in getConstantColorComponents()
363 *validFlags &= ~kA_ValidComponentFlag; in getConstantColorComponents()
DSkBlendImageFilter.cpp160 void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
232 void GrBlendEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
238 *validFlags = kA_ValidComponentFlag; in getConstantColorComponents()
241 *validFlags = 0; in getConstantColorComponents()
DSkColorMatrixFilter.cpp340 uint32_t* validFlags) const SK_OVERRIDE { in getConstantColorComponents()
366 if (!(*validFlags & kRGBAFlags[i])) { in getConstantColorComponents()
367 *validFlags = 0; in getConstantColorComponents()
376 *validFlags = kA_ValidComponentFlag; in getConstantColorComponents()
DSkMagnifierImageFilter.cpp49 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
241 void GrMagnifierEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
242 this->updateConstantColorComponentsForModulation(color, validFlags); in getConstantColorComponents()
DSkBicubicImageFilter.cpp165 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
315 void GrBicubicEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
317 *validFlags = 0; in getConstantColorComponents()
DSkDisplacementMapEffect.cpp258 void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
349 uint32_t* validFlags) const { in getConstantColorComponents()
355 *validFlags = 0; in getConstantColorComponents()
DSkMorphologyImageFilter.cpp261 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
412 void GrMorphologyEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
415 this->updateConstantColorComponentsForModulation(color, validFlags); in getConstantColorComponents()
DSkMatrixConvolutionImageFilter.cpp271 uint32_t* validFlags) const SK_OVERRIDE { in getConstantColorComponents()
273 *validFlags = 0; in getConstantColorComponents()
DSkLightingImageFilter.cpp314 uint32_t* validFlags) const SK_OVERRIDE { in getConstantColorComponents()
316 *validFlags = 0; in getConstantColorComponents()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp819 void GrGradientEffect::getConstantColorComponents(GrColor* color, uint32_t* validFlags) const { in getConstantColorComponents()
820 if (fIsOpaque && (kA_ValidComponentFlag & *validFlags) && 0xff == GrColorUnpackA(*color)) { in getConstantColorComponents()
821 *validFlags = kA_ValidComponentFlag; in getConstantColorComponents()
823 *validFlags = 0; in getConstantColorComponents()
DSkGradientShaderPriv.h244 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const SK_OVERRIDE;
/external/skia/include/gpu/
DGrEffect.h94 virtual void getConstantColorComponents(GrColor* color, uint32_t* validFlags) const = 0;