Searched refs:SkColorShader (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/skia/include/core/
H A DSkColorShader.h13 /** \class SkColorShader
18 class SK_API SkColorShader : public SkShader { class in inherits:SkShader
24 explicit SkColorShader(SkColor c);
34 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
61 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader)
64 SkColorShader(SkReadBuffer&);
/external/skia/include/core/
H A DSkColorShader.h15 /** \class SkColorShader
20 class SK_API SkColorShader : public SkShader { class in inherits:SkShader
26 explicit SkColorShader(SkColor c);
36 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
64 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader)
67 SkColorShader(SkReadBuffer&);
/external/skia/src/core/
H A DSkShader.cpp252 #include "SkColorShader.h"
255 SkColorShader::SkColorShader(SkColor c) function in class:SkColorShader
259 bool SkColorShader::isOpaque() const {
263 SkColorShader::SkColorShader(SkReadBuffer& b) : INHERITED(b) { function in class:SkColorShader
276 void SkColorShader::flatten(SkWriteBuffer& buffer) const {
281 uint32_t SkColorShader::ColorShaderContext::getFlags() const {
285 uint8_t SkColorShader::ColorShaderContext::getSpan16Alpha() const {
289 SkShader::Context* SkColorShader
[all...]
H A DSkComposeShader.cpp13 #include "SkColorShader.h"
33 fShaderA = SkNEW_ARGS(SkColorShader, ((SkColor)0));
37 fShaderB = SkNEW_ARGS(SkColorShader, ((SkColor)0));
H A DSkBitmapProcShader.cpp286 #include "SkColorShader.h"
340 shader = SkNEW_ARGS(SkColorShader, (color));
342 shader = allocator->createT<SkColorShader>(color);
/external/chromium_org/third_party/skia/src/core/
H A DSkShader.cpp9 #include "SkColorShader.h"
240 return SkNEW_ARGS(SkColorShader, (color));
266 SkColorShader::SkColorShader(SkColor c) function in class:SkColorShader
270 bool SkColorShader::isOpaque() const {
275 SkColorShader::SkColorShader(SkReadBuffer& b) : INHERITED(b) { function in class:SkColorShader
289 SkFlattenable* SkColorShader::CreateProc(SkReadBuffer& buffer) {
290 return SkNEW_ARGS(SkColorShader, (buffer.readColor()));
293 void SkColorShader
[all...]
H A DSkComposeShader.cpp13 #include "SkColorShader.h"
33 fShaderA = SkNEW_ARGS(SkColorShader, ((SkColor)0));
37 fShaderB = SkNEW_ARGS(SkColorShader, ((SkColor)0));
H A DSkBitmapProcShader.cpp299 #include "SkColorShader.h"
353 shader = SkNEW_ARGS(SkColorShader, (color));
355 shader = allocator->createT<SkColorShader>(color);
H A DSkBlitter.cpp570 #include "SkColorShader.h"
909 shader = SkNEW_ARGS(SkColorShader, (paint->getColor()));
/external/chromium_org/third_party/skia/samplecode/
H A DSampleEmboss.cpp12 #include "SkColorShader.h"
57 paint.setShader(new SkColorShader(SK_ColorBLUE))->unref();
/external/skia/samplecode/
H A DSampleEmboss.cpp12 #include "SkColorShader.h"
57 paint.setShader(new SkColorShader(SK_ColorBLUE))->unref();
/external/chromium_org/third_party/skia/tests/
H A DShaderOpacityTest.cpp8 #include "SkColorShader.h"
100 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0));
102 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0));
104 SkColorShader colorShader3(SkColorSetARGB(0x7F,0,0,0));
H A DGradientTest.cpp9 #include "SkColorShader.h"
50 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0]));
/external/skia/tests/
H A DShaderOpacityTest.cpp8 #include "SkColorShader.h"
100 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0));
102 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0));
104 SkColorShader colorShader3(SkColorSetARGB(0x7F,0,0,0));
H A DGradientTest.cpp9 #include "SkColorShader.h"
51 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0]));
/external/chromium_org/third_party/skia/gm/
H A Ddiscard.cpp12 #include "SkColorShader.h"
71 SkColorShader shader(color);
/external/chromium_org/third_party/skia/src/ports/
H A DSkGlobalInitialization_chromium.cpp27 #include "SkColorShader.h"
71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
H A DSkGlobalInitialization_default.cpp27 #include "SkColorShader.h"
71 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
/external/skia/gm/
H A Ddiscard.cpp12 #include "SkColorShader.h"
71 SkColorShader shader(color);
/external/skia/src/ports/
H A DSkGlobalInitialization_chromium.cpp28 #include "SkColorShader.h"
72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
H A DSkGlobalInitialization_default.cpp28 #include "SkColorShader.h"
72 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader)
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DPattern.cpp33 #include "SkColorShader.h"
67 m_pattern = adoptRef(new SkColorShader(SK_ColorTRANSPARENT));
H A DGradient.cpp35 #include "third_party/skia/include/core/SkColorShader.h"
263 m_gradient = adoptRef(new SkColorShader(colors[countUsed - 1]));
/external/chromium_org/third_party/skia/bench/
H A DShaderMaskBench.cpp10 #include "SkColorShader.h"
47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref();
/external/skia/bench/
H A DShaderMaskBench.cpp10 #include "SkColorShader.h"
47 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref();

Completed in 463 milliseconds

12