xref: /aosp_15_r20/external/mesa3d/src/gallium/winsys/asahi/drm/asahi_drm_public.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright 2014 Broadcom
3  * Copyright 2018 Alyssa Rosenzweig
4  * SPDX-License-Identifier: MIT
5  */
6 
7 #ifndef __ASAHI_DRM_PUBLIC_H__
8 #define __ASAHI_DRM_PUBLIC_H__
9 
10 #include <stdbool.h>
11 
12 struct pipe_screen;
13 struct pipe_screen_config;
14 struct renderonly;
15 
16 struct pipe_screen *
17 asahi_drm_screen_create(int drmFD, const struct pipe_screen_config *config);
18 struct pipe_screen *
19 asahi_drm_screen_create_renderonly(int fd, struct renderonly *ro,
20                                    const struct pipe_screen_config *config);
21 
22 #endif /* __ASAHI_DRM_PUBLIC_H__ */
23