Searched refs:SkColorShader (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/core/ |
D | SkShader.cpp | 230 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 …]
|
D | SkColorShader.h | 19 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&);
|
D | SkGlobalInitialization_core.cpp | 33 SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SkColorShader) in InitCore()
|
D | SkBitmapProcShader.cpp | 253 shader = new SkColorShader(color); in SkCreateBitmapShader() 255 shader = allocator->createT<SkColorShader>(color); in SkCreateBitmapShader()
|
D | SkBlitter.cpp | 862 shader = new SkColorShader(paint->getColor()); in Choose()
|
/external/skia/tests/ |
D | ShaderOpacityTest.cpp | 100 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()
|
D | GradientTest.cpp | 75 SkAutoTUnref<SkShader> s(new SkColorShader(rec.fColors[0])); in color_gradproc()
|
/external/skia/samplecode/ |
D | SampleEmboss.cpp | 57 paint.setShader(new SkColorShader(SK_ColorBLUE))->unref(); in onDrawContent()
|
/external/skia/gm/ |
D | discard.cpp | 70 SkColorShader shader(color); in onDraw()
|
/external/skia/bench/ |
D | ShaderMaskBench.cpp | 46 fPaint.setShader(new SkColorShader(isOpaque ? 0xFFFFFFFF : 0x80808080))->unref(); in ShaderMaskBench()
|
/external/skia/gyp/ |
D | core.gypi | 76 '<(skia_src_path)/core/SkColorShader.h',
|
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/ |
D | project.pbxproj | 607 …* SkColorShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c… 1620 260E01C113B1225D0064D447 /* SkColorShader.h */,
|