cf569ea62c89c0452897b5350202b894efceb9fe
2 #include "target-helpers/inline_debug_helper.h"
3 #include "state_tracker/drm_driver.h"
4 #include "nouveau/drm/nouveau_drm_public.h"
6 static struct pipe_screen
*
9 struct pipe_screen
*screen
;
11 screen
= nouveau_drm_screen_create(fd
);
15 screen
= debug_screen_wrap(screen
);
20 DRM_DRIVER_DESCRIPTOR("nouveau", "nouveau", create_screen
)
22 /* A poor man's --whole-archive for EGL drivers */
23 void *_eglMain(void *);
24 void *_eglWholeArchive
= (void *) _eglMain
;