Home
last modified time | relevance | path

Searched refs:SkColorShader (Results 1 – 12 of 12) sorted by relevance

/external/skia/src/core/
DSkShader.cpp230 SkShader* SkShader::CreateColorShader(SkColor color) { return new SkColorShader(color); } in CreateColorShader()
255 SkColorShader::SkColorShader(SkColor c) in SkColorShader() function in SkColorShader
259 bool SkColorShader::isOpaque() const { in isOpaque()
263 SkFlattenable* SkColorShader::CreateProc(SkReadBuffer& buffer) { in CreateProc()
264 return new SkColorShader(buffer.readColor()); in CreateProc()
267 void SkColorShader::flatten(SkWriteBuffer& buffer) const { in flatten()
271 uint32_t SkColorShader::ColorShaderContext::getFlags() const { in getFlags()
275 SkShader::Context* SkColorShader::onCreateContext(const ContextRec& rec, void* storage) const { in onCreateContext()
279 SkColorShader::ColorShaderContext::ColorShaderContext(const SkColorShader& shader, in ColorShaderContext()
307 void SkColorShader::ColorShaderContext::shadeSpan(int x, int y, SkPMColor span[], int count) { in shadeSpan()
[all …]
DSkColorShader.h19 class SK_API SkColorShader : public SkShader {
25 explicit SkColorShader(SkColor c);
35 ColorShaderContext(const SkColorShader& shader, const ContextRec&);
58 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkColorShader)
61 SkColorShader(SkReadBuffer&);
DSkGlobalInitialization_core.cpp33 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) in InitCore()
DSkBitmapProcShader.cpp253 shader = new SkColorShader(color); in SkCreateBitmapShader()
255 shader = allocator->createT<SkColorShader>(color); in SkCreateBitmapShader()
DSkBlitter.cpp862 shader = new SkColorShader(paint->getColor()); in Choose()
/external/skia/tests/
DShaderOpacityTest.cpp100 SkColorShader colorShader1(SkColorSetARGB(0,0,0,0)); in test_color()
102 SkColorShader colorShader2(SkColorSetARGB(0xFF,0,0,0)); in test_color()
104 SkColorShader colorShader3(SkColorSetARGB(0x7F,0,0,0)); in test_color()
DGradientTest.cpp75 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
/external/skia/samplecode/
DSampleEmboss.cpp57 paint.setShader(new SkColorShader(SK_ColorBLUE))->unref(); in onDrawContent()
/external/skia/gm/
Ddiscard.cpp70 SkColorShader shader(color); in onDraw()
/external/skia/bench/
DShaderMaskBench.cpp46 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench()
/external/skia/gyp/
Dcore.gypi76 '<(skia_src_path)/core/SkColorShader.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj607 …* SkColorShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c…
1620 260E01C113B1225D0064D447 /* SkColorShader.h */,