gallium: rename 'state tracker' to 'frontend'
[mesa.git] / src / gallium / targets / pipe-loader / pipe_kmsro.c
1
2 #include "target-helpers/inline_debug_helper.h"
3 #include "frontend/drm_driver.h"
4 #include "kmsro/drm/kmsro_drm_public.h"
5
6 static struct pipe_screen *
7 create_screen(int fd, const struct pipe_screen_config *config)
8 {
9 struct pipe_screen *screen;
10
11 screen = kmsro_drm_screen_create(fd, config);
12 if (!screen)
13 return NULL;
14
15 screen = debug_screen_wrap(screen);
16
17 return screen;
18 }
19
20 PUBLIC
21 DRM_DRIVER_DESCRIPTOR("kmsro", NULL, create_screen)