Home
last modified time | relevance | path

Searched refs:dri_screen (Results 1 – 25 of 32) sorted by relevance

12

/external/mesa3d/src/gallium/state_trackers/dri/common/
Ddri_screen.h46 struct dri_screen struct
74 __DRIimage * (*lookup_egl_image)(struct dri_screen *ctx, void *handle); argument
78 static INLINE struct dri_screen *
79 dri_screen(__DRIscreen * sPriv) in dri_screen() function
81 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
117 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
121 dri_init_screen_helper(struct dri_screen *screen,
126 dri_destroy_screen_helper(struct dri_screen * screen);
Ddri_screen.c77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes()
251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual()
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
352 dri_destroy_option_cache(struct dri_screen * screen) in dri_destroy_option_cache()
368 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
382 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
392 dri_init_screen_helper(struct dri_screen *screen, in dri_init_screen_helper()
Ddri_context.c69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
194 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri_drawable.c52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
Ddri_drawable.h48 struct dri_screen *screen;
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c43 nouveau_destroy_screen(__DRIscreen *dri_screen);
89 nouveau_init_screen2(__DRIscreen *dri_screen) in nouveau_init_screen2() argument
100 dri_screen->driverPrivate = screen; in nouveau_init_screen2()
101 dri_screen->extensions = nouveau_screen_extensions; in nouveau_init_screen2()
102 screen->dri_screen = dri_screen; in nouveau_init_screen2()
105 ret = nouveau_device_wrap(dri_screen->fd, 0, &screen->device); in nouveau_init_screen2()
132 nouveau_destroy_screen(dri_screen); in nouveau_init_screen2()
138 nouveau_destroy_screen(__DRIscreen *dri_screen) in nouveau_destroy_screen() argument
140 struct nouveau_screen *screen = dri_screen->driverPrivate; in nouveau_destroy_screen()
148 dri_screen->driverPrivate = NULL; in nouveau_destroy_screen()
[all …]
Dnouveau_screen.h33 __DRIscreen *dri_screen; member
Dnouveau_context.c57 __DRIscreen *dri_screen = dri_ctx->driScreenPriv; in nouveau_context_create() local
58 struct nouveau_screen *screen = dri_screen->driverPrivate; in nouveau_context_create()
/external/mesa3d/src/glx/
Ddri_glx.c62 struct dri_screen struct
318 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen()
515 struct dri_screen *psc = (struct dri_screen *) context->psc; in dri_destroy_context()
533 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_bind_context()
555 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_unbind_context()
578 struct dri_screen *psc = (struct dri_screen *) base; in dri_create_context()
633 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driDestroyDrawable()
649 struct dri_screen *psc = (struct dri_screen *) base; in driCreateDrawable()
693 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driSwapBuffers()
705 struct dri_screen *psc = (struct dri_screen *) pdp->base.psc; in driCopySubBuffer()
[all …]
/external/mesa3d/src/gallium/state_trackers/dri/sw/
Ddri_screen.c77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes()
251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual()
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
352 dri_destroy_option_cache(struct dri_screen * screen) in dri_destroy_option_cache()
368 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
382 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
392 dri_init_screen_helper(struct dri_screen *screen, in dri_init_screen_helper()
Ddri_context.c69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
194 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddrisw.c107 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture()
189 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures()
298 struct dri_screen *screen; in drisw_init_screen()
301 screen = CALLOC_STRUCT(dri_screen); in drisw_init_screen()
Ddri_drawable.c52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
DSConscript20 'dri_screen.c',
DMakefile21 dri_screen.c \
/external/mesa3d/src/gallium/state_trackers/dri/drm/
Ddri_screen.c77 dri_fill_in_modes(struct dri_screen *screen, in dri_fill_in_modes()
251 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual()
319 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
341 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
352 dri_destroy_option_cache(struct dri_screen * screen) in dri_destroy_option_cache()
368 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
382 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
392 dri_init_screen_helper(struct dri_screen *screen, in dri_init_screen_helper()
Ddri_context.c69 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
194 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
257 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri2.c209 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri2_drawable_process_buffers()
295 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
418 dri2_lookup_egl_image(struct dri_screen *screen, void *handle) in dri2_lookup_egl_image()
437 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_from_name()
517 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image()
780 struct dri_screen *screen; in dri2_init_screen()
784 screen = CALLOC_STRUCT(dri_screen); in dri2_init_screen()
Ddri_drawable.c52 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
123 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
DSConscript20 'dri_screen.c',
DMakefile18 dri_screen.c \
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c170 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface()
225 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface()
229 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface()
280 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in dri2_process_back_buffer()
301 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_pending_buffer()
322 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_buffers()
342 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_release_buffers()
368 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in destroy_third_buffer()
464 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in dri2_get_buffers_with_format()
658 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_terminate()
Degl_dri2.c467 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
507 dri2_dpy->dri_screen = in dri2_create_screen()
512 dri2_dpy->dri_screen = in dri2_create_screen()
517 if (dri2_dpy->dri_screen == NULL) { in dri2_create_screen()
524 extensions = dri2_dpy->core->getExtensions(dri2_dpy->dri_screen); in dri2_create_screen()
548 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_create_screen()
609 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_terminate()
827 dri2_dpy->dri2->createContextAttribs(dri2_dpy->dri_screen, in dri2_create_context()
838 dri2_dpy->dri2->createNewContextForAPI(dri2_dpy->dri_screen, in dri2_create_context()
847 dri2_dpy->swrast->createNewContextForAPI(dri2_dpy->dri_screen, in dri2_create_context()
[all …]
Dplatform_drm.c124 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface()
169 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface()
228 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo()
442 dri2_dpy->dri_screen = dri2_dpy->gbm_dri->screen; in dri2_initialize_drm()
Dplatform_android.c121 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, att, format, in droid_alloc_local_buffer()
137 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in droid_free_local_buffers()
183 (*dri2_dpy->dri2->createNewDrawable)(dri2_dpy->dri_screen, in droid_create_surface()
338 dri2_dpy->image->createImageFromName(dri2_dpy->dri_screen, in dri2_create_image_android_native_buffer()
757 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_android()

12