blob: 5f69653582db72dc0b74af448b3fdde1f30b8f3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "state_tracker/drm_driver.h"
#include "svga/drm/svga_drm_public.h"
#include "svga/svga_public.h"
static struct pipe_screen *
create_screen(int fd)
{
struct svga_winsys_screen *sws;
sws = svga_drm_winsys_screen_create(fd);
if (!sws)
return NULL;
return svga_screen_create(sws);
}
DRM_DRIVER_DESCRIPTOR("vmwgfx", "vmwgfx", create_screen)
|