Home
last modified time | relevance | path

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

1234

/external/mesa3d/src/gallium/auxiliary/util/
Du_blitter.h76 void (*draw_rectangle)(struct blitter_context *blitter,
121 void util_blitter_destroy(struct blitter_context *blitter);
127 struct pipe_context *util_blitter_get_pipe(struct blitter_context *blitter) in util_blitter_get_pipe() argument
129 return blitter->pipe; in util_blitter_get_pipe()
134 void util_blitter_draw_rectangle(struct blitter_context *blitter,
160 void util_blitter_clear(struct blitter_context *blitter,
174 boolean util_blitter_is_copy_supported(struct blitter_context *blitter,
200 void util_blitter_copy_texture(struct blitter_context *blitter,
228 void util_blitter_copy_texture_view(struct blitter_context *blitter,
260 void util_blitter_copy_buffer(struct blitter_context *blitter,
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_blitter.h76 void (*draw_rectangle)(struct blitter_context *blitter,
121 void util_blitter_destroy(struct blitter_context *blitter);
127 struct pipe_context *util_blitter_get_pipe(struct blitter_context *blitter) in util_blitter_get_pipe() argument
129 return blitter->pipe; in util_blitter_get_pipe()
134 void util_blitter_draw_rectangle(struct blitter_context *blitter,
160 void util_blitter_clear(struct blitter_context *blitter,
174 boolean util_blitter_is_copy_supported(struct blitter_context *blitter,
200 void util_blitter_copy_texture(struct blitter_context *blitter,
228 void util_blitter_copy_texture_view(struct blitter_context *blitter,
260 void util_blitter_copy_buffer(struct blitter_context *blitter,
[all …]
/external/skia/src/core/
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()
57 SkBlitter* blitter) { in FillRect() argument
[all …]
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()
44 const SkRegion* clip, SkBlitter* blitter) { in HairLineRgn() argument
103 blitter = clipper.apply(blitter, clip); in HairLineRgn()
124 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
139 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
147 SkBlitter* blitter) { in HairRect() argument
165 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()
96 void setup(SkBlitter* blitter) { in setup() argument
97 fBlitter = blitter; in setup()
164 SkBlitter* blitter = this->getBlitter(); in drawCap() local
171 blitter->blitAntiH(x, lower_y, aa, runs); in drawCap()
179 blitter->blitAntiH(x, lower_y - 1, aa, runs); in drawCap()
199 SkBlitter* blitter = this->getBlitter(); in drawLine() local
205 blitter->blitAntiH(x, lower_y, aa, runs); in drawLine()
213 blitter->blitAntiH(x, lower_y - 1, aa, runs); in drawLine()
[all …]
DSkScan_Path.cpp110 typedef void (*PrePostProc)(SkBlitter* blitter, int y, bool isStartOfScanline);
115 SkBlitter* blitter, int start_y, int stop_y, in walk_edges() argument
133 proc(blitter, curr_y, PREPOST_START); // pre-proc in walk_edges()
146 blitter->blitH(left, curr_y, width); in walk_edges()
187 proc(blitter, curr_y, PREPOST_END); // post-proc in walk_edges()
220 SkBlitter* blitter, int start_y, int stop_y, in walk_convex_edges() argument
262 blitter->blitRect(L, local_top, R - L, count); in walk_convex_edges()
272 blitter->blitH(L, local_top, R - L); in walk_convex_edges()
318 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter() argument
319 fBlitter = blitter; in setBlitter()
[all …]
DSkMaskFilter.cpp42 static void blitClippedMask(SkBlitter* blitter, const SkMask& mask, in blitClippedMask() argument
46 blitter->blitMask(mask, r); in blitClippedMask()
50 static void blitClippedRect(SkBlitter* blitter, const SkIRect& rect, const SkIRect& clipR) { in blitClippedRect() argument
53 blitter->blitRect(r.left(), r.top(), r.width(), r.height()); in blitClippedRect()
71 const SkIRect& clipR, SkBlitter* blitter) { in draw_nine_clipped() argument
83 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
93 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
103 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
114 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
123 blitClippedRect(blitter, innerR, clipR); in draw_nine_clipped()
[all …]
DSkBlitter_Sprite.cpp64 SkSpriteBlitter* blitter; in ChooseSprite() local
68 blitter = SkSpriteBlitter::ChooseD16(source, paint, allocator); in ChooseSprite()
71 blitter = SkSpriteBlitter::ChooseD32(source, paint, allocator); in ChooseSprite()
74 blitter = NULL; in ChooseSprite()
78 if (blitter) { in ChooseSprite()
79 blitter->setup(device, left, top, paint); in ChooseSprite()
81 return blitter; in ChooseSprite()
DSkDraw.cpp287 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawPaint() local
288 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
307 Proc chooseProc(SkBlitter** blitter);
314 int count, SkBlitter* blitter) { in bw_pt_rect_hair_proc() argument
322 blitter->blitH(x, y, 1); in bw_pt_rect_hair_proc()
329 SkBlitter* blitter) { in bw_pt_rect_16_hair_proc() argument
333 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); in bw_pt_rect_16_hair_proc()
350 SkBlitter* blitter) { in bw_pt_rect_32_hair_proc() argument
354 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); in bw_pt_rect_32_hair_proc()
370 int count, SkBlitter* blitter) { in bw_pt_hair_proc() argument
[all …]
DSkRasterClip.cpp251 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
252 this->init(clip, blitter); in SkAAClipBlitterWrapper()
256 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
257 SkASSERT(blitter); in SkAAClipBlitterWrapper()
260 fAABlitter.init(blitter, aaclip); in SkAAClipBlitterWrapper()
266 void SkAAClipBlitterWrapper::init(const SkRasterClip& clip, SkBlitter* blitter) { in init() argument
267 SkASSERT(blitter); in init()
270 fBlitter = blitter; in init()
274 fAABlitter.init(blitter, &aaclip); in init()
DSkBlitter.cpp84 static inline void bits_to_runs(SkBlitter* blitter, int x, int y, in bits_to_runs() argument
105 blitter->blitH(pos, y, x - pos); in bits_to_runs()
116 blitter->blitH(pos, y, x - pos); in bits_to_runs()
534 SkBlitter* blitter = fBlitter; in blitMask() local
537 blitter->blitMask(mask, r); in blitMask()
548 SkBlitter* SkBlitterClipper::apply(SkBlitter* blitter, const SkRegion* clip, in apply() argument
554 blitter = &fNullBlitter; in apply()
557 fRectBlitter.init(blitter, clipR); in apply()
558 blitter = &fRectBlitter; in apply()
561 fRgnBlitter.init(blitter, clip); in apply()
[all …]
/external/chromium_org/third_party/skia/src/core/
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()
57 SkBlitter* blitter) { in FillRect() argument
[all …]
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()
44 const SkRegion* clip, SkBlitter* blitter) { in HairLineRgn() argument
103 blitter = clipper.apply(blitter, clip); in HairLineRgn()
124 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
139 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
147 SkBlitter* blitter) { in HairRect() argument
165 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()
96 void setup(SkBlitter* blitter) { in setup() argument
97 fBlitter = blitter; in setup()
164 SkBlitter* blitter = this->getBlitter(); in drawCap() local
171 blitter->blitAntiH(x, lower_y, aa, runs); in drawCap()
179 blitter->blitAntiH(x, lower_y - 1, aa, runs); in drawCap()
199 SkBlitter* blitter = this->getBlitter(); in drawLine() local
205 blitter->blitAntiH(x, lower_y, aa, runs); in drawLine()
213 blitter->blitAntiH(x, lower_y - 1, aa, runs); in drawLine()
[all …]
DSkScan_Path.cpp110 typedef void (*PrePostProc)(SkBlitter* blitter, int y, bool isStartOfScanline);
115 SkBlitter* blitter, int start_y, int stop_y, in walk_edges() argument
133 proc(blitter, curr_y, PREPOST_START); // pre-proc in walk_edges()
146 blitter->blitH(left, curr_y, width); in walk_edges()
187 proc(blitter, curr_y, PREPOST_END); // post-proc in walk_edges()
220 SkBlitter* blitter, int start_y, int stop_y, in walk_convex_edges() argument
262 blitter->blitRect(L, local_top, R - L, count); in walk_convex_edges()
272 blitter->blitH(L, local_top, R - L); in walk_convex_edges()
318 void setBlitter(SkBlitter* blitter, const SkIRect& clip, int shift) { in setBlitter() argument
319 fBlitter = blitter; in setBlitter()
[all …]
DSkMaskFilter.cpp42 static void blitClippedMask(SkBlitter* blitter, const SkMask& mask, in blitClippedMask() argument
46 blitter->blitMask(mask, r); in blitClippedMask()
50 static void blitClippedRect(SkBlitter* blitter, const SkIRect& rect, const SkIRect& clipR) { in blitClippedRect() argument
53 blitter->blitRect(r.left(), r.top(), r.width(), r.height()); in blitClippedRect()
71 const SkIRect& clipR, SkBlitter* blitter) { in draw_nine_clipped() argument
83 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
93 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
103 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
114 blitClippedMask(blitter, m, m.fBounds, clipR); in draw_nine_clipped()
123 blitClippedRect(blitter, innerR, clipR); in draw_nine_clipped()
[all …]
DSkBlitter_Sprite.cpp64 SkSpriteBlitter* blitter; in ChooseSprite() local
68 blitter = SkSpriteBlitter::ChooseD16(source, paint, allocator); in ChooseSprite()
71 blitter = SkSpriteBlitter::ChooseD32(source, paint, allocator); in ChooseSprite()
74 blitter = NULL; in ChooseSprite()
78 if (blitter) { in ChooseSprite()
79 blitter->setup(device, left, top, paint); in ChooseSprite()
81 return blitter; in ChooseSprite()
DSkDraw.cpp287 SkAutoBlitterChoose blitter(*fBitmap, *fMatrix, paint); in drawPaint() local
288 SkScan::FillIRect(devRect, *fRC, blitter.get()); in drawPaint()
307 Proc chooseProc(SkBlitter** blitter);
314 int count, SkBlitter* blitter) { in bw_pt_rect_hair_proc() argument
322 blitter->blitH(x, y, 1); in bw_pt_rect_hair_proc()
329 SkBlitter* blitter) { in bw_pt_rect_16_hair_proc() argument
333 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); in bw_pt_rect_16_hair_proc()
350 SkBlitter* blitter) { in bw_pt_rect_32_hair_proc() argument
354 const SkBitmap* bitmap = blitter->justAnOpaqueColor(&value); in bw_pt_rect_32_hair_proc()
370 int count, SkBlitter* blitter) { in bw_pt_hair_proc() argument
[all …]
DSkRasterClip.cpp251 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
252 this->init(clip, blitter); in SkAAClipBlitterWrapper()
256 SkBlitter* blitter) { in SkAAClipBlitterWrapper() argument
257 SkASSERT(blitter); in SkAAClipBlitterWrapper()
260 fAABlitter.init(blitter, aaclip); in SkAAClipBlitterWrapper()
266 void SkAAClipBlitterWrapper::init(const SkRasterClip& clip, SkBlitter* blitter) { in init() argument
267 SkASSERT(blitter); in init()
270 fBlitter = blitter; in init()
274 fAABlitter.init(blitter, &aaclip); in init()
DSkBlitter.cpp84 static inline void bits_to_runs(SkBlitter* blitter, int x, int y, in bits_to_runs() argument
105 blitter->blitH(pos, y, x - pos); in bits_to_runs()
116 blitter->blitH(pos, y, x - pos); in bits_to_runs()
534 SkBlitter* blitter = fBlitter; in blitMask() local
537 blitter->blitMask(mask, r); in blitMask()
548 SkBlitter* SkBlitterClipper::apply(SkBlitter* blitter, const SkRegion* clip, in apply() argument
554 blitter = &fNullBlitter; in apply()
557 fRectBlitter.init(blitter, clipR); in apply()
558 blitter = &fRectBlitter; in apply()
561 fRgnBlitter.init(blitter, clip); in apply()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c62 if (!util_blitter_is_copy_supported(i915->blitter, dst, src, in i915_surface_copy_render()
69 util_blitter_save_blend(i915->blitter, (void *)i915->blend); in i915_surface_copy_render()
70 util_blitter_save_depth_stencil_alpha(i915->blitter, (void *)i915->depth_stencil); in i915_surface_copy_render()
71 util_blitter_save_stencil_ref(i915->blitter, &i915->stencil_ref); in i915_surface_copy_render()
72 util_blitter_save_rasterizer(i915->blitter, (void *)i915->rasterizer); in i915_surface_copy_render()
73 util_blitter_save_fragment_shader(i915->blitter, i915->saved_fs); in i915_surface_copy_render()
74 util_blitter_save_vertex_shader(i915->blitter, i915->saved_vs); in i915_surface_copy_render()
75 util_blitter_save_viewport(i915->blitter, &i915->viewport); in i915_surface_copy_render()
76 util_blitter_save_vertex_elements(i915->blitter, i915->saved_velems); in i915_surface_copy_render()
77 util_blitter_save_vertex_buffers(i915->blitter, i915->saved_nr_vertex_buffers, in i915_surface_copy_render()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
Di915_surface.c62 if (!util_blitter_is_copy_supported(i915->blitter, dst, src, in i915_surface_copy_render()
69 util_blitter_save_blend(i915->blitter, (void *)i915->blend); in i915_surface_copy_render()
70 util_blitter_save_depth_stencil_alpha(i915->blitter, (void *)i915->depth_stencil); in i915_surface_copy_render()
71 util_blitter_save_stencil_ref(i915->blitter, &i915->stencil_ref); in i915_surface_copy_render()
72 util_blitter_save_rasterizer(i915->blitter, (void *)i915->rasterizer); in i915_surface_copy_render()
73 util_blitter_save_fragment_shader(i915->blitter, i915->saved_fs); in i915_surface_copy_render()
74 util_blitter_save_vertex_shader(i915->blitter, i915->saved_vs); in i915_surface_copy_render()
75 util_blitter_save_viewport(i915->blitter, &i915->viewport); in i915_surface_copy_render()
76 util_blitter_save_vertex_elements(i915->blitter, i915->saved_velems); in i915_surface_copy_render()
77 util_blitter_save_vertex_buffers(i915->blitter, i915->saved_nr_vertex_buffers, in i915_surface_copy_render()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dr600_blit.c51 util_blitter_save_blend(rctx->blitter, rctx->queued.named.blend); in r600_blitter_begin()
52 util_blitter_save_depth_stencil_alpha(rctx->blitter, rctx->queued.named.dsa); in r600_blitter_begin()
53 util_blitter_save_stencil_ref(rctx->blitter, &rctx->stencil_ref); in r600_blitter_begin()
54 util_blitter_save_rasterizer(rctx->blitter, rctx->queued.named.rasterizer); in r600_blitter_begin()
55 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()
56 util_blitter_save_vertex_shader(rctx->blitter, rctx->vs_shader); in r600_blitter_begin()
57 util_blitter_save_vertex_elements(rctx->blitter, rctx->vertex_elements); in r600_blitter_begin()
59 util_blitter_save_viewport(rctx->blitter, &rctx->queued.named.viewport->viewport); in r600_blitter_begin()
61 util_blitter_save_vertex_buffers(rctx->blitter, in r600_blitter_begin()
64 util_blitter_save_so_targets(rctx->blitter, rctx->num_so_targets, in r600_blitter_begin()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/
Dr600_blit.c51 util_blitter_save_blend(rctx->blitter, rctx->queued.named.blend); in r600_blitter_begin()
52 util_blitter_save_depth_stencil_alpha(rctx->blitter, rctx->queued.named.dsa); in r600_blitter_begin()
53 util_blitter_save_stencil_ref(rctx->blitter, &rctx->stencil_ref); in r600_blitter_begin()
54 util_blitter_save_rasterizer(rctx->blitter, rctx->queued.named.rasterizer); in r600_blitter_begin()
55 util_blitter_save_fragment_shader(rctx->blitter, rctx->ps_shader); in r600_blitter_begin()
56 util_blitter_save_vertex_shader(rctx->blitter, rctx->vs_shader); in r600_blitter_begin()
57 util_blitter_save_vertex_elements(rctx->blitter, rctx->vertex_elements); in r600_blitter_begin()
59 util_blitter_save_viewport(rctx->blitter, &rctx->queued.named.viewport->viewport); in r600_blitter_begin()
61 util_blitter_save_vertex_buffers(rctx->blitter, in r600_blitter_begin()
64 util_blitter_save_so_targets(rctx->blitter, rctx->num_so_targets, in r600_blitter_begin()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c58 util_blitter_save_blend(r300->blitter, r300->blend_state.state); in r300_blitter_begin()
59 util_blitter_save_depth_stencil_alpha(r300->blitter, r300->dsa_state.state); in r300_blitter_begin()
60 util_blitter_save_stencil_ref(r300->blitter, &(r300->stencil_ref)); in r300_blitter_begin()
61 util_blitter_save_rasterizer(r300->blitter, r300->rs_state.state); in r300_blitter_begin()
62 util_blitter_save_fragment_shader(r300->blitter, r300->fs.state); in r300_blitter_begin()
63 util_blitter_save_vertex_shader(r300->blitter, r300->vs_state.state); in r300_blitter_begin()
64 util_blitter_save_viewport(r300->blitter, &r300->viewport); in r300_blitter_begin()
65 util_blitter_save_vertex_buffers(r300->blitter, r300->nr_vertex_buffers, in r300_blitter_begin()
67 util_blitter_save_vertex_elements(r300->blitter, r300->velems); in r300_blitter_begin()
70 util_blitter_save_framebuffer(r300->blitter, r300->fb_state.state); in r300_blitter_begin()
[all …]

1234