/external/chromium_org/webkit/renderer/compositor_bindings/ |
web_blend_mode.h | 12 inline SkXfermode::Mode BlendModeToSkia(blink::WebBlendMode blend_mode) { 15 return SkXfermode::kSrcOver_Mode; 17 return SkXfermode::kMultiply_Mode; 19 return SkXfermode::kScreen_Mode; 21 return SkXfermode::kOverlay_Mode; 23 return SkXfermode::kDarken_Mode; 25 return SkXfermode::kLighten_Mode; 27 return SkXfermode::kColorDodge_Mode; 29 return SkXfermode::kColorBurn_Mode; 31 return SkXfermode::kHardLight_Mode [all...] |
/external/skia/tests/ |
XfermodeTest.cpp | 11 #include "SkXfermode.h" 17 #define ILLEGAL_MODE ((SkXfermode::Mode)-1) 20 for (int mode = 0; mode <= SkXfermode::kLastMode; mode++) { 21 SkXfermode* xfer = SkXfermode::Create((SkXfermode::Mode) mode); 23 SkXfermode::Mode reportedMode = ILLEGAL_MODE; 27 REPORTER_ASSERT(reporter, SkXfermode::AsMode(xfer, &reportedMode)); 32 reportedMode = (SkXfermode::Mode) -1; 37 REPORTER_ASSERT(reporter, SkXfermode::kSrcOver_Mode == mode) [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkXfermode_opts_none.cpp | 1 #include "SkXfermode.h" 6 SkXfermode::Mode mode); 8 extern SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); 11 SkXfermode::Mode mode) { 15 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
|
SkXfermode_opts_arm.cpp | 1 #include "SkXfermode.h" 6 SkXfermode::Mode mode); 8 extern SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode mode); 11 SkXfermode::Mode mode) { 15 SkXfermodeProc SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode) { 20 SkXfermode::Mode mode) { 24 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
|
/external/skia/src/opts/ |
SkXfermode_opts_none.cpp | 1 #include "SkXfermode.h" 6 SkXfermode::Mode mode); 8 extern SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode); 11 SkXfermode::Mode mode) { 15 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
|
SkXfermode_opts_arm.cpp | 1 #include "SkXfermode.h" 6 SkXfermode::Mode mode); 8 extern SkXfermodeProc SkPlatformXfermodeProcFactory_impl_neon(SkXfermode::Mode mode); 11 SkXfermode::Mode mode) { 15 SkXfermodeProc SkPlatformXfermodeProcFactory_impl(SkXfermode::Mode mode) { 20 SkXfermode::Mode mode) { 24 SkXfermodeProc SkPlatformXfermodeProcFactory(SkXfermode::Mode mode) {
|
/external/chromium_org/third_party/skia/src/core/ |
SkPaintPriv.cpp | 17 // TODO: SkXfermode should have a virtual isOpaque method, which would 24 SkXfermode::Coeff srcCoeff, dstCoeff; 25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ 26 if (SkXfermode::kDA_Coeff == srcCoeff || SkXfermode::kDC_Coeff == srcCoeff || 27 SkXfermode::kIDA_Coeff == srcCoeff || SkXfermode::kIDC_Coeff == srcCoeff) { 31 case SkXfermode::kZero_Coeff: 33 case SkXfermode::kISA_Coeff: 50 case SkXfermode::kSA_Coeff [all...] |
SkValidationUtils.h | 12 #include "SkXfermode.h" 14 /** Returns true if coeff's value is in the SkXfermode::Coeff enum. 16 static inline bool SkIsValidCoeff(SkXfermode::Coeff coeff) { 17 return coeff >= 0 && coeff < SkXfermode::kCoeffCount; 20 /** Returns true if mode's value is in the SkXfermode::Mode enum. 22 static inline bool SkIsValidMode(SkXfermode::Mode mode) { 23 return (mode >= 0) && (mode <= SkXfermode::kLastMode);
|
/external/skia/src/core/ |
SkPaintPriv.cpp | 17 // TODO: SkXfermode should have a virtual isOpaque method, which would 24 SkXfermode::Coeff srcCoeff, dstCoeff; 25 if (SkXfermode::AsCoeff(paint->getXfermode(), &srcCoeff, &dstCoeff)){ 26 if (SkXfermode::kDA_Coeff == srcCoeff || SkXfermode::kDC_Coeff == srcCoeff || 27 SkXfermode::kIDA_Coeff == srcCoeff || SkXfermode::kIDC_Coeff == srcCoeff) { 31 case SkXfermode::kZero_Coeff: 33 case SkXfermode::kISA_Coeff: 50 case SkXfermode::kSA_Coeff [all...] |
SkValidationUtils.h | 12 #include "SkXfermode.h" 14 /** Returns true if coeff's value is in the SkXfermode::Coeff enum. 16 static inline bool SkIsValidCoeff(SkXfermode::Coeff coeff) { 17 return coeff >= 0 && coeff < SkXfermode::kCoeffCount; 20 /** Returns true if mode's value is in the SkXfermode::Mode enum. 22 static inline bool SkIsValidMode(SkXfermode::Mode mode) { 23 return (mode >= 0) && (mode <= SkXfermode::kLastMode);
|
/external/skia/bench/ |
XfermodeBench.cpp | 14 #include "SkXfermode.h" 16 // Benchmark that draws non-AA rects with an SkXfermode::Mode 19 XfermodeBench(SkXfermode::Mode mode) { 20 fXfermode.reset(SkXfermode::Create(mode)); 21 SkASSERT(NULL != fXfermode.get() || SkXfermode::kSrcOver_Mode == mode); 22 fName.printf("Xfermode_%s", SkXfermode::ModeName(mode)); 25 XfermodeBench(SkXfermode* xferMode, const char* name) { 58 SkAutoTUnref<SkXfermode> fXfermode; 75 for (int i = 0; i <= SkXfermode::kLastMode; ++i) { 76 SkXfermode* xfer = SkXfermode::Create(SkXfermode::Mode(i)) [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkArithmeticMode.h | 14 class SkXfermode; 28 static SkXfermode* Create(SkScalar k1, SkScalar k2,
|
SkPorterDuff.h | 12 #include "SkXfermode.h" 14 class SkXfermode; 51 /** Return an SkXfermode object for the specified mode. 53 static SkXfermode* CreateXfermode(Mode mode); 68 modes (via SkXfermode::Coeff), return true and if not null, set mode 72 static bool IsMode(SkXfermode*, Mode* mode); 74 /** Return the corersponding SkXfermode::Mode 76 static SkXfermode::Mode ToXfermodeMode(Mode); 77 } SK_ATTR_DEPRECATED("use SkXfermode::Mode");
|
/external/skia/include/effects/ |
SkArithmeticMode.h | 14 class SkXfermode; 28 static SkXfermode* Create(SkScalar k1, SkScalar k2,
|
SkPorterDuff.h | 12 #include "SkXfermode.h" 14 class SkXfermode; 51 /** Return an SkXfermode object for the specified mode. 53 static SkXfermode* CreateXfermode(Mode mode); 68 modes (via SkXfermode::Coeff), return true and if not null, set mode 72 static bool IsMode(SkXfermode*, Mode* mode); 74 /** Return the corersponding SkXfermode::Mode 76 static SkXfermode::Mode ToXfermodeMode(Mode); 77 } SK_ATTR_DEPRECATED("use SkXfermode::Mode");
|
/external/chromium_org/third_party/skia/include/gpu/ |
SkGr.h | 31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); 32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff); 33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff); 34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff); 35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff); 36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff); 37 GR_STATIC_ASSERT((int)kSA_GrBlendCoeff == (int)SkXfermode::kSA_Coeff); 38 GR_STATIC_ASSERT((int)kISA_GrBlendCoeff == (int)SkXfermode::kISA_Coeff); 39 GR_STATIC_ASSERT((int)kDA_GrBlendCoeff == (int)SkXfermode::kDA_Coeff); 40 GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff) [all...] |
/external/skia/include/gpu/ |
SkGr.h | 31 GR_STATIC_ASSERT((int)kZero_GrBlendCoeff == (int)SkXfermode::kZero_Coeff); 32 GR_STATIC_ASSERT((int)kOne_GrBlendCoeff == (int)SkXfermode::kOne_Coeff); 33 GR_STATIC_ASSERT((int)kSC_GrBlendCoeff == (int)SkXfermode::kSC_Coeff); 34 GR_STATIC_ASSERT((int)kISC_GrBlendCoeff == (int)SkXfermode::kISC_Coeff); 35 GR_STATIC_ASSERT((int)kDC_GrBlendCoeff == (int)SkXfermode::kDC_Coeff); 36 GR_STATIC_ASSERT((int)kIDC_GrBlendCoeff == (int)SkXfermode::kIDC_Coeff); 37 GR_STATIC_ASSERT((int)kSA_GrBlendCoeff == (int)SkXfermode::kSA_Coeff); 38 GR_STATIC_ASSERT((int)kISA_GrBlendCoeff == (int)SkXfermode::kISA_Coeff); 39 GR_STATIC_ASSERT((int)kDA_GrBlendCoeff == (int)SkXfermode::kDA_Coeff); 40 GR_STATIC_ASSERT((int)kIDA_GrBlendCoeff == (int)SkXfermode::kIDA_Coeff) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/ |
SkiaUtils.cpp | 46 { CompositeClear, SkXfermode::kClear_Mode }, 47 { CompositeCopy, SkXfermode::kSrc_Mode }, 48 { CompositeSourceOver, SkXfermode::kSrcOver_Mode }, 49 { CompositeSourceIn, SkXfermode::kSrcIn_Mode }, 50 { CompositeSourceOut, SkXfermode::kSrcOut_Mode }, 51 { CompositeSourceAtop, SkXfermode::kSrcATop_Mode }, 52 { CompositeDestinationOver, SkXfermode::kDstOver_Mode }, 53 { CompositeDestinationIn, SkXfermode::kDstIn_Mode }, 54 { CompositeDestinationOut, SkXfermode::kDstOut_Mode }, 55 { CompositeDestinationAtop, SkXfermode::kDstATop_Mode } [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_pixeltest_blending.cc | 14 SkXfermode::Mode const kBlendModes[] = { 15 SkXfermode::kSrcOver_Mode, SkXfermode::kScreen_Mode, 16 SkXfermode::kOverlay_Mode, SkXfermode::kDarken_Mode, 17 SkXfermode::kLighten_Mode, SkXfermode::kColorDodge_Mode, 18 SkXfermode::kColorBurn_Mode, SkXfermode::kHardLight_Mode, 19 SkXfermode::kSoftLight_Mode, SkXfermode::kDifference_Mode [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkPorterDuff.cpp | 11 #include "SkXfermode.h" 14 into the (extended) SkXfermode API 17 #define MAKE_PAIR(mode) { SkPorterDuff::k##mode##_Mode, SkXfermode::k##mode##_Mode } 23 SkXfermode::Mode fXF; 41 { SkPorterDuff::kAdd_Mode, SkXfermode::kPlus_Mode }, 47 static bool find_pdmode(SkXfermode::Mode src, SkPorterDuff::Mode* dst) { 60 SkXfermode::Mode SkPorterDuff::ToXfermodeMode(Mode mode) { 67 SkXfermode* SkPorterDuff::CreateXfermode(SkPorterDuff::Mode mode) { 70 return SkXfermode::Create(pair.fXF); 73 bool SkPorterDuff::IsMode(SkXfermode* xfer, Mode* pdmode) [all...] |
/external/skia/src/effects/ |
SkPorterDuff.cpp | 11 #include "SkXfermode.h" 14 into the (extended) SkXfermode API 17 #define MAKE_PAIR(mode) { SkPorterDuff::k##mode##_Mode, SkXfermode::k##mode##_Mode } 23 SkXfermode::Mode fXF; 41 { SkPorterDuff::kAdd_Mode, SkXfermode::kPlus_Mode }, 47 static bool find_pdmode(SkXfermode::Mode src, SkPorterDuff::Mode* dst) { 60 SkXfermode::Mode SkPorterDuff::ToXfermodeMode(Mode mode) { 67 SkXfermode* SkPorterDuff::CreateXfermode(SkPorterDuff::Mode mode) { 70 return SkXfermode::Create(pair.fXF); 73 bool SkPorterDuff::IsMode(SkXfermode* xfer, Mode* pdmode) [all...] |
/external/chromium_org/third_party/skia/src/pdf/ |
SkPDFGraphicState.cpp | 14 static const char* blend_mode_from_xfermode(SkXfermode::Mode mode) { 16 case SkXfermode::kSrcOver_Mode: return "Normal"; 17 case SkXfermode::kMultiply_Mode: return "Multiply"; 18 case SkXfermode::kScreen_Mode: return "Screen"; 19 case SkXfermode::kOverlay_Mode: return "Overlay"; 20 case SkXfermode::kDarken_Mode: return "Darken"; 21 case SkXfermode::kLighten_Mode: return "Lighten"; 22 case SkXfermode::kColorDodge_Mode: return "ColorDodge"; 23 case SkXfermode::kColorBurn_Mode: return "ColorBurn"; 24 case SkXfermode::kHardLight_Mode: return "HardLight" [all...] |
/external/skia/src/pdf/ |
SkPDFGraphicState.cpp | 14 static const char* blend_mode_from_xfermode(SkXfermode::Mode mode) { 16 case SkXfermode::kSrcOver_Mode: return "Normal"; 17 case SkXfermode::kMultiply_Mode: return "Multiply"; 18 case SkXfermode::kScreen_Mode: return "Screen"; 19 case SkXfermode::kOverlay_Mode: return "Overlay"; 20 case SkXfermode::kDarken_Mode: return "Darken"; 21 case SkXfermode::kLighten_Mode: return "Lighten"; 22 case SkXfermode::kColorDodge_Mode: return "ColorDodge"; 23 case SkXfermode::kColorBurn_Mode: return "ColorBurn"; 24 case SkXfermode::kHardLight_Mode: return "HardLight" [all...] |
/external/skia/gm/ |
xfermodeimagefilter.cpp | 101 SkXfermode::Mode fMode; 104 { SkXfermode::kClear_Mode, "Clear" }, 105 { SkXfermode::kSrc_Mode, "Src" }, 106 { SkXfermode::kDst_Mode, "Dst" }, 107 { SkXfermode::kSrcOver_Mode, "SrcOver" }, 108 { SkXfermode::kDstOver_Mode, "DstOver" }, 109 { SkXfermode::kSrcIn_Mode, "SrcIn" }, 110 { SkXfermode::kDstIn_Mode, "DstIn" }, 111 { SkXfermode::kSrcOut_Mode, "SrcOut" }, 112 { SkXfermode::kDstOut_Mode, "DstOut" } [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
ImageBufferSurface.cpp | 47 canvas()->drawARGB(255, 0, 0, 0, SkXfermode::kSrc_Mode); 49 canvas()->drawARGB(0, 0, 0, 0, SkXfermode::kClear_Mode);
|