Home
last modified time | relevance | path

Searched refs:SkPixmap (Results 1 – 25 of 79) sorted by relevance

1234

/external/skia/src/core/
DSkSpriteBlitter.h20 SkSpriteBlitter(const SkPixmap& source);
22 virtual void setup(const SkPixmap& dst, int left, int top, const SkPaint&);
31 static SkSpriteBlitter* ChooseD16(const SkPixmap& source, const SkPaint&, SkTBlitterAllocator*);
32 static SkSpriteBlitter* ChooseL32(const SkPixmap& source, const SkPaint&, SkTBlitterAllocator*);
33 static SkSpriteBlitter* ChooseS32(const SkPixmap& source, const SkPaint&, SkTBlitterAllocator*);
34 static SkSpriteBlitter* ChooseF16(const SkPixmap& source, const SkPaint&, SkTBlitterAllocator*);
37 SkPixmap fDst;
38 const SkPixmap fSource;
DSkCoreBlitters.h19 SkRasterBlitter(const SkPixmap& device) : fDevice(device) {} in SkRasterBlitter()
22 const SkPixmap fDevice;
35 SkShaderBlitter(const SkPixmap& device, const SkPaint& paint,
65 SkA8_Coverage_Blitter(const SkPixmap& device, const SkPaint& paint);
71 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
76 SkA8_Blitter(const SkPixmap& device, const SkPaint& paint);
82 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
95 SkA8_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
117 SkARGB32_Blitter(const SkPixmap& device, const SkPaint& paint);
123 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
[all …]
DSkPixmap.cpp16 void SkAutoPixmapUnlock::reset(const SkPixmap& pm, void (*unlock)(void*), void* ctx) { in reset()
28 void SkPixmap::reset() { in reset()
35 void SkPixmap::reset(const SkImageInfo& info, const void* addr, size_t rowBytes, SkColorTable* ct) { in reset()
45 bool SkPixmap::reset(const SkMask& src) { in reset()
55 bool SkPixmap::extractSubset(SkPixmap* result, const SkIRect& subset) const { in extractSubset()
76 bool SkPixmap::readPixels(const SkImageInfo& requestedDstInfo, void* dstPixels, size_t dstRB, in readPixels()
120 bool SkPixmap::erase(SkColor color, const SkIRect& inArea) const { in erase()
220 bool SkPixmap::erase(const SkColor4f& origColor, const SkIRect* subset) const { in erase()
221 SkPixmap pm; in erase()
251 bool SkPixmap::scalePixels(const SkPixmap& dst, SkFilterQuality quality) const { in scalePixels()
DSkDeviceLooper.h33 SkDeviceLooper(const SkPixmap& base, const SkRasterClip&, const SkIRect& bounds, bool aa);
36 const SkPixmap& getPixmap() const { in getPixmap()
63 const SkPixmap& fBaseDst;
73 SkPixmap fSubsetDst;
76 const SkPixmap* fCurrDst;
DSkBlitter.h20 class SkPixmap; variable
56 virtual const SkPixmap* justAnOpaqueColor(uint32_t* value);
127 static SkBlitter* Choose(const SkPixmap& dst,
133 static SkBlitter* ChooseSprite(const SkPixmap& dst,
135 const SkPixmap& src,
155 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
178 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
212 const SkPixmap* justAnOpaqueColor(uint32_t* value) override;
DSkBlitter_Sprite.cpp11 SkSpriteBlitter::SkSpriteBlitter(const SkPixmap& source) : fSource(source) {} in SkSpriteBlitter()
13 void SkSpriteBlitter::setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) { in setup()
43 SkBlitter* SkBlitter::ChooseSprite(const SkPixmap& dst, const SkPaint& paint, in ChooseSprite()
44 const SkPixmap& source, int left, int top, SkTBlitterAllocator* allocator) { in ChooseSprite()
DSkBitmapScaler.h36 static bool Resize(const SkPixmap& dst, const SkPixmap& src, ResizeMethod method);
42 static bool Resize(SkBitmap* result, const SkPixmap& src, ResizeMethod method,
DSkSpriteBlitter4f.cpp15 Sprite_4f(const SkPixmap& src, const SkPaint& paint) : INHERITED(src) { in Sprite_4f()
36 Sprite_F16(const SkPixmap& src, const SkPaint& paint) : INHERITED(src, paint) { in Sprite_F16()
64 SkSpriteBlitter* SkSpriteBlitter::ChooseF16(const SkPixmap& source, const SkPaint& paint, in ChooseF16()
85 Sprite_sRGB(const SkPixmap& src, const SkPaint& paint) : INHERITED(src, paint) { in Sprite_sRGB()
114 SkSpriteBlitter* SkSpriteBlitter::ChooseS32(const SkPixmap& source, const SkPaint& paint, in ChooseS32()
DSkSpriteBlitter_ARGB32.cpp20 Sprite_D32_S32(const SkPixmap& src, U8CPU alpha) : INHERITED(src) { in Sprite_D32_S32()
62 Sprite_D32_XferFilter(const SkPixmap& source, const SkPaint& paint) : SkSpriteBlitter(source) { in Sprite_D32_XferFilter()
90 void setup(const SkPixmap& dst, int left, int top, const SkPaint& paint) override { in setup()
117 Sprite_D32_S32A_XferFilter(const SkPixmap& source, const SkPaint& paint) in Sprite_D32_S32A_XferFilter()
163 Sprite_D32_S4444_XferFilter(const SkPixmap& source, const SkPaint& paint) in Sprite_D32_S4444_XferFilter()
210 Sprite_D32_S4444_Opaque(const SkPixmap& source) : SkSpriteBlitter(source) {} in Sprite_D32_S4444_Opaque()
238 Sprite_D32_S4444(const SkPixmap& source) : SkSpriteBlitter(source) {} in Sprite_D32_S4444()
257 SkSpriteBlitter* SkSpriteBlitter::ChooseL32(const SkPixmap& source, const SkPaint& paint, in ChooseL32()
DSkBitmapScaler.cpp208 static bool valid_for_resize(const SkPixmap& source, int dstW, int dstH) { in valid_for_resize()
214 bool SkBitmapScaler::Resize(const SkPixmap& result, const SkPixmap& source, ResizeMethod method) { in Resize()
242 bool SkBitmapScaler::Resize(SkBitmap* resultPtr, const SkPixmap& source, ResizeMethod method, in Resize()
253 SkPixmap resultPM; in Resize()
DSkSpanProcs.h15 class SkPixmap; variable
18 typedef void (*SkLoadSpanProc)(const SkPixmap&, int x, int y, SkPM4f span[], int count);
DSkSpanProcs.cpp19 static void load_l32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_l32()
29 static void load_s32(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_s32()
39 static void load_f16(const SkPixmap& src, int x, int y, SkPM4f span[], int count) { in load_f16()
DSkBlitter_RGB16.cpp64 SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint);
71 const SkPixmap* justAnOpaqueColor(uint32_t*) override;
92 SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint);
106 SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint);
117 SkRGB16_Shader_Blitter(const SkPixmap& device, const SkPaint& paint,
139 SkRGB16_Shader_Xfermode_Blitter(const SkPixmap& device, const SkPaint& paint,
159 SkRGB16_Black_Blitter::SkRGB16_Black_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Black_Blitter()
265 SkRGB16_Opaque_Blitter::SkRGB16_Opaque_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Opaque_Blitter()
515 SkRGB16_Blitter::SkRGB16_Blitter(const SkPixmap& device, const SkPaint& paint) in SkRGB16_Blitter()
552 const SkPixmap* SkRGB16_Blitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor()
[all …]
DSkMipMap.h23 static SkMipMap* Build(const SkPixmap& src, SkDiscardableFactoryProc);
31 SkPixmap fPixmap;
DSkBitmapController.h27 const SkPixmap& pixmap() const { return fPixmap; } in pixmap()
32 SkPixmap fPixmap;
DSkBlitter_PM4f.cpp22 SkState_Blitter(const SkPixmap& device, const SkPaint& paint) in SkState_Blitter()
139 SkState_Shader_Blitter(const SkPixmap& device, const SkPaint& paint, in SkState_Shader_Blitter()
334 static DstType* WritableAddr(const SkPixmap& device, int x, int y) { in WritableAddr()
366 static DstType* WritableAddr(const SkPixmap& device, int x, int y) { in WritableAddr()
371 template <typename State> SkBlitter* create(const SkPixmap& device, const SkPaint& paint, in create()
387 SkBlitter* SkBlitter_ARGB32_Create(const SkPixmap& device, const SkPaint& paint, in SkBlitter_ARGB32_Create()
393 SkBlitter* SkBlitter_ARGB64_Create(const SkPixmap& device, const SkPaint& paint, in SkBlitter_ARGB64_Create()
/external/skia/include/core/
DSkPixmap.h23 class SK_API SkPixmap {
25 SkPixmap() in SkPixmap() function
29 SkPixmap(const SkImageInfo& info, const void* addr, size_t rowBytes,
59 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
156 bool readPixels(const SkPixmap& dst, int srcX, int srcY) const { in readPixels()
159 bool readPixels(const SkPixmap& dst) const { in readPixels()
170 bool scalePixels(const SkPixmap& dst, SkFilterQuality) const;
190 class SK_API SkAutoPixmapStorage : public SkPixmap {
246 typedef SkPixmap INHERITED;
254 SkAutoPixmapUnlock(const SkPixmap& pm, void (*unlock)(void*), void* ctx) in SkAutoPixmapUnlock()
[all …]
DSkPixelSerializer.h35 SkData* encode(const SkPixmap& pixmap) { return this->onEncode(pixmap); } in encode()
48 virtual SkData* onEncode(const SkPixmap&) = 0;
DSkImageGenerator.h204 const SkPixmap& subsetPixels);
206 bool generateScaledPixels(const SkPixmap& scaledPixels) { in generateScaledPixels()
262 virtual bool onGenerateScaledPixels(const SkISize&, const SkIPoint&, const SkPixmap&) { in onGenerateScaledPixels() argument
DSkImage.h186 bool peekPixels(SkPixmap* pixmap) const;
248 bool readPixels(const SkPixmap& dst, int srcX, int srcY,
258 bool scalePixels(const SkPixmap& dst, SkFilterQuality, CachingHint = kAllow_CachingHint) const;
DSkBitmapDevice.h29 class SkPixmap; variable
142 bool onPeekPixels(SkPixmap*) override;
143 bool onAccessPixels(SkPixmap*) override;
DSkImageEncoder.h16 class SkPixmap; variable
69 static SkData* EncodeData(const SkPixmap&, Type, int quality);
DSkDevice.h89 bool accessPixels(SkPixmap* pmap);
97 bool peekPixels(SkPixmap*);
298 virtual bool onPeekPixels(SkPixmap*) { return false; } in onPeekPixels() argument
316 virtual bool onAccessPixels(SkPixmap*) { return false; } in onAccessPixels() argument
/external/skia/gm/
DSkLinearBitmapPipelineGM.cpp21 SkPixmap pm; in fill_in_bits()
49 SkPixmap pmsrc; in draw_rect_orig()
55 SkPixmap pmdst; in draw_rect_orig()
92 SkPixmap pmsrc; in draw_rect_fp()
98 SkPixmap pmdst; in draw_rect_fp()
Dshowmiplevels.cpp144 SkPixmap prevPM; in drawLevels()
174 drawLevels(canvas, orig, [](const SkPixmap& prev, const SkPixmap& curr) { in drawSet()
188 SkPixmap basePM; in drawSet()
193 drawLevels(canvas, orig, [basePM, method](const SkPixmap& prev, const SkPixmap& curr) { in drawSet()

1234