1 /* 2 * Copyright (c) 2008-2024 Broadcom. All Rights Reserved. 3 * The term “Broadcom” refers to Broadcom Inc. 4 * and/or its subsidiaries. 5 * SPDX-License-Identifier: MIT 6 */ 7 8 #ifndef SVGA_SWTNL_H 9 #define SVGA_SWTNL_H 10 11 #include "util/compiler.h" 12 13 struct svga_context; 14 struct pipe_context; 15 struct vbuf_render; 16 17 18 bool svga_init_swtnl( struct svga_context *svga ); 19 void svga_destroy_swtnl( struct svga_context *svga ); 20 21 22 enum pipe_error 23 svga_swtnl_draw_vbo(struct svga_context *svga, 24 const struct pipe_draw_info *info, 25 unsigned drawid_offset, 26 const struct pipe_draw_indirect_info *indirect, 27 const struct pipe_draw_start_count_bias *draw); 28 29 30 #endif 31