src/gallium/winsys/freedreno/drm/freedreno_drm_public.h
raw| 1 | |
| 2 | #ifndef __FREEDRENO_DRM_PUBLIC_H__ |
| 3 | #define __FREEDRENO_DRM_PUBLIC_H__ |
| 4 | |
| 5 | #include <stdbool.h> |
| 6 | |
| 7 | struct pipe_screen; |
| 8 | struct renderonly; |
| 9 | |
| 10 | struct pipe_screen *fd_drm_screen_create_renderonly(int drmFD, |
| 11 | struct renderonly *ro, |
| 12 | const struct pipe_screen_config *config); |
| 13 | |
| 14 | struct virgl_renderer_capset_drm; |
| 15 | |
| 16 | bool fd_drm_probe_nctx(int fd, const struct virgl_renderer_capset_drm *caps); |
| 17 | |
| 18 | #endif |