1 2 #include "target-helpers/inline_sw_helper.h" 3 #include "target-helpers/inline_debug_helper.h" 4 #include "state_tracker/drm_driver.h" 5 6 PUBLIC struct pipe_screen * 7 swrast_create_screen(struct sw_winsys *ws); 8 9 PUBLIC 10 DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL) 11 12 struct pipe_screen * swrast_create_screen(struct sw_winsys * ws)13swrast_create_screen(struct sw_winsys *ws) 14 { 15 struct pipe_screen *screen; 16 17 screen = sw_screen_create(ws); 18 if (screen) 19 screen = debug_screen_wrap(screen); 20 21 return screen; 22 } 23