1 #include "target-helpers/inline_debug_helper.h"
2 #include "state_tracker/drm_driver.h"
3 #include "radeon/drm/radeon_drm_public.h"
4 #include "r300/r300_public.h"
6 static struct pipe_screen
*
9 struct radeon_winsys
*sws
;
10 struct pipe_screen
*screen
;
12 sws
= radeon_drm_winsys_create(fd
);
16 screen
= r300_screen_create(sws
);
20 screen
= debug_screen_wrap(screen
);
25 DRM_DRIVER_DESCRIPTOR("r300", "radeon", create_screen
, NULL
)