Home
last modified time | relevance | path

Searched refs:SkBlitter (Results 1 – 25 of 60) sorted by relevance

123

/external/skia/src/core/
DSkScan.h19 class SkBlitter; variable
42 typedef void (*HairRgnProc)(const SkPoint[], int count, const SkRegion*, SkBlitter*);
43 typedef void (*HairRCProc)(const SkPoint[], int count, const SkRasterClip&, SkBlitter*);
45 static void FillPath(const SkPath&, const SkIRect&, SkBlitter*);
50 static void FillIRect(const SkIRect&, const SkRasterClip&, SkBlitter*);
51 static void FillXRect(const SkXRect&, const SkRasterClip&, SkBlitter*);
52 static void FillRect(const SkRect&, const SkRasterClip&, SkBlitter*);
53 static void AntiFillRect(const SkRect&, const SkRasterClip&, SkBlitter*);
54 static void AntiFillXRect(const SkXRect&, const SkRasterClip&, SkBlitter*);
55 static void FillPath(const SkPath&, const SkRasterClip&, SkBlitter*);
[all …]
DSkBlitter.h32 class SkBlitter {
34 virtual ~SkBlitter();
149 static SkBlitter* Choose(const SkPixmap& dst,
155 static SkBlitter* ChooseSprite(const SkPixmap& dst,
170 class SkNullBlitter : public SkBlitter {
185 class SkRectClipBlitter : public SkBlitter {
187 void init(SkBlitter* blitter, const SkIRect& clipRect) { in init()
211 SkBlitter* fBlitter;
219 class SkRgnClipBlitter : public SkBlitter {
221 void init(SkBlitter* blitter, const SkRegion* clipRgn) { in init()
[all …]
DSkAutoBlitterChoose.h28 SkBlitter* operator->() { return fBlitter; }
29 SkBlitter* get() const { return fBlitter; } in get()
31 SkBlitter* choose(const SkDraw& draw, const SkMatrix* matrix, const SkPaint& paint,
37 fBlitter = SkBlitter::Choose(draw.fDst, *matrix, paint, &fAlloc, drawCoverage);
41 SkBlitter* coverageBlitter = SkBlitter::Choose(*draw.fCoverage, *matrix, SkPaint(),
50 SkBlitter* fBlitter = nullptr;
DSkScanPriv.h20 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds,
23 SkBlitter* getBlitter() const { return fBlitter; } in getBlitter()
32 SkBlitter* fBlitter;
37 SkBlitter* blitter, int start_y, int stop_y, int shiftEdgesUp,
41 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
42 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
84 static inline bool TryBlitFatAntiRect(SkBlitter* blitter, const SkPath& path, const SkIRect& clip) { in TryBlitFatAntiRect()
DSkScan.cpp19 static inline void blitrect(SkBlitter* blitter, const SkIRect& r) { in blitrect()
24 SkBlitter* blitter) { in FillIRect()
54 SkBlitter* blitter) { in FillXRect()
62 SkBlitter* blitter) { in FillRect()
72 SkBlitter* blitter) { in FillIRect()
87 SkBlitter* blitter) { in FillXRect()
102 SkBlitter* blitter) { in FillRect()
DSkScan_Hairline.cpp19 SkBlitter* blitter) { in horiline()
29 SkBlitter* blitter) { in vertline()
46 SkBlitter* origBlitter) { in HairLineRgn()
59 SkBlitter* blitter = origBlitter; in HairLineRgn()
151 void SkScan::HairRect(const SkRect& rect, const SkRasterClip& clip, SkBlitter* blitter) { in HairRect()
234 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in hair_quad()
292 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in hairquad()
359 static void hair_cubic(const SkPoint pts[4], const SkRegion* clip, SkBlitter* blitter, in hair_cubic()
409 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in haircubic()
501 void hair_path(const SkPath& path, const SkRasterClip& rclip, SkBlitter* blitter, in hair_path()
[all …]
DSkScan_Antihair.cpp70 static void call_hline_blitter(SkBlitter* blitter, int x, int y, int count, in call_hline_blitter()
96 SkBlitter* getBlitter() const { return fBlitter; } in getBlitter()
98 void setup(SkBlitter* blitter) { in setup()
106 SkBlitter* fBlitter;
174 SkBlitter* blitter = this->getBlitter(); in drawLine()
308 const SkIRect* clip, SkBlitter* blitter) { in do_anti_hairline()
528 SkBlitter* blitter) { in AntiHairLineRgn()
607 SkBlitter* blitter) { in AntiHairRect()
627 SkBlitter* blitter) { in do_scanline()
652 static void antifilldot8(FDot8 L, FDot8 T, FDot8 R, FDot8 B, SkBlitter* blitter, in antifilldot8()
[all …]
DSkDraw.cpp99 SkBlitter*);
103 Proc chooseProc(SkBlitter** blitter);
110 int count, SkBlitter* blitter) { in bw_pt_rect_hair_proc()
125 SkBlitter* blitter) { in bw_pt_rect_16_hair_proc()
146 SkBlitter* blitter) { in bw_pt_rect_32_hair_proc()
166 int count, SkBlitter* blitter) { in bw_pt_hair_proc()
177 int count, SkBlitter* blitter) { in bw_line_hair_proc()
184 int count, SkBlitter* blitter) { in bw_poly_hair_proc()
191 int count, SkBlitter* blitter) { in aa_line_hair_proc()
198 int count, SkBlitter* blitter) { in aa_poly_hair_proc()
[all …]
DSkScan_Path.cpp96 typedef void (*PrePostProc)(SkBlitter* blitter, int y, bool isStartOfScanline);
101 SkBlitter* blitter, int start_y, int stop_y, in walk_edges()
223 static void walk_simple_edges(SkEdge* prevHead, SkBlitter* blitter, int start_y, int stop_y) { in walk_simple_edges()
310 class InverseBlitter : public SkBlitter {
312 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter()
356 SkBlitter* fBlitter;
360 static void PrePostInverseBlitterProc(SkBlitter* blitter, int y, bool isStart) { in PrePostInverseBlitterProc()
396 void sk_fill_path(const SkPath& path, const SkIRect& clipRect, SkBlitter* blitter, in sk_fill_path()
479 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_above()
492 void sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_below()
[all …]
DSkBlitter.cpp28 SkBlitter::~SkBlitter() {} in ~SkBlitter()
30 bool SkBlitter::isNullBlitter() const { return false; } in isNullBlitter()
32 const SkPixmap* SkBlitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor()
53 void SkBlitter::blitFatAntiRect(const SkRect& rect) { in blitFatAntiRect()
105 void SkBlitter::blitCoverageDeltas(SkCoverageDeltaList* deltas, const SkIRect& clip, in blitCoverageDeltas()
218 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
232 void SkBlitter::blitRect(int x, int y, int width, int height) { in blitRect()
242 void SkBlitter::blitAntiRect(int x, int y, int width, int height, in blitAntiRect()
259 static inline void bits_to_runs(SkBlitter* blitter, int x, int y, in bits_to_runs()
300 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask()
[all …]
DSkRasterClip.h223 SkAAClipBlitterWrapper(const SkRasterClip&, SkBlitter*);
224 SkAAClipBlitterWrapper(const SkAAClip*, SkBlitter*);
226 void init(const SkRasterClip&, SkBlitter*);
236 SkBlitter* getBlitter() { in getBlitter()
246 SkBlitter* fBlitter;
DSkScan_AntiPath.cpp42 class BaseSuperBlitter : public SkBlitter {
44 BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
58 SkBlitter* fRealBlitter;
77 BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, in BaseSuperBlitter()
108 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds,
154 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds, in SuperBlitter()
400 MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect&, bool isInverse);
438 MaskSuperBlitter::MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, in MaskSuperBlitter()
721 void SkScan::SAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir, in SAAFillPath()
762 SkBlitter* blitter, bool forceRLE, SkDAARecord* daaRecord) { in AntiFillPath()
[all …]
DSkDraw.h24 class SkBlitter; variable
79 SkBlitter* customBlitter = nullptr) const {
137 SkBlitter* customBlitter = nullptr) const;
144 SkBlitter* customBlitter,
/external/skqp/src/core/
DSkScan.h19 class SkBlitter; variable
42 typedef void (*HairRgnProc)(const SkPoint[], int count, const SkRegion*, SkBlitter*);
43 typedef void (*HairRCProc)(const SkPoint[], int count, const SkRasterClip&, SkBlitter*);
45 static void FillPath(const SkPath&, const SkIRect&, SkBlitter*);
50 static void FillIRect(const SkIRect&, const SkRasterClip&, SkBlitter*);
51 static void FillXRect(const SkXRect&, const SkRasterClip&, SkBlitter*);
52 static void FillRect(const SkRect&, const SkRasterClip&, SkBlitter*);
53 static void AntiFillRect(const SkRect&, const SkRasterClip&, SkBlitter*);
54 static void AntiFillXRect(const SkXRect&, const SkRasterClip&, SkBlitter*);
55 static void FillPath(const SkPath&, const SkRasterClip&, SkBlitter*);
[all …]
DSkBlitter.h32 class SkBlitter {
34 virtual ~SkBlitter();
149 static SkBlitter* Choose(const SkPixmap& dst,
155 static SkBlitter* ChooseSprite(const SkPixmap& dst,
170 class SkNullBlitter : public SkBlitter {
185 class SkRectClipBlitter : public SkBlitter {
187 void init(SkBlitter* blitter, const SkIRect& clipRect) { in init()
211 SkBlitter* fBlitter;
219 class SkRgnClipBlitter : public SkBlitter {
221 void init(SkBlitter* blitter, const SkRegion* clipRgn) { in init()
[all …]
DSkAutoBlitterChoose.h28 SkBlitter* operator->() { return fBlitter; }
29 SkBlitter* get() const { return fBlitter; } in get()
31 SkBlitter* choose(const SkDraw& draw, const SkMatrix* matrix, const SkPaint& paint,
37 fBlitter = SkBlitter::Choose(draw.fDst, *matrix, paint, &fAlloc, drawCoverage);
41 SkBlitter* coverageBlitter = SkBlitter::Choose(*draw.fCoverage, *matrix, SkPaint(),
50 SkBlitter* fBlitter = nullptr;
DSkScanPriv.h20 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds,
23 SkBlitter* getBlitter() const { return fBlitter; } in getBlitter()
32 SkBlitter* fBlitter;
37 SkBlitter* blitter, int start_y, int stop_y, int shiftEdgesUp,
41 void sk_blit_above(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
42 void sk_blit_below(SkBlitter*, const SkIRect& avoid, const SkRegion& clip);
84 static inline bool TryBlitFatAntiRect(SkBlitter* blitter, const SkPath& path, const SkIRect& clip) { in TryBlitFatAntiRect()
DSkScan.cpp19 static inline void blitrect(SkBlitter* blitter, const SkIRect& r) { in blitrect()
24 SkBlitter* blitter) { in FillIRect()
54 SkBlitter* blitter) { in FillXRect()
62 SkBlitter* blitter) { in FillRect()
72 SkBlitter* blitter) { in FillIRect()
87 SkBlitter* blitter) { in FillXRect()
102 SkBlitter* blitter) { in FillRect()
DSkScan_Hairline.cpp19 SkBlitter* blitter) { in horiline()
29 SkBlitter* blitter) { in vertline()
46 SkBlitter* origBlitter) { in HairLineRgn()
59 SkBlitter* blitter = origBlitter; in HairLineRgn()
151 void SkScan::HairRect(const SkRect& rect, const SkRasterClip& clip, SkBlitter* blitter) { in HairRect()
234 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in hair_quad()
292 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in hairquad()
359 static void hair_cubic(const SkPoint pts[4], const SkRegion* clip, SkBlitter* blitter, in hair_cubic()
409 SkBlitter* blitter, int level, SkScan::HairRgnProc lineproc) { in haircubic()
501 void hair_path(const SkPath& path, const SkRasterClip& rclip, SkBlitter* blitter, in hair_path()
[all …]
DSkScan_Antihair.cpp70 static void call_hline_blitter(SkBlitter* blitter, int x, int y, int count, in call_hline_blitter()
96 SkBlitter* getBlitter() const { return fBlitter; } in getBlitter()
98 void setup(SkBlitter* blitter) { in setup()
106 SkBlitter* fBlitter;
174 SkBlitter* blitter = this->getBlitter(); in drawLine()
308 const SkIRect* clip, SkBlitter* blitter) { in do_anti_hairline()
528 SkBlitter* blitter) { in AntiHairLineRgn()
607 SkBlitter* blitter) { in AntiHairRect()
627 SkBlitter* blitter) { in do_scanline()
652 static void antifilldot8(FDot8 L, FDot8 T, FDot8 R, FDot8 B, SkBlitter* blitter, in antifilldot8()
[all …]
DSkDraw.cpp99 SkBlitter*);
103 Proc chooseProc(SkBlitter** blitter);
110 int count, SkBlitter* blitter) { in bw_pt_rect_hair_proc()
125 SkBlitter* blitter) { in bw_pt_rect_16_hair_proc()
146 SkBlitter* blitter) { in bw_pt_rect_32_hair_proc()
166 int count, SkBlitter* blitter) { in bw_pt_hair_proc()
177 int count, SkBlitter* blitter) { in bw_line_hair_proc()
184 int count, SkBlitter* blitter) { in bw_poly_hair_proc()
191 int count, SkBlitter* blitter) { in aa_line_hair_proc()
198 int count, SkBlitter* blitter) { in aa_poly_hair_proc()
[all …]
DSkScan_Path.cpp96 typedef void (*PrePostProc)(SkBlitter* blitter, int y, bool isStartOfScanline);
101 SkBlitter* blitter, int start_y, int stop_y, in walk_edges()
223 static void walk_simple_edges(SkEdge* prevHead, SkBlitter* blitter, int start_y, int stop_y) { in walk_simple_edges()
310 class InverseBlitter : public SkBlitter {
312 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter()
356 SkBlitter* fBlitter;
360 static void PrePostInverseBlitterProc(SkBlitter* blitter, int y, bool isStart) { in PrePostInverseBlitterProc()
396 void sk_fill_path(const SkPath& path, const SkIRect& clipRect, SkBlitter* blitter, in sk_fill_path()
479 void sk_blit_above(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_above()
492 void sk_blit_below(SkBlitter* blitter, const SkIRect& ir, const SkRegion& clip) { in sk_blit_below()
[all …]
DSkBlitter.cpp27 SkBlitter::~SkBlitter() {} in ~SkBlitter()
29 bool SkBlitter::isNullBlitter() const { return false; } in isNullBlitter()
31 const SkPixmap* SkBlitter::justAnOpaqueColor(uint32_t* value) { in justAnOpaqueColor()
52 void SkBlitter::blitFatAntiRect(const SkRect& rect) { in blitFatAntiRect()
104 void SkBlitter::blitCoverageDeltas(SkCoverageDeltaList* deltas, const SkIRect& clip, in blitCoverageDeltas()
217 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
231 void SkBlitter::blitRect(int x, int y, int width, int height) { in blitRect()
241 void SkBlitter::blitAntiRect(int x, int y, int width, int height, in blitAntiRect()
258 static inline void bits_to_runs(SkBlitter* blitter, int x, int y, in bits_to_runs()
299 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask()
[all …]
DSkRasterClip.h223 SkAAClipBlitterWrapper(const SkRasterClip&, SkBlitter*);
224 SkAAClipBlitterWrapper(const SkAAClip*, SkBlitter*);
226 void init(const SkRasterClip&, SkBlitter*);
236 SkBlitter* getBlitter() { in getBlitter()
246 SkBlitter* fBlitter;
DSkScan_AntiPath.cpp42 class BaseSuperBlitter : public SkBlitter {
44 BaseSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir,
58 SkBlitter* fRealBlitter;
77 BaseSuperBlitter::BaseSuperBlitter(SkBlitter* realBlit, const SkIRect& ir, in BaseSuperBlitter()
108 SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds,
154 SuperBlitter::SuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect& clipBounds, in SuperBlitter()
400 MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, const SkIRect&, bool isInverse);
438 MaskSuperBlitter::MaskSuperBlitter(SkBlitter* realBlitter, const SkIRect& ir, in MaskSuperBlitter()
721 void SkScan::SAAFillPath(const SkPath& path, SkBlitter* blitter, const SkIRect& ir, in SAAFillPath()
762 SkBlitter* blitter, bool forceRLE, SkDAARecord* daaRecord) { in AntiFillPath()
[all …]

123