summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/radeon/drm/radeon_drm_public.h
blob: dfcaaa4b6efcd0814ba997a79d50b36c89e10f8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef RADEON_DRM_PUBLIC_H
#define RADEON_DRM_PUBLIC_H

#include "pipe/p_defines.h"

struct radeon_winsys;
struct pipe_screen;

typedef struct pipe_screen *(*radeon_screen_create_t)(struct radeon_winsys *);

struct radeon_winsys *
radeon_drm_winsys_create(int fd, radeon_screen_create_t screen_create);

#endif