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