Home
last modified time | relevance | path

Searched refs:blitter (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/core/
DSkScan_Hairline.cpp17 SkBlitter* blitter) { in horiline() argument
21 blitter->blitH(x, fy >> 16, 1); in horiline()
27 SkBlitter* blitter) { in vertline() argument
31 blitter->blitH(fx >> 16, y, 1); in vertline()
37 const SkRegion* clip, SkBlitter* blitter) { in HairLineRgn() argument
80 blitter = clipper.apply(blitter, clip); in HairLineRgn()
101 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
116 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
124 SkBlitter* blitter) { in HairRect() argument
142 wrapper.init(clip, blitter); in HairRect()
[all …]
DSkScan_Antihair.cpp68 static void call_hline_blitter(SkBlitter* blitter, int x, int y, int count, in call_hline_blitter() argument
83 blitter->blitAntiH(x, y, aa, runs); in call_hline_blitter()
90 SkBlitter* blitter, int mod64) { in hline() argument
101 call_hline_blitter(blitter, x, y, count, ma); in hline()
107 call_hline_blitter(blitter, x, y - 1, count, ma); in hline()
114 SkBlitter* blitter, int mod64) { in horish() argument
133 blitter->blitAntiH(x, lower_y, aa, runs); in horish()
141 blitter->blitAntiH(x, lower_y - 1, aa, runs); in horish()
153 SkBlitter* blitter, int mod64) { in vline() argument
162 blitter->blitV(x, y, stopy - y, ApplyGamma(gGammaTable, ma)); in vline()
[all …]
DSkScan.cpp14 static inline void blitrect(SkBlitter* blitter, const SkIRect& r) { in blitrect() argument
15 blitter->blitRect(r.fLeft, r.fTop, r.width(), r.height()); in blitrect()
19 SkBlitter* blitter) { in FillIRect() argument
26 blitrect(blitter, r); in FillIRect()
30 blitrect(blitter, rr); in FillIRect()
38 blitrect(blitter, rr); in FillIRect()
43 blitrect(blitter, r); in FillIRect()
49 SkBlitter* blitter) { in FillXRect() argument
53 SkScan::FillIRect(r, clip, blitter); in FillXRect()
59 SkBlitter* blitter) { in FillRect() argument
[all …]
DSkScan_Path.cpp105 typedef void (*PrePostProc)(SkBlitter* blitter, int y, bool isStartOfScanline);
110 SkBlitter* blitter, int start_y, int stop_y, in walk_edges() argument
128 proc(blitter, curr_y, PREPOST_START); // pre-proc in walk_edges()
141 blitter->blitH(left, curr_y, width); in walk_edges()
182 proc(blitter, curr_y, PREPOST_END); // post-proc in walk_edges()
215 SkBlitter* blitter, int start_y, int stop_y, in walk_convex_edges() argument
263 blitter->blitRect(L, local_top, R - L, count); in walk_convex_edges()
273 blitter->blitH(L, local_top, R - L); in walk_convex_edges()
319 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter() argument
320 fBlitter = blitter; in setBlitter()
[all …]
DSkBlitter_Sprite.cpp67 SkSpriteBlitter* blitter; in ChooseSprite() local
71 blitter = SkSpriteBlitter::ChooseD16(source, paint, storage, in ChooseSprite()
75 blitter = SkSpriteBlitter::ChooseD32(source, paint, storage, in ChooseSprite()
79 blitter = NULL; in ChooseSprite()
83 if (blitter) { in ChooseSprite()
84 blitter->setup(device, left, top, paint); in ChooseSprite()
86 return blitter; in ChooseSprite()
DSkBlitter.cpp71 static inline void bits_to_runs(SkBlitter* blitter, int x, int y, in bits_to_runs() argument
92 blitter->blitH(pos, y, x - pos); in bits_to_runs()
103 blitter->blitH(pos, y, x - pos); in bits_to_runs()
519 SkBlitter* blitter = fBlitter; in blitMask() local
522 blitter->blitMask(mask, r); in blitMask()
533 SkBlitter* SkBlitterClipper::apply(SkBlitter* blitter, const SkRegion* clip, in apply() argument
539 blitter = &fNullBlitter; in apply()
542 fRectBlitter.init(blitter, clipR); in apply()
543 blitter = &fRectBlitter; in apply()
546 fRgnBlitter.init(blitter, clip); in apply()
[all …]
DSkRasterClip.cpp243 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
244 this->init(clip, blitter); in SkAAClipBlitterWrapper()
248 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
249 SkASSERT(blitter); in SkAAClipBlitterWrapper()
252 fAABlitter.init(blitter, aaclip); in SkAAClipBlitterWrapper()
258 void SkAAClipBlitterWrapper::init(const SkRasterClip& clip, SkBlitter* blitter) { in init() argument
259 SkASSERT(blitter); in init()
262 fBlitter = blitter; in init()
266 fAABlitter.init(blitter, &aaclip); in init()
DSkDraw.cpp289 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawPaint() local
290 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
309 Proc chooseProc(SkBlitter** blitter);
316 int count, SkBlitter* blitter) { in bw_pt_rect_hair_proc() argument
324 blitter->blitH(x, y, 1); in bw_pt_rect_hair_proc()
331 SkBlitter* blitter) { in bw_pt_rect_16_hair_proc() argument
335 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); in bw_pt_rect_16_hair_proc()
352 int count, SkBlitter* blitter) { in bw_pt_hair_proc() argument
357 blitter->blitH(x, y, 1); in bw_pt_hair_proc()
363 int count, SkBlitter* blitter) { in bw_line_hair_proc() argument
[all …]
DSkScan_AntiPath.cpp623 SkBlitter* blitter, bool forceRLE) { in AntiFillPath() argument
639 blitter->blitRegion(origClip); in AntiFillPath()
658 SkScan::FillPath(path, origClip, blitter); in AntiFillPath()
681 SkScanClipper clipper(blitter, clipRgn, ir); in AntiFillPath()
686 blitter->blitRegion(*clipRgn); in AntiFillPath()
692 blitter = clipper.getBlitter(); in AntiFillPath()
695 sk_blit_above(blitter, ir, *clipRgn); in AntiFillPath()
711 MaskSuperBlitter superBlit(blitter, ir, *clipRgn); in AntiFillPath()
715 SuperBlitter superBlit(blitter, ir, *clipRgn); in AntiFillPath()
720 sk_blit_below(blitter, ir, *clipRgn); in AntiFillPath()
[all …]
DSkMaskFilter.cpp24 SkBlitter* blitter) { in filterPath() argument
39 SkAAClipBlitterWrapper wrapper(clip, blitter); in filterPath()
40 blitter = wrapper.getBlitter(); in filterPath()
47 blitter->blitMask(dstM, cr); in filterPath()
DSkSpriteBlitter_RGB16.cpp324 SkSpriteBlitter* blitter = NULL; in ChooseD16() local
329 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_S32_BlitRowProc, in ChooseD16()
334 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_S4444_Opaque, in ChooseD16()
337 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_S4444_Blend, in ChooseD16()
343 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_S16_Opaque, in ChooseD16()
346 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_S16_Blend, in ChooseD16()
357 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_SIndex8_Opaque, in ChooseD16()
360 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_SIndex8_Blend, in ChooseD16()
365 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_SIndex8A_Opaque, in ChooseD16()
368 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D16_SIndex8A_Blend, in ChooseD16()
[all …]
DSkSpriteBlitter_ARGB32.cpp278 SkSpriteBlitter* blitter = NULL; in ChooseD32() local
286 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D32_S4444_XferFilter, in ChooseD32()
289 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D32_S4444_Opaque, in ChooseD32()
292 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D32_S4444, in ChooseD32()
300 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D32_S32A_XferFilter, in ChooseD32()
305 SK_PLACEMENT_NEW_ARGS(blitter, Sprite_D32_S32, in ChooseD32()
312 return blitter; in ChooseD32()
DSkScanPriv.h18 SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds);
32 SkBlitter* blitter, int start_y, int stop_y, int shiftEdgesUp,
DSkAAClip.h99 void init(SkBlitter* blitter, const SkAAClip* aaclip) { in init() argument
101 fBlitter = blitter; in init()
DSkBlitter_RGB16.cpp1027 SkBlitter* blitter; in SkBlitter_ChooseD565() local
1036 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Shader_Xfermode_Blitter, in SkBlitter_ChooseD565()
1039 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Shader16_Blitter, in SkBlitter_ChooseD565()
1042 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Shader_Blitter, in SkBlitter_ChooseD565()
1049 SK_PLACEMENT_NEW(blitter, SkNullBlitter, storage, storageSize); in SkBlitter_ChooseD565()
1052 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Black_Blitter, storage, in SkBlitter_ChooseD565()
1056 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Opaque_Blitter, storage, in SkBlitter_ChooseD565()
1059 SK_PLACEMENT_NEW_ARGS(blitter, SkRGB16_Blitter, storage, in SkBlitter_ChooseD565()
1064 return blitter; in SkBlitter_ChooseD565()
DSkDrawProcs.h30 Proc init(const SkDraw* draw, SkBlitter* blitter, SkGlyphCache* cache);
DSkBlitter_4444.cpp472 SkBlitter* blitter; in SkBlitter_ChooseD4444() local
475 … SK_PLACEMENT_NEW_ARGS(blitter, SkARGB4444_Shader_Blitter, storage, storageSize, (device, paint)); in SkBlitter_ChooseD4444()
477 SK_PLACEMENT_NEW_ARGS(blitter, SkARGB4444_Blitter, storage, storageSize, (device, paint)); in SkBlitter_ChooseD4444()
479 return blitter; in SkBlitter_ChooseD4444()
DSkAAClip.cpp1309 BuilderBlitter blitter(&builder); in setPath() local
1312 SkScan::AntiFillPath(path, *clip, &blitter, true); in setPath()
1314 SkScan::FillPath(path, *clip, &blitter); in setPath()
1317 blitter.finish(); in setPath()
/external/skia/include/core/
DSkScan.h36 SkBlitter* blitter) { in FillRect() argument
37 SkScan::FillXRect(*(const SkXRect*)&rect, clip, blitter); in FillRect()
40 SkBlitter* blitter) { in AntiFillRect() argument
41 SkScan::AntiFillXRect(*(const SkXRect*)&rect, clip, blitter); in AntiFillRect()
72 SkBlitter* blitter) { in FillRect() argument
73 SkScan::FillXRect(*(const SkXRect*)&rect, clip, blitter); in FillRect()
76 SkBlitter* blitter) { in AntiFillRect() argument
77 SkScan::AntiFillXRect(*(const SkXRect*)&rect, clip, blitter); in AntiFillRect()
DSkBlitter.h103 void init(SkBlitter* blitter, const SkIRect& clipRect) { in init() argument
105 fBlitter = blitter; in init()
130 void init(SkBlitter* blitter, const SkRegion* clipRgn) { in init() argument
132 fBlitter = blitter; in init()
157 SkBlitter* apply(SkBlitter* blitter, const SkRegion* clip,
DSkMaskFilter.h108 const SkRasterClip&, SkBounder*, SkBlitter* blitter);
/external/skia/tests/
DFillPathTest.cpp34 FakeBlitter blitter; in TestFillPathInverse() local
45 SkScan::FillPath(path, clip, &blitter); in TestFillPathInverse()
47 REPORTER_ASSERT(reporter, blitter.m_blitCount == expected_lines); in TestFillPathInverse()
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_RLEaccel.c623 #define CHOOSE_BLIT(blitter, alpha, fmt) \ argument
627 case 1: blitter(1, Uint8, OPAQUE_BLIT); break; \
628 case 2: blitter(2, Uint8, OPAQUE_BLIT); break; \
629 case 3: blitter(3, Uint8, OPAQUE_BLIT); break; \
630 case 4: blitter(4, Uint16, OPAQUE_BLIT); break; \
645 blitter(2, Uint8, ALPHA_BLIT16_565_50); \
648 blitter(2, Uint8, ALPHA_BLIT16_565MMX); \
650 blitter(2, Uint8, ALPHA_BLIT16_565); \
661 blitter(2, Uint8, ALPHA_BLIT16_555_50); \
664 blitter(2, Uint8, ALPHA_BLIT16_555MMX); \
[all …]
/external/skia/src/effects/
DSk2DPathEffect.cpp35 Sk2DPathEffectBlitter blitter(this, dst); in filterPath() local
43 SkScan::FillPath(tmp, ir, &blitter); in filterPath()