Home
last modified time | relevance | path

Searched refs:box (Results 1 - 25 of 313) sorted by relevance

12345678910>>...13

/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_clear.c70 const struct pipe_box *box, in can_fast_clear_color()
84 if (box->x > 0 || box->y > 0 || in can_fast_clear_color()
85 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color()
86 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color()
167 const struct pipe_box *box, in fast_clear_color()
187 layer >= box->z && in fast_clear_color()
188 layer < box->z + box->depth) { in fast_clear_color()
241 iris_resource_get_aux_state(res, level, box in fast_clear_color()
67 can_fast_clear_color(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format render_format, union isl_color_value color) can_fast_clear_color() argument
164 fast_clear_color(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, union isl_color_value color) fast_clear_color() argument
306 clear_color(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument
377 can_fast_clear_depth(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, float depth) can_fast_clear_depth() argument
422 fast_clear_depth(struct iris_context *ice, struct iris_resource *res, unsigned level, const struct pipe_box *box, float depth) fast_clear_depth() argument
511 clear_depth_stencil(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
627 struct pipe_box box = { iris_clear() local
672 iris_clear_texture(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, const void *data) iris_clear_texture() argument
745 struct pipe_box box = { iris_clear_render_target() local
776 struct pipe_box box = { iris_clear_depth_stencil() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/util/
H A Du_box.h9 u_box_1d(unsigned x, unsigned w, struct pipe_box *box) in u_box_1d() argument
11 box->x = x; in u_box_1d()
12 box->y = 0; in u_box_1d()
13 box->z = 0; in u_box_1d()
14 box->width = w; in u_box_1d()
15 box->height = 1; in u_box_1d()
16 box->depth = 1; in u_box_1d()
20 u_box_2d(unsigned x,unsigned y, unsigned w, unsigned h, struct pipe_box *box) in u_box_2d() argument
22 box->x = x; in u_box_2d()
23 box in u_box_2d()
31 u_box_origin_2d(unsigned w, unsigned h, struct pipe_box *box) u_box_origin_2d() argument
42 u_box_2d_zslice(unsigned x, unsigned y, unsigned z, unsigned w, unsigned h, struct pipe_box *box) u_box_2d_zslice() argument
54 u_box_3d(unsigned x, unsigned y, unsigned z, unsigned w, unsigned h, unsigned d, struct pipe_box *box) u_box_3d() argument
75 u_box_clip_2d(struct pipe_box *dst, const struct pipe_box *box, int w, int h) u_box_clip_2d() argument
118 u_box_volume_3d(const struct pipe_box *box) u_box_volume_3d() argument
[all...]
H A Du_transfer_helper.c177 const struct pipe_box *box, in transfer_map_msaa()
189 ptrans->box = *box; in transfer_map_msaa()
194 .width0 = box->width, in transfer_map_msaa()
195 .height0 = box->height, in transfer_map_msaa()
212 blit.src.box = *box; in transfer_map_msaa()
216 blit.dst.box.width = box->width; in transfer_map_msaa()
217 blit.dst.box in transfer_map_msaa()
174 transfer_map_msaa(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **pptrans) transfer_map_msaa() argument
243 u_transfer_helper_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **pptrans) u_transfer_helper_transfer_map() argument
365 flush_region(struct pipe_context *pctx, struct pipe_transfer *ptrans, const struct pipe_box *box) flush_region() argument
486 u_transfer_helper_transfer_flush_region(struct pipe_context *pctx, struct pipe_transfer *ptrans, const struct pipe_box *box) u_transfer_helper_transfer_flush_region() argument
526 struct pipe_box box; u_transfer_helper_transfer_unmap() local
588 u_transfer_helper_deinterleave_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **pptrans) u_transfer_helper_deinterleave_transfer_map() argument
706 struct pipe_box box; u_transfer_helper_deinterleave_transfer_unmap() local
[all...]
H A Du_compute.c81 if (blit_info->src.box.width == 0 || blit_info->src.box.height == 0 || in util_compute_blit()
82 blit_info->dst.box.width == 0 || blit_info->dst.box.height == 0) in util_compute_blit()
89 unsigned width = blit_info->dst.box.width; in util_compute_blit()
90 unsigned height = blit_info->dst.box.height; in util_compute_blit()
91 float x_scale = blit_info->src.box.width / (float)blit_info->dst.box.width; in util_compute_blit()
92 float y_scale = blit_info->src.box.height / (float)blit_info->dst.box in util_compute_blit()
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_transfer.c48 /* Compute offset into a 1D/2D/3D buffer of a certain box.
49 * This box must be aligned to the block width and height of the
52 etna_compute_offset(enum pipe_format format, const struct pipe_box *box, in etna_compute_offset() argument
55 return box->z * layer_stride + in etna_compute_offset()
56 box->y / util_format_get_blockheight(format) * stride + in etna_compute_offset()
57 box->x / util_format_get_blockwidth(format) * in etna_compute_offset()
78 ptrans->box.width, ptrans->box.height, in etna_patch_data()
131 etna_copy_resource_box(pctx, ptrans->resource, trans->rsc, ptrans->level, &ptrans->box); in etna_transfer_unmap()
137 for (unsigned z = 0; z < ptrans->box in etna_transfer_unmap()
191 etna_transfer_map(struct pipe_context *pctx, struct pipe_resource *prsc, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **out_transfer) etna_transfer_map() argument
482 etna_transfer_flush_region(struct pipe_context *pctx, struct pipe_transfer *ptrans, const struct pipe_box *box) etna_transfer_flush_region() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_clear.c68 const struct pipe_box *box, in can_fast_clear_color()
83 if (box->x > 0 || box->y > 0 || in can_fast_clear_color()
84 box->width < u_minify(p_res->width0, level) || in can_fast_clear_color()
85 box->height < u_minify(p_res->height0, level)) { in can_fast_clear_color()
201 const struct pipe_box *box, in fast_clear_color()
225 layer >= box->z && in fast_clear_color()
226 layer < box->z + box->depth) { in fast_clear_color()
271 crocus_resource_get_aux_state(res, level, box in fast_clear_color()
65 can_fast_clear_color(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, enum isl_format render_format, union isl_color_value color) can_fast_clear_color() argument
198 fast_clear_color(struct crocus_context *ice, struct crocus_resource *res, unsigned level, const struct pipe_box *box, enum isl_format format, union isl_color_value color, enum blorp_batch_flags blorp_flags) fast_clear_color() argument
326 clear_color(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, enum isl_format format, struct isl_swizzle swizzle, union isl_color_value color) clear_color() argument
395 can_fast_clear_depth(struct crocus_context *ice, struct crocus_resource *res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, float depth) can_fast_clear_depth() argument
451 fast_clear_depth(struct crocus_context *ice, struct crocus_resource *res, unsigned level, const struct pipe_box *box, float depth) fast_clear_depth() argument
539 clear_depth_stencil(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
652 struct pipe_box box = { crocus_clear() local
708 crocus_clear_texture(struct pipe_context *ctx, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, const void *data) crocus_clear_texture() argument
791 struct pipe_box box = { crocus_clear_render_target() local
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_transfer_queue.c71 box_min_max(const struct pipe_box *box, int dim, int *min, int *max) in box_min_max() argument
75 if (box->width > 0) { in box_min_max()
76 *min = box->x; in box_min_max()
77 *max = box->x + box->width; in box_min_max()
79 *max = box->x; in box_min_max()
80 *min = box->x + box->width; in box_min_max()
84 if (box->height > 0) { in box_min_max()
85 *min = box in box_min_max()
105 transfer_overlap(const struct virgl_transfer *xfer, const struct virgl_hw_res *hw_res, unsigned level, const struct pipe_box *box, bool include_touching) transfer_overlap() argument
140 virgl_transfer_queue_find_overlap(const struct virgl_transfer_queue *queue, const struct virgl_hw_res *hw_res, unsigned level, const struct pipe_box *box, bool include_touching) virgl_transfer_queue_find_overlap() argument
365 struct pipe_box box; virgl_transfer_queue_extend_buffer() local
[all...]
H A Dvirgl_texture.c46 blit.src.box = *src_box; in virgl_copy_region_with_blit()
50 blit.dst.box.x = dst_box->x; in virgl_copy_region_with_blit()
51 blit.dst.box.y = dst_box->y; in virgl_copy_region_with_blit()
52 blit.dst.box.z = dst_box->z; in virgl_copy_region_with_blit()
53 blit.dst.box.width = dst_box->width; in virgl_copy_region_with_blit()
54 blit.dst.box.height = dst_box->height; in virgl_copy_region_with_blit()
55 blit.dst.box.depth = dst_box->depth; in virgl_copy_region_with_blit()
78 const struct pipe_box *box, in virgl_init_temp_resource_from_box()
85 res->width0 = box->width; in virgl_init_temp_resource_from_box()
86 res->height0 = box in virgl_init_temp_resource_from_box()
76 virgl_init_temp_resource_from_box(struct pipe_resource *res, struct pipe_resource *orig, const struct pipe_box *box, unsigned level, unsigned flags, enum pipe_format fmt) virgl_init_temp_resource_from_box() argument
115 texture_transfer_map_resolve(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) texture_transfer_map_resolve() argument
233 virgl_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) virgl_texture_transfer_map() argument
247 flush_data(struct pipe_context *ctx, struct virgl_transfer *trans, const struct pipe_box *box) flush_data() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_tiling_lt.c123 * Helper for loading or storing to an LT image, where the box is aligned
126 * This just breaks the box down into calls to the fast
132 int cpp, const struct pipe_box *box, bool to_cpu) in vc4_lt_image_aligned()
137 uint32_t xstart = box->x; in vc4_lt_image_aligned()
138 uint32_t ystart = box->y; in vc4_lt_image_aligned()
140 for (uint32_t y = 0; y < box->height; y += utile_h) { in vc4_lt_image_aligned()
141 for (uint32_t x = 0; x < box->width; x += utile_w) { in vc4_lt_image_aligned()
162 * Helper for loading or storing to an LT image, where the box is not aligned
172 int cpp, const struct pipe_box *box, bool to_cpu) in vc4_lt_image_unaligned()
175 /* These are the address bits for the start of the box, spli in vc4_lt_image_unaligned()
130 vc4_lt_image_aligned(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride, int cpp, const struct pipe_box *box, bool to_cpu) vc4_lt_image_aligned() argument
170 vc4_lt_image_unaligned(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride, int cpp, const struct pipe_box *box, bool to_cpu) vc4_lt_image_unaligned() argument
227 vc4_lt_image_helper(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride, int cpp, const struct pipe_box *box, bool to_cpu) vc4_lt_image_helper() argument
246 vc4_lt_image_cpp_helper(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride, int cpp, const struct pipe_box *box, bool to_cpu) vc4_lt_image_cpp_helper() argument
273 vc4_load_lt_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_load_lt_image() argument
282 vc4_store_lt_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_store_lt_image() argument
[all...]
H A Dvc4_tiling.c124 int cpp, const struct pipe_box *box, in vc4_t_image_helper()
135 uint32_t x1 = box->x; in vc4_t_image_helper()
136 uint32_t y1 = box->y; in vc4_t_image_helper()
137 uint32_t x2 = box->x + box->width; in vc4_t_image_helper()
138 uint32_t y2 = box->y + box->height; in vc4_t_image_helper()
183 int cpp, const struct pipe_box *box) in vc4_store_t_image()
187 cpp, box, false); in vc4_store_t_image()
193 int cpp, const struct pipe_box *box) in vc4_load_t_image()
122 vc4_t_image_helper(void *gpu, uint32_t gpu_stride, void *cpu, uint32_t cpu_stride, int cpp, const struct pipe_box *box, bool to_cpu) vc4_t_image_helper() argument
181 vc4_store_t_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_store_t_image() argument
191 vc4_load_t_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_load_t_image() argument
205 vc4_load_tiled_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, uint8_t tiling_format, int cpp, const struct pipe_box *box) vc4_load_tiled_image() argument
227 vc4_store_tiled_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, uint8_t tiling_format, int cpp, const struct pipe_box *box) vc4_store_tiled_image() argument
[all...]
H A Dvc4_blit.c69 if (info->dst.box.x != info->src.box.x || in vc4_tile_blit()
70 info->dst.box.y != info->src.box.y || in vc4_tile_blit()
71 info->dst.box.width != info->src.box.width || in vc4_tile_blit()
72 info->dst.box.height != info->src.box.height) { in vc4_tile_blit()
80 if (is_tile_unaligned(info->dst.box.x, tile_width) || in vc4_tile_blit()
81 is_tile_unaligned(info->dst.box in vc4_tile_blit()
[all...]
H A Dvc4_tiling.h68 int cpp, const struct pipe_box *box);
71 int cpp, const struct pipe_box *box);
74 int cpp, const struct pipe_box *box);
77 int cpp, const struct pipe_box *box);
81 const struct pipe_box *box);
85 const struct pipe_box *box);
90 int cpp, const struct pipe_box *box) in vc4_load_lt_image()
95 cpp, box); in vc4_load_lt_image()
100 cpp, box); in vc4_load_lt_image()
106 int cpp, const struct pipe_box *box) in vc4_store_lt_image()
88 vc4_load_lt_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_load_lt_image() argument
104 vc4_store_lt_image(void *dst, uint32_t dst_stride, void *src, uint32_t src_stride, int cpp, const struct pipe_box *box) vc4_store_lt_image() argument
[all...]
/third_party/typescript/tests/baselines/reference/
H A DgenericFunctionInference1.js7 declare function box<V>(x: V): { value: V };
11 const f01 = pipe(list, box);
12 const f02 = pipe(box, list);
13 const f03 = pipe(x => list(x), box);
14 const f04 = pipe(list, x => box(x));
15 const f05 = pipe(x => list(x), x => box(x))
16 const f06 = pipe(list, pipe(box));
17 const f07 = pipe(x => list(x), pipe(box));
18 const f08 = pipe(x => list(x), pipe(x => box(x)));
24 const g01: <T>(x: T) => { value: T[] } = pipe(list, box);
[all...]
H A DisomorphicMappedTypeInference.js10 function box<T>(x: T): Box<T> {
21 result[k] = box(obj[k]);
52 a: box(42),
53 b: box("hello"),
54 c: box(true)
62 a: box(42),
63 b: box("hello"),
64 c: box(true)
71 a: box(42),
72 b: box("hell
183 function box(x) { global() function
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c60 SVGA3dCopyBox box; in svga_transfer_dma_band() local
64 box.x = x; in svga_transfer_dma_band()
65 box.y = y; in svga_transfer_dma_band()
66 box.z = z; in svga_transfer_dma_band()
67 box.w = w; in svga_transfer_dma_band()
68 box.h = h; in svga_transfer_dma_band()
69 box.d = d; in svga_transfer_dma_band()
70 box.srcx = srcx; in svga_transfer_dma_band()
71 box.srcy = srcy; in svga_transfer_dma_band()
72 box in svga_transfer_dma_band()
469 svga_texture_transfer_map(struct pipe_context *pipe, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) svga_texture_transfer_map() argument
648 update_image_vgpu9(struct svga_context *svga, struct svga_winsys_surface *surf, const SVGA3dBox *box, unsigned slice, unsigned level) update_image_vgpu9() argument
659 update_image_vgpu10(struct svga_context *svga, struct svga_winsys_surface *surf, const SVGA3dBox *box, unsigned slice, unsigned level, unsigned numMipLevels) update_image_vgpu10() argument
730 SVGA3dBox box = st->box; svga_texture_transfer_unmap_direct() local
[all...]
H A Dsvga_pipe_blit.c67 blit->src.box = *src_box; in build_blit_info()
69 src_box->depth, &blit->dst.box); in build_blit_info()
83 SVGA3dCopyBox box; in intra_surface_copy() local
94 box.x = dst_x; in intra_surface_copy()
95 box.y = dst_y; in intra_surface_copy()
96 box.z = dst_z; in intra_surface_copy()
97 box.w = width; in intra_surface_copy()
98 box.h = height; in intra_surface_copy()
99 box.d = depth; in intra_surface_copy()
100 box in intra_surface_copy()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_bbox.c23 * bounding box detection filter
43 { "min_val", "set minimum luminance value for bounding box", OFFSET(min_val), AV_OPT_TYPE_INT, { .i64 = 16 }, 0, UINT16_MAX, FLAGS },
80 FFBoundingBox box; in filter_frame() local
84 ff_calculate_bounding_box(&box, in filter_frame()
87 w = box.x2 - box.x1 + 1; in filter_frame()
88 h = box.y2 - box.y1 + 1; in filter_frame()
97 SET_META("lavfi.bbox.x1", box.x1) in filter_frame()
98 SET_META("lavfi.bbox.x2", box in filter_frame()
[all...]
H A Dvf_palettegen.c43 int64_t variance; // overall variance of the box (how much the colors are spread)
161 * Find the next box to split: pick the one with the highest variance
172 struct range_box *box = &s->boxes[box_id]; in get_next_box_id_to_split() local
176 if (box->variance == -1) { in get_next_box_id_to_split()
179 for (i = 0; i < box->len; i++) { in get_next_box_id_to_split()
180 const struct color_ref *ref = s->refs[box->start + i]; in get_next_box_id_to_split()
182 variance += (int64_t)diff_alpha(ref->color, box->color) * ref->count; in get_next_box_id_to_split()
184 variance += (int64_t)diff(ref->color, box->color) * ref->count; in get_next_box_id_to_split()
186 box->variance = variance; in get_next_box_id_to_split()
188 if (box in get_next_box_id_to_split()
203 get_avg_color(struct color_ref * const *refs, const struct range_box *box, int use_alpha) get_avg_color() argument
236 split_box(PaletteGenContext *s, struct range_box *box, int n) split_box() argument
327 struct range_box *box; get_palette_frame() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_rast_rect.c125 struct u_rect *box) in intersect_rect_and_tile()
127 box->x0 = task->x; in intersect_rect_and_tile()
128 box->y0 = task->y; in intersect_rect_and_tile()
129 box->x1 = task->x + TILE_SIZE - 1; in intersect_rect_and_tile()
130 box->y1 = task->y + TILE_SIZE - 1; in intersect_rect_and_tile()
132 assert(u_rect_test_intersection(&rect->box, box)); in intersect_rect_and_tile()
134 u_rect_find_intersection(&rect->box, box); in intersect_rect_and_tile()
136 box in intersect_rect_and_tile()
123 intersect_rect_and_tile(struct lp_rasterizer_task *task, const struct lp_rast_rectangle *rect, struct u_rect *box) intersect_rect_and_tile() argument
153 struct u_rect box; lp_rast_rectangle() local
[all...]
H A Dlp_rast_linear.c113 struct u_rect box; in lp_rast_linear_tile() local
114 box.x0 = task->x; in lp_rast_linear_tile()
115 box.x1 = task->x + task->width - 1; in lp_rast_linear_tile()
116 box.y0 = task->y; in lp_rast_linear_tile()
117 box.y1 = task->y + task->height - 1; in lp_rast_linear_tile()
118 lp_rast_linear_rect_fallback(task, inputs, &box); in lp_rast_linear_tile()
137 struct u_rect box; in lp_rast_linear_rect() local
138 box.x0 = task->x; in lp_rast_linear_rect()
139 box.y0 = task->y; in lp_rast_linear_rect()
140 box in lp_rast_linear_rect()
[all...]
/third_party/toybox/kconfig/lxdialog/
H A Dtextbox.c2 * textbox.c -- implements the text box
38 static void refresh_text_box(WINDOW *dialog, WINDOW *box, int boxh, int boxw, in refresh_text_box() argument
41 print_page(box, boxh, boxw); in refresh_text_box()
49 * Display text from a file in a dialog box.
57 WINDOW *dialog, *box; in dialog_textbox() local
85 /* center dialog box on screen */ in dialog_textbox()
94 /* Create window for box region, used for scrolling text */ in dialog_textbox()
97 box = subwin(dialog, boxh, boxw, y + 1, x + 1); in dialog_textbox()
98 wattrset(box, dlg.dialog.atr); in dialog_textbox()
99 wbkgdset(box, dl in dialog_textbox()
[all...]
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_blit.c85 struct pipe_box box = { in v3d_render_blit() local
97 .width0 = box.width, in v3d_render_blit()
98 .height0 = box.height, in v3d_render_blit()
111 &box); in v3d_render_blit()
162 .first_layer = info->dst.box.z, in v3d_stencil_blit()
163 .last_layer = info->dst.box.z, in v3d_stencil_blit()
192 util_blitter_blit_generic(v3d->blitter, dst_surf, &info->dst.box, in v3d_stencil_blit()
193 src_view, &info->src.box, in v3d_stencil_blit()
375 info->dst.box.x != 0 || in v3d_tfu_blit()
376 info->dst.box in v3d_tfu_blit()
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_buffer_common.c281 const struct pipe_box *box, in r600_buffer_get_transfer()
296 transfer->b.b.box = *box; in r600_buffer_get_transfer()
318 const struct pipe_box *box, in r600_buffer_transfer_map()
327 if ((data = r600_compute_global_transfer_map(ctx, resource, level, usage, box, ptransfer))) in r600_buffer_transfer_map()
331 assert(box->x + box->width <= resource->width0); in r600_buffer_transfer_map()
353 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box in r600_buffer_transfer_map()
278 r600_buffer_get_transfer(struct pipe_context *ctx, struct pipe_resource *resource, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer, void *data, struct r600_resource *staging, unsigned offset) r600_buffer_get_transfer() argument
314 r600_buffer_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **ptransfer) r600_buffer_transfer_map() argument
456 r600_buffer_do_flush_region(struct pipe_context *ctx, struct pipe_transfer *transfer, const struct pipe_box *box) r600_buffer_do_flush_region() argument
493 struct pipe_box box; r600_buffer_flush_region() local
531 struct pipe_box box; r600_buffer_subdata() local
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_transfer.c57 src, transfer->level, &transfer->box); in r300_copy_from_tiled_texture()
66 blit.src.box = transfer->box; in r300_copy_from_tiled_texture()
69 blit.dst.box.width = transfer->box.width; in r300_copy_from_tiled_texture()
70 blit.dst.box.height = transfer->box.height; in r300_copy_from_tiled_texture()
71 blit.dst.box.depth = transfer->box.depth; in r300_copy_from_tiled_texture()
88 transfer->box in r300_copy_into_tiled_texture()
100 r300_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *texture, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) r300_texture_transfer_map() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_blit.c21 zink_fb_clears_apply_or_discard(ctx, info->dst.resource, zink_rect_from_box(&info->dst.box), discard_only); in apply_dst_clears()
34 if (info->src.box.width < 0 || in blit_resolve()
35 info->dst.box.width < 0 || in blit_resolve()
36 info->src.box.height < 0 || in blit_resolve()
37 info->dst.box.height < 0 || in blit_resolve()
38 info->src.box.depth < 0 || in blit_resolve()
39 info->dst.box.depth < 0) in blit_resolve()
58 zink_fb_clears_apply_region(ctx, info->src.resource, zink_rect_from_box(&info->src.box)); in blit_resolve()
75 region.srcOffset.x = info->src.box.x; in blit_resolve()
76 region.srcOffset.y = info->src.box in blit_resolve()
[all...]

Completed in 13 milliseconds

12345678910>>...13