1 /* 2 * Copyright (C) 2022 Lima Project 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #ifndef H_LIMA_BLIT 9 #define H_LIMA_BLIT 10 11 #include <stdbool.h> 12 13 struct util_dynarray; 14 15 void 16 lima_pack_blit_cmd(struct lima_job *job, 17 struct util_dynarray *cmd, 18 struct pipe_surface *psurf, 19 const struct pipe_box *src, 20 const struct pipe_box *dst, 21 unsigned filter, 22 bool scissor, 23 unsigned sample_mask, 24 unsigned mrt_idx); 25 26 bool lima_do_blit(struct pipe_context *ctx, 27 const struct pipe_blit_info *blit_info); 28 29 #endif 30 31