2 #include "target-helpers/inline_wrapper_sw_helper.h"
3 #include "target-helpers/inline_debug_helper.h"
4 #include "state_tracker/drm_driver.h"
5 #include "svga/drm/svga_drm_public.h"
6 #include "svga/svga_public.h"
8 static struct pipe_screen
*
11 struct svga_winsys_screen
*sws
;
12 struct pipe_screen
*screen
;
14 sws
= svga_drm_winsys_screen_create(fd
);
18 screen
= svga_screen_create(sws
);
22 screen
= sw_screen_wrap(screen
);
24 screen
= debug_screen_wrap(screen
);
29 static const struct drm_conf_ret throttle_ret
= {
34 static const struct drm_conf_ret
*drm_configuration(enum drm_conf conf
)
37 case DRM_CONF_THROTTLE
:
45 DRM_DRIVER_DESCRIPTOR("vmwgfx", "vmwgfx", create_screen
, drm_configuration
)