Makes it more obvious that this function is actually initializing the dri_screen
and not some helper.
Signed-off-by: Corentin Noël <corentin.noel@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23054>
if (pscreen->get_param(pscreen, PIPE_CAP_DEVICE_PROTECTED_CONTEXT))
screen->has_protected_context = true;
- configs = dri_init_screen_helper(screen, pscreen);
+ configs = dri_init_screen(screen, pscreen);
if (!configs)
goto fail;
dri_init_options(screen);
dri2_init_screen_extensions(screen, pscreen, true);
- configs = dri_init_screen_helper(screen, pscreen);
+ configs = dri_init_screen(screen, pscreen);
if (!configs)
goto fail;
}
const __DRIconfig **
-dri_init_screen_helper(struct dri_screen *screen,
- struct pipe_screen *pscreen)
+dri_init_screen(struct dri_screen *screen,
+ struct pipe_screen *pscreen)
{
screen->base.screen = pscreen;
screen->base.get_egl_image = dri_get_egl_image;
dri_init_options(struct dri_screen *screen);
const __DRIconfig **
-dri_init_screen_helper(struct dri_screen *screen,
- struct pipe_screen *pscreen);
+dri_init_screen(struct dri_screen *screen,
+ struct pipe_screen *pscreen);
void
dri_release_screen(struct dri_screen * screen);
goto fail;
dri_init_options(screen);
- configs = dri_init_screen_helper(screen, pscreen);
+ configs = dri_init_screen(screen, pscreen);
if (!configs)
goto fail;
dri_init_options(screen);
screen->unwrapped_screen = trace_screen_unwrap(pscreen);
- configs = dri_init_screen_helper(screen, pscreen);
+ configs = dri_init_screen(screen, pscreen);
if (!configs)
goto fail;