/external/skia/src/core/ |
D | SkShader.cpp | 21 SkShader::SkShader() : fLocalMatrix(NULL) { in SkShader() function in SkShader 25 SkShader::SkShader(SkFlattenableReadBuffer& buffer) in SkShader() function in SkShader 35 SkShader::~SkShader() { in ~SkShader() 40 void SkShader::beginSession() { in beginSession() 45 void SkShader::endSession() { in endSession() 50 void SkShader::flatten(SkFlattenableWriteBuffer& buffer) { in flatten() 58 bool SkShader::getLocalMatrix(SkMatrix* localM) const { in getLocalMatrix() 72 void SkShader::setLocalMatrix(const SkMatrix& localM) { in setLocalMatrix() 83 void SkShader::resetLocalMatrix() { in resetLocalMatrix() 90 bool SkShader::setContext(const SkBitmap& device, in setContext() [all …]
|
D | SkBitmapSampler.cpp | 20 static SkTileModeProc get_tilemode_proc(SkShader::TileMode mode) in get_tilemode_proc() 23 case SkShader::kClamp_TileMode: in get_tilemode_proc() 25 case SkShader::kRepeat_TileMode: in get_tilemode_proc() 27 case SkShader::kMirror_TileMode: in get_tilemode_proc() 36 SkShader::TileMode tmx, SkShader::TileMode tmy) in SkBitmapSampler() 55 SkShader::TileMode tmx, SkShader::TileMode tmy) in SkNullBitmapSampler() 86 ARGB32_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) in ARGB32_Bilinear_Sampler() 134 RGB16_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) in RGB16_Bilinear_Sampler() 188 Index8_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) in Index8_Bilinear_Sampler() 243 A8_Bilinear_Sampler(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::TileMode tmy) in A8_Bilinear_Sampler() [all …]
|
D | SkBitmapSamplerTemplate.h | 26 …BITMAP_CLASSNAME_PREFIX(_Point_Sampler)(const SkBitmap& bm, SkShader::TileMode tmx, SkShader::Tile… in BITMAP_CLASSNAME_PREFIX() 43 : SkBitmapSampler(bm, false, SkShader::kClamp_TileMode, SkShader::kClamp_TileMode) in BITMAP_CLASSNAME_PREFIX() 58 : SkBitmapSampler(bm, false, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) in BITMAP_CLASSNAME_PREFIX() 73 : SkBitmapSampler(bm, false, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) in BITMAP_CLASSNAME_PREFIX() 88 : SkBitmapSampler(bm, false, SkShader::kMirror_TileMode, SkShader::kMirror_TileMode) in BITMAP_CLASSNAME_PREFIX() 103 : SkBitmapSampler(bm, false, SkShader::kMirror_TileMode, SkShader::kMirror_TileMode) in BITMAP_CLASSNAME_PREFIX()
|
D | SkBitmapSampler.h | 29 SkBitmapSampler(const SkBitmap&, bool filter, SkShader::TileMode tmx, SkShader::TileMode tmy); 34 SkShader::TileMode getTileModeX() const { return fTileModeX; } in getTileModeX() 35 SkShader::TileMode getTileModeY() const { return fTileModeY; } in getTileModeY() 45 SkShader::TileMode tmx, SkShader::TileMode tmy); 51 SkShader::TileMode fTileModeX; 52 SkShader::TileMode fTileModeY;
|
D | SkColorFilter.cpp | 32 SkFilterShader::SkFilterShader(SkShader* shader, SkColorFilter* filter) in SkFilterShader() 41 fShader = static_cast<SkShader*>(buffer.readFlattenable()); in SkFilterShader() 77 shaderF &= ~SkShader::kHasSpan16_Flag; in getFlags() 81 shaderF &= ~(SkShader::kOpaqueAlpha_Flag | SkShader::kHasSpan16_Flag); in getFlags() 102 SkASSERT(fShader->getFlags() & SkShader::kHasSpan16_Flag); in shadeSpan16()
|
D | SkBitmapProcState_matrixProcs.cpp | 99 if (SkShader::kClamp_TileMode == m) in choose_tile_proc() 101 if (SkShader::kRepeat_TileMode == m) in choose_tile_proc() 103 SkASSERT(SkShader::kMirror_TileMode == m); in choose_tile_proc() 146 if (SkShader::kClamp_TileMode == tm) in choose_int_tile_proc() 148 if (SkShader::kRepeat_TileMode == tm) in choose_int_tile_proc() 150 SkASSERT(SkShader::kMirror_TileMode == tm); in choose_int_tile_proc() 481 case SkShader::kClamp_TileMode: in chooseMatrixProc() 483 case SkShader::kRepeat_TileMode: in chooseMatrixProc() 485 case SkShader::kMirror_TileMode: in chooseMatrixProc() 500 if (SkShader::kClamp_TileMode == fTileModeX && in chooseMatrixProc() [all …]
|
D | SkComposeShader.cpp | 25 SkComposeShader::SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode) in SkComposeShader() 36 fShaderA = static_cast<SkShader*>(buffer.readFlattenable()); in SkComposeShader() 37 fShaderB = static_cast<SkShader*>(buffer.readFlattenable()); in SkComposeShader() 118 SkShader* shaderA = fShaderA; in shadeSpan() 119 SkShader* shaderB = fShaderB; in shadeSpan()
|
/external/webkit/WebCore/platform/graphics/skia/ |
D | PatternSkia.cpp | 68 …m_pattern = SkShader::CreateBitmapShader(*bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMo… in platformPattern() 77 … SkShader::TileMode tileModeX = m_repeatX ? SkShader::kRepeat_TileMode : SkShader::kClamp_TileMode; in platformPattern() 78 … SkShader::TileMode tileModeY = m_repeatY ? SkShader::kRepeat_TileMode : SkShader::kClamp_TileMode; in platformPattern() 91 m_pattern = SkShader::CreateBitmapShader(bm2, tileModeX, tileModeY); in platformPattern()
|
D | GradientSkia.cpp | 118 SkShader* Gradient::platformGradient() in platformGradient() 141 SkShader::TileMode tile = SkShader::kClamp_TileMode; in platformGradient() 144 tile = SkShader::kMirror_TileMode; in platformGradient() 147 tile = SkShader::kRepeat_TileMode; in platformGradient() 150 tile = SkShader::kClamp_TileMode; in platformGradient()
|
D | ImageSkia.cpp | 325 SkShader* shader; in drawPattern() 353 …shader = SkShader::CreateBitmapShader(resampled, SkShader::kRepeat_TileMode, SkShader::kRepeat_Til… in drawPattern() 361 …shader = SkShader::CreateBitmapShader(srcSubset, SkShader::kRepeat_TileMode, SkShader::kRepeat_Til… in drawPattern()
|
/external/skia/gm/ |
D | gradients.cpp | 29 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, in MakeLinear() 30 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeLinear() 35 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, in MakeRadial() 36 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeRadial() 44 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, in MakeSweep() 45 SkShader::TileMode tm, SkUnitMapper* mapper) { in MakeSweep() 53 typedef SkShader* (*GradMaker)(const SkPoint pts[2], const GradData& data, 54 SkShader::TileMode tm, SkUnitMapper* mapper); 83 SkShader::TileMode tm = SkShader::kClamp_TileMode; in onDraw() 92 SkShader* shader = gGradMakers[j](pts, gGradData[i], tm, NULL); in onDraw()
|
D | tilemodes.cpp | 37 SK_ARRAY_COUNT(colors), SkShader::kClamp_TileMode, um))->unref(); in makebm() 42 SkShader::TileMode tmx, SkShader::TileMode tmy) { in setup() 43 SkShader* shader = SkShader::CreateBitmapShader(bm, tmx, tmy); in setup() 90 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw()
|
D | xfermodes.cpp | 77 SkShader* s = SkShader::CreateBitmapShader(fBG, in drawBG() 78 SkShader::kRepeat_TileMode, in drawBG() 79 SkShader::kRepeat_TileMode); in drawBG() 128 SkShader* s = SkShader::CreateBitmapShader(fBG, in onDraw() 129 SkShader::kRepeat_TileMode, in onDraw() 130 SkShader::kRepeat_TileMode); in onDraw()
|
/external/skia/src/animator/ |
D | SkDrawShader.cpp | 36 tileMode(SkShader::kClamp_TileMode) { in SkDrawShader() 47 void SkDrawShader::addPostlude(SkShader* shader) { in addPostlude() 74 SkShader* SkDrawBitmapShader::getShader() { in getShader() 84 SkShader* shader = SkShader::CreateBitmapShader(image->fBitmap, in getShader() 85 (SkShader::TileMode) tileMode, in getShader() 86 (SkShader::TileMode) tileMode); in getShader() 87 SkAutoTDelete<SkShader> autoDel(shader); in getShader()
|
D | SkDrawGradient.cpp | 191 SkShader* SkLinearGradient::getShader() { in getShader() 194 SkShader* shader = SkGradientShader::CreateLinear((SkPoint*)points.begin(), in getShader() 195 … fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMapper); in getShader() 196 SkAutoTDelete<SkShader> autoDel(shader); in getShader() 226 SkShader* SkRadialGradient::getShader() { in getShader() 229 SkShader* shader = SkGradientShader::CreateRadial(center, in getShader() 230 …radius, fColors.begin(), offsets.begin(), fColors.count(), (SkShader::TileMode) tileMode, fUnitMap… in getShader() 231 SkAutoTDelete<SkShader> autoDel(shader); in getShader()
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 48 static SkShader* CreateLinear( const SkPoint pts[2], 50 SkShader::TileMode mode, 70 static SkShader* CreateRadial( const SkPoint& center, SkScalar radius, 72 SkShader::TileMode mode, 95 static SkShader* CreateTwoPointRadial(const SkPoint& start, 101 SkShader::TileMode mode, 119 static SkShader* CreateSweep(SkScalar cx, SkScalar cy,
|
/external/skia/src/views/ |
D | SkParsePaint.cpp | 7 static SkShader* inflate_shader(const SkDOM& dom, const SkDOM::Node* node) in inflate_shader() 27 SkShader::TileMode mode = SkShader::kClamp_TileMode; in inflate_shader() 31 mode = (SkShader::TileMode)index; in inflate_shader() 44 SkShader::TileMode mode = SkShader::kRepeat_TileMode; in inflate_shader() 48 mode = (SkShader::TileMode)index; in inflate_shader() 50 return SkShader::CreateBitmapShader(bm, mode, mode); in inflate_shader() 99 SkShader* shader = inflate_shader(dom, node); in SkPaint_Inflate()
|
D | SkProgressView.cpp | 101 static SkShader* inflate_shader(const char file[]) in inflate_shader() 106 SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode) : in inflate_shader()
|
/external/skia/include/core/ |
D | SkComposeShader.h | 30 class SkComposeShader : public SkShader { 41 SkComposeShader(SkShader* sA, SkShader* sB, SkXfermode* mode = NULL); 59 SkShader* fShaderA; 60 SkShader* fShaderB; 63 typedef SkShader INHERITED;
|
D | SkShader.h | 35 class SkShader : public SkFlattenable { 37 SkShader(); 38 virtual ~SkShader(); 132 return SkShader::CanCallShadeSpan16(this->getFlags()); in canCallShadeSpan16() 164 static SkShader* CreateBitmapShader(const SkBitmap& src, 182 SkShader(SkFlattenableReadBuffer& ); 191 static SkShader* CreateBitmapShader(const SkBitmap& src,
|
D | SkColorFilter.h | 97 class SkFilterShader : public SkShader { 99 SkFilterShader(SkShader* shader, SkColorFilter* filter); 118 SkShader* fShader; 121 typedef SkShader INHERITED;
|
/external/webkit/WebCore/platform/graphics/android/ |
D | GradientAndroid.cpp | 43 SkShader* m_shader; 44 SkShader::TileMode m_tileMode; 61 SkShader* Gradient::getShader(SkShader::TileMode mode) in getShader() 91 SkShader* s; in getShader() 119 SkShader::TileMode mode = m_gradient ? m_gradient->m_tileMode : in fill() 120 SkShader::kClamp_TileMode; in fill()
|
D | PatternAndroid.cpp | 39 static SkShader::TileMode toTileMode(bool doRepeat) { in toTileMode() 40 return doRepeat ? SkShader::kRepeat_TileMode : SkShader::kClamp_TileMode; in toTileMode() 49 SkShader* Pattern::platformPattern(const AffineTransform&) in platformPattern() 57 m_pattern = SkShader::CreateBitmapShader(ref->bitmap(), in platformPattern()
|
/external/webkit/WebCore/platform/graphics/ |
D | Gradient.h | 61 class SkShader; variable 62 typedef class SkShader* PlatformGradient; 63 typedef class SkShader* PlatformPattern; 99 SkShader* getShader(SkShader::TileMode);
|
/external/skia/bench/ |
D | RepeatTileBench.cpp | 105 SkShader* s = SkShader::CreateBitmapShader(bm, in RepeatTileBench() 106 SkShader::kRepeat_TileMode, in RepeatTileBench() 107 SkShader::kRepeat_TileMode); in RepeatTileBench()
|