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 6PUBLIC struct pipe_screen * 7swrast_create_screen(struct sw_winsys *ws); 8 9PUBLIC 10DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL) 11 12struct pipe_screen * 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