HomeSort by relevance Sort by last modified time
    Searched refs:SkXfermode (Results 51 - 75 of 355) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/skia/tests/
ColorFilterTest.cpp 15 #include "SkXfermode.h"
34 #define ILLEGAL_MODE ((SkXfermode::Mode)-1)
39 for (int mode = 0; mode <= SkXfermode::kLastMode; mode++) {
47 (SkXfermode::Mode)mode);
50 if (SkXfermode::kDst_Mode == mode && NULL == cf) {
58 SkXfermode::Mode m = ILLEGAL_MODE;
61 SkXfermode::Mode expectedMode = (SkXfermode::Mode)mode;
67 if (SkXfermode::kClear_Mode == mode) {
72 expectedMode = SkXfermode::kSrc_Mode
    [all...]
LayerDrawLooperTest.cpp 20 #include "SkXfermode.h"
49 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode);
58 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode));
66 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode));
86 layerPaint->setXfermodeMode(SkXfermode::kSrc_Mode);
95 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrcOver_Mode));
103 REPORTER_ASSERT(reporter, SkXfermode::IsMode(paint.getXfermode(), SkXfermode::kSrc_Mode))
    [all...]
FlatDataTest.cpp 18 #include "SkXfermode.h"
82 // Test SkXfermode
83 SkXfermode* xfer = SkXfermode::Create(SkXfermode::kDstOver_Mode);
  /external/chromium_org/third_party/skia/include/core/
SkColorFilter.h 15 #include "SkXfermode.h"
38 virtual bool asColorMode(SkColor* color, SkXfermode::Mode* mode) const;
117 static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode);
  /external/chromium_org/third_party/skia/include/effects/
SkAvoidXfermode.h 11 #include "SkXfermode.h"
18 class SK_API SkAvoidXfermode : public SkXfermode {
42 // overrides from SkXfermode
62 typedef SkXfermode INHERITED;
  /external/skia/include/core/
SkColorFilter.h 15 #include "SkXfermode.h"
38 virtual bool asColorMode(SkColor* color, SkXfermode::Mode* mode) const;
117 static SkColorFilter* CreateModeFilter(SkColor c, SkXfermode::Mode mode);
  /external/skia/include/effects/
SkAvoidXfermode.h 11 #include "SkXfermode.h"
18 class SK_API SkAvoidXfermode : public SkXfermode {
42 // overrides from SkXfermode
62 typedef SkXfermode INHERITED;
  /frameworks/base/libs/hwui/
OpenGLRenderer.h 28 #include <SkXfermode.h>
227 SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode;
233 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags);
236 int alpha, SkXfermode::Mode mode, int flags);
239 int alpha, SkXfermode::Mode mode, int flags);
302 virtual status_t drawColor(int color, SkXfermode::Mode mode);
403 static inline void getAlphaAndModeDirect(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) {
408 static inline SkXfermode::Mode getXfermodeDirect(SkPaint* paint) {
409 if (!paint) return SkXfermode::kSrcOver_Mode
    [all...]
  /external/chromium_org/ui/app_list/views/
cached_label.cc 22 SkXfermode::kSrc_Mode);
  /external/chromium_org/cc/quads/
shared_quad_state.cc 14 : is_clipped(false), opacity(0.f), blend_mode(SkXfermode::kSrcOver_Mode) {}
36 SkXfermode::Mode blend_mode) {
57 value->SetString("blend_mode", SkXfermode::ModeName(blend_mode));
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
DrawLooper.cpp 40 #include "third_party/skia/include/core/SkXfermode.h"
78 info.fColorMode = SkXfermode::kDst_Mode;
81 info.fColorMode = SkXfermode::kSrc_Mode;
104 RefPtr<SkColorFilter> cf = adoptRef(SkColorFilter::CreateModeFilter(skColor, SkXfermode::kSrcIn_Mode));
  /external/skia/gm/
composeshader.cpp 17 #include "SkXfermode.h"
41 SkXfermode* mode = SkXfermode::Create(SkXfermode::kDstIn_Mode);
imagefiltersgraph.cpp 49 paint.setXfermodeMode(SkXfermode::kSrc_Mode);
126 SkXfermode::kSrcIn_Mode));
147 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(SkXfermode::kSrcOver_Mode));
164 SkAutoTUnref<SkXfermode> arith(SkArithmeticMode::Create(0, SK_Scalar1, SK_Scalar1, 0));
176 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(SkXfermode::kSrcIn_Mode));
lumafilter.cpp 29 SkXfermode::Mode mode, SkShader* s1,
109 SkXfermode::Mode modes[] = { SkXfermode::kSrcOver_Mode,
110 SkXfermode::kDstOver_Mode,
111 SkXfermode::kSrcATop_Mode,
112 SkXfermode::kDstATop_Mode,
113 SkXfermode::kSrcIn_Mode,
114 SkXfermode::kDstIn_Mode,
128 draw_label(canvas, SkXfermode::ModeName(modes[i]),
texteffects.cpp 26 p.setXfermodeMode(SkXfermode::kSrc_Mode);
34 p.setXfermodeMode(SkXfermode::kSrc_Mode);
47 p.setXfermodeMode(SkXfermode::kClear_Mode);
58 p.setXfermodeMode(SkXfermode::kSrc_Mode);
67 p.setXfermodeMode(SkXfermode::kClear_Mode);
80 p.setXfermodeMode(SkXfermode::kSrcOut_Mode);
91 p.setXfermodeMode(SkXfermode::kClear_Mode);
118 p.setXfermodeMode(SkXfermode::kClear_Mode);
135 p.setXfermodeMode(SkXfermode::kClear_Mode);
151 #include "SkXfermode.h
    [all...]
  /external/chromium_org/third_party/skia/src/effects/
SkLerpXfermode.cpp 13 SkXfermode* SkLerpXfermode::Create(SkScalar scale) {
16 return SkXfermode::Create(SkXfermode::kSrc_Mode);
18 return SkXfermode::Create(SkXfermode::kDst_Mode);
SkMergeImageFilter.cpp 30 void SkMergeImageFilter::initModes(const SkXfermode::Mode modes[]) {
43 SkXfermode::Mode mode,
45 if (SkXfermode::kSrcOver_Mode != mode) {
46 SkXfermode::Mode modes[] = { mode, mode };
54 const SkXfermode::Mode modes[],
138 paint.setXfermodeMode((SkXfermode::Mode)fModes[i]);
170 buffer.validate(SkIsValidMode((SkXfermode::Mode)fModes[i]));
  /external/skia/src/effects/
SkLerpXfermode.cpp 13 SkXfermode* SkLerpXfermode::Create(SkScalar scale) {
16 return SkXfermode::Create(SkXfermode::kSrc_Mode);
18 return SkXfermode::Create(SkXfermode::kDst_Mode);
SkMergeImageFilter.cpp 30 void SkMergeImageFilter::initModes(const SkXfermode::Mode modes[]) {
43 SkXfermode::Mode mode,
45 if (SkXfermode::kSrcOver_Mode != mode) {
46 SkXfermode::Mode modes[] = { mode, mode };
54 const SkXfermode::Mode modes[],
138 paint.setXfermodeMode((SkXfermode::Mode)fModes[i]);
170 buffer.validate(SkIsValidMode((SkXfermode::Mode)fModes[i]));
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
FEBlend.cpp 186 static SkXfermode::Mode toSkiaMode(BlendModeType mode)
190 return SkXfermode::kSrcOver_Mode;
192 return SkXfermode::kMultiply_Mode;
194 return SkXfermode::kScreen_Mode;
196 return SkXfermode::kDarken_Mode;
198 return SkXfermode::kLighten_Mode;
200 return SkXfermode::kSrcOver_Mode;
233 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(toSkiaMode(m_mode)));
245 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(toSkiaMode(m_mode)))
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrSWMaskHelper.cpp 22 SkXfermode::Mode op_to_mode(SkRegion::Op op) {
24 static const SkXfermode::Mode modeMap[] = {
25 SkXfermode::kDstOut_Mode, // kDifference_Op
26 SkXfermode::kModulate_Mode, // kIntersect_Op
27 SkXfermode::kSrcOver_Mode, // kUnion_Op
28 SkXfermode::kXor_Mode, // kXOR_Op
29 SkXfermode::kClear_Mode, // kReverseDifference_Op
30 SkXfermode::kSrc_Mode, // kReplace_Op
45 SkXfermode* mode = SkXfermode::Create(op_to_mode(op))
    [all...]
  /external/skia/src/gpu/
GrSWMaskHelper.cpp 22 SkXfermode::Mode op_to_mode(SkRegion::Op op) {
24 static const SkXfermode::Mode modeMap[] = {
25 SkXfermode::kDstOut_Mode, // kDifference_Op
26 SkXfermode::kModulate_Mode, // kIntersect_Op
27 SkXfermode::kSrcOver_Mode, // kUnion_Op
28 SkXfermode::kXor_Mode, // kXOR_Op
29 SkXfermode::kClear_Mode, // kReverseDifference_Op
30 SkXfermode::kSrc_Mode, // kReplace_Op
45 SkXfermode* mode = SkXfermode::Create(op_to_mode(op))
    [all...]
  /external/chromium_org/skia/ext/
analysis_canvas.cc 20 SkXfermode::Mode xfermode;
24 SkXfermode::AsMode(paint.getXfermode(), &xfermode);
36 (xfermode == SkXfermode::kSrc_Mode ||
37 xfermode == SkXfermode::kSrcOver_Mode));
143 SkXfermode::Mode xfermode;
144 SkXfermode::AsMode(paint.getXfermode(), &xfermode);
157 xfermode == SkXfermode::kClear_Mode) {
160 } else if (paint.getAlpha() != 0 || xfermode != SkXfermode::kSrc_Mode) {
287 SkXfermode* xmode,
388 SkXfermode::Mode xfermode = SkXfermode::kSrc_Mode
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkColorFilter.cpp 15 bool SkColorFilter::asColorMode(SkColor* color, SkXfermode::Mode* mode) const {
  /external/skia/src/core/
SkColorFilter.cpp 15 bool SkColorFilter::asColorMode(SkColor* color, SkXfermode::Mode* mode) const {

Completed in 657 milliseconds

1 23 4 5 6 7 8 91011>>