Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c49 nouveau_destroy_screen(__DRIscreen *dri_screen);
91 nouveau_init_screen2(__DRIscreen *dri_screen) in nouveau_init_screen2() argument
102 dri_screen->driverPrivate = screen; in nouveau_init_screen2()
105 ret = nouveau_drm_new(dri_screen->fd, &screen->drm); in nouveau_init_screen2()
125 dri_screen->max_gl_compat_version = 12; in nouveau_init_screen2()
129 dri_screen->max_gl_compat_version = 12; in nouveau_init_screen2()
130 dri_screen->max_gl_es1_version = 10; in nouveau_init_screen2()
135 dri_screen->max_gl_compat_version = 13; in nouveau_init_screen2()
136 dri_screen->max_gl_es1_version = 10; in nouveau_init_screen2()
144 dri_screen->extensions = nouveau_screen_extensions; in nouveau_init_screen2()
[all …]
Dnouveau_screen.h35 __DRIscreen *dri_screen; member
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri_screen.h50 struct dri_screen struct
89 __DRIimage * (*lookup_egl_image)(struct dri_screen *ctx, void *handle); argument
100 static inline struct dri_screen * argument
101 dri_screen(__DRIscreen * sPriv) in dri_screen() function
103 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
137 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
141 dri_init_screen_helper(struct dri_screen *screen,
146 dri_destroy_screen_helper(struct dri_screen * screen);
Ddri_screen.c106 dri_fill_in_modes(struct dri_screen *screen) in dri_fill_in_modes()
249 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen, in dri_fill_st_visual()
325 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
358 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
369 dri_destroy_option_cache(struct dri_screen * screen) in dri_destroy_option_cache()
391 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
406 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
418 dri_postprocessing_init(struct dri_screen *screen) in dri_postprocessing_init()
429 dri_init_screen_helper(struct dri_screen *screen, in dri_init_screen_helper()
Ddri_query_renderer.c14 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_integer()
68 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_string()
Ddri_context.c53 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
196 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
258 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri2.c362 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
461 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_textures()
769 dri2_lookup_egl_image(struct dri_screen *screen, void *handle) in dri2_lookup_egl_image()
789 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_from_winsys()
972 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image()
1330 screen = dri_screen(ctx->sPriv)->base.screen; in dri2_blit_image()
1387 struct dri_screen *screen = dri_screen(_screen); in dri2_get_capabilities()
1416 dri2_is_opencl_interop_loaded_locked(struct dri_screen *screen) in dri2_is_opencl_interop_loaded_locked()
1425 dri2_load_opencl_interop(struct dri_screen *screen) in dri2_load_opencl_interop()
1455 struct dri_screen *driscreen;
[all …]
DMakefile.sources8 dri_screen.c \
9 dri_screen.h
Ddrisw.c159 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture()
266 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures()
385 struct dri_screen *screen; in drisw_init_screen()
388 screen = CALLOC_STRUCT(dri_screen); in drisw_init_screen()
Ddri_drawable.c54 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
131 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
509 if (dri_screen(ctx->sPriv)->throttling_enabled && in dri_flush()
Ddri_drawable.h48 struct dri_screen *screen;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c406 intel_create_image_from_name(__DRIscreen *dri_screen, in intel_create_image_from_name() argument
410 struct intel_screen *screen = dri_screen->driverPrivate; in intel_create_image_from_name()
543 intel_create_image(__DRIscreen *dri_screen, in intel_create_image() argument
549 struct intel_screen *screen = dri_screen->driverPrivate; in intel_create_image()
667 intel_create_image_from_names(__DRIscreen *dri_screen, in intel_create_image_from_names() argument
677 if (dri_screen == NULL || names == NULL || num_names != 1) in intel_create_image_from_names()
684 image = intel_create_image_from_name(dri_screen, width, height, in intel_create_image_from_names()
703 intel_create_image_from_fds(__DRIscreen *dri_screen, in intel_create_image_from_fds() argument
708 struct intel_screen *screen = dri_screen->driverPrivate; in intel_create_image_from_fds()
766 intel_create_image_from_dma_bufs(__DRIscreen *dri_screen, in intel_create_image_from_dma_bufs() argument
[all …]
Dbrw_context.c375 __DRIscreen *const dri_screen = brw->screen->driScrnPriv; in intel_flush_front() local
378 if (flushFront(dri_screen) && driDrawable && in intel_flush_front()
391 flushFront(dri_screen)(driDrawable, driDrawable->loaderPrivate); in intel_flush_front()
1456 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_update_renderbuffers() local
1466 if (dri_screen->image.loader) in intel_update_renderbuffers()
1530 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_query_dri2_buffers() local
1575 dri_screen->dri2.loader->getBuffersWithFormat(drawable, in intel_query_dri2_buffers()
1727 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_update_image_buffers() local
1753 ret = dri_screen->image.loader->getBuffers(drawable, in intel_update_image_buffers()
Dintel_tex_image.c408 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_image_target_texture_2d() local
411 image = dri_screen->dri2.image->lookupEGLImage(dri_screen, image_handle, in intel_image_target_texture_2d()
412 dri_screen->loaderPrivate); in intel_image_target_texture_2d()
/external/mesa3d/src/glx/
Ddri_glx.c62 struct dri_screen struct
329 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen()
527 struct dri_screen *psc = (struct dri_screen *) context->psc; in dri_destroy_context()
544 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_bind_context()
566 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_unbind_context()
589 struct dri_screen *psc = (struct dri_screen *) base; in dri_create_context()
649 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driDestroyDrawable()
665 struct dri_screen *psc = (struct dri_screen *) base; in driCreateDrawable()
708 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driSwapBuffers()
724 struct dri_screen *psc = (struct dri_screen *) pdp->base.psc; in driCopySubBuffer()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c605 rendererQuery->queryInteger(dri2_dpy->dri_screen, param, &value) == -1) in dri2_renderer_query_integer()
618 api_mask = dri2_dpy->image_driver->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
620 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
663 dri2_dpy->fence->get_capabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
676 capabilities = dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
717 dri2_dpy->dri_screen = in dri2_create_screen()
725 dri2_dpy->dri_screen = in dri2_create_screen()
731 dri2_dpy->dri_screen = in dri2_create_screen()
739 dri2_dpy->dri_screen = in dri2_create_screen()
744 dri2_dpy->dri_screen = in dri2_create_screen()
[all …]
Dplatform_surfaceless.c45 dri2_dpy->dri_screen, in surfaceless_alloc_image()
137 dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_surfaceless_create_surface()
333 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_surfaceless()
Dplatform_android.c257 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, att, format, in droid_alloc_local_buffer()
273 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in droid_free_local_buffers()
327 dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, in droid_create_surface()
439 dri2_dpy->image->createImage(dri2_dpy->dri_screen, in get_front_bo()
489 dri2_dpy->image->createImageFromFds(dri2_dpy->dri_screen, in get_back_bo()
745 dri2_dpy->image->createImageFromName(dri2_dpy->dri_screen, in droid_create_image_from_name()
1178 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_android()
Dplatform_drm.c139 dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_drm_create_surface()
146 dri2_dpy->swrast->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_drm_create_surface()
203 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_drm_destroy_surface()
294 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo()
709 dri2_dpy->dri_screen = dri2_dpy->gbm_dri->screen; in dri2_initialize_drm()
Dplatform_wayland.c191 dri2_surf->dri_drawable = (*createNewDrawable)(dri2_dpy->dri_screen, config, in dri2_wl_create_window_surface()
255 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_wl_destroy_surface()
303 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_wl_release_buffers()
359 dri2_dpy->image->createImage(dri2_dpy->dri_screen, in get_back_bo()
372 dri2_dpy->image->createImage(dri2_dpy->dri_screen, in get_back_bo()
419 b = dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, in get_aux_bo()
1020 dri2_dpy->config->configQueryi(dri2_dpy->dri_screen, in dri2_wl_setup_swap_interval()
1263 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_wayland_drm()
1854 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_wayland_swrast()
Dplatform_x11_dri3.c114 return dri2_egl_display(dri2_ctx->base.Resource.Display)->dri_screen; in egl_dri3_get_dri_screen()
199 dri2_dpy->dri_screen, in dri3_create_surface()
337 dri2_dpy->dri_screen, in dri3_create_image_khr_pixmap()
Degl_dri2.h158 __DRIscreen *dri_screen; member
412 dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_set_WL_bind_wayland_display()
Dplatform_x11.c249 dri2_dpy->dri2->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_x11_create_surface()
254 dri2_dpy->swrast->createNewDrawable(dri2_dpy->dri_screen, config, in dri2_x11_create_surface()
1082 dri2_dpy->image->createImageFromName(dri2_dpy->dri_screen, in dri2_create_image_khr_pixmap()
1266 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_x11_swrast()
1299 dri2_dpy->config->configQueryi(dri2_dpy->dri_screen, in dri2_x11_setup_swap_interval()
1392 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_x11_dri3()
1488 dri2_dpy->core->destroyScreen(dri2_dpy->dri_screen); in dri2_initialize_x11_dri2()
/external/mesa3d/src/loader/
Dloader_dri3_helper.h126 __DRIscreen *dri_screen; member
175 __DRIscreen *dri_screen,
230 __DRIscreen *dri_screen,
Dloader_dri3_helper.c129 __DRIscreen *dri_screen, in loader_dri3_drawable_init() argument
146 draw->dri_screen = dri_screen; in loader_dri3_drawable_init()
154 draw->ext->config->configQueryi(draw->dri_screen, in loader_dri3_drawable_init()
174 draw->ext->image_driver->createNewDrawable(dri_screen, in loader_dri3_drawable_init()
859 buffer->image = draw->ext->image->createImage(draw->dri_screen, in dri3_alloc_render_buffer()
871 buffer->image = draw->ext->image->createImage(draw->dri_screen, in dri3_alloc_render_buffer()
881 draw->ext->image->createImage(draw->dri_screen, in dri3_alloc_render_buffer()
1065 __DRIscreen *dri_screen, in loader_dri3_create_image() argument
1085 image_planar = image->createImageFromFds(dri_screen, in loader_dri3_create_image()
1157 cur_screen = draw->dri_screen; in dri3_get_pixmap_buffer()

12