pipe_r600.c revision 9f464c52
1#include "state_tracker/drm_driver.h" 2#include "target-helpers/inline_debug_helper.h" 3#include "radeon/drm/radeon_drm_public.h" 4#include "radeon/radeon_winsys.h" 5#include "r600/r600_public.h" 6 7static struct pipe_screen * 8create_screen(int fd, const struct pipe_screen_config *config) 9{ 10 struct radeon_winsys *rw; 11 12 rw = radeon_drm_winsys_create(fd, config, r600_screen_create); 13 return rw ? debug_screen_wrap(rw->screen) : NULL; 14} 15 16PUBLIC 17DRM_DRIVER_DESCRIPTOR("r600", NULL, create_screen) 18