Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_screen.c50 nouveau_destroy_screen(__DRIscreen *dri_screen);
92 nouveau_init_screen2(__DRIscreen *dri_screen) in nouveau_init_screen2() argument
103 dri_screen->driverPrivate = screen; in nouveau_init_screen2()
106 ret = nouveau_drm_new(dri_screen->fd, &screen->drm); in nouveau_init_screen2()
126 dri_screen->max_gl_compat_version = 12; in nouveau_init_screen2()
130 dri_screen->max_gl_compat_version = 12; in nouveau_init_screen2()
131 dri_screen->max_gl_es1_version = 10; in nouveau_init_screen2()
136 dri_screen->max_gl_compat_version = 13; in nouveau_init_screen2()
137 dri_screen->max_gl_es1_version = 10; in nouveau_init_screen2()
145 dri_screen->extensions = nouveau_screen_extensions; in nouveau_init_screen2()
[all …]
Dnouveau_screen.h35 __DRIscreen *dri_screen; member
Dnouveau_context.c58 __DRIscreen *dri_screen = dri_ctx->driScreenPriv; in nouveau_context_create() local
59 struct nouveau_screen *screen = dri_screen->driverPrivate; in nouveau_context_create()
/external/mesa3d/src/gallium/frontends/dri/
Ddri_screen.h49 struct dri_screen struct
83 __DRIimage * (*lookup_egl_image)(struct dri_screen *ctx, void *handle); argument
94 static inline struct dri_screen * argument
95 dri_screen(__DRIscreen * sPriv) in dri_screen() function
97 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
135 const struct dri_screen *screen,
139 dri_init_options(struct dri_screen *screen);
142 dri_init_screen_helper(struct dri_screen *screen,
146 dri_destroy_screen_helper(struct dri_screen * screen);
Ddri_helpers.c35 dri2_is_opencl_interop_loaded_locked(struct dri_screen *screen) in dri2_is_opencl_interop_loaded_locked()
44 dri2_load_opencl_interop(struct dri_screen *screen) in dri2_load_opencl_interop()
74 struct dri_screen *driscreen;
81 struct dri_screen *driscreen = dri_screen(_screen); in dri2_fence_get_caps()
107 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence()
130 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence_fd()
137 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_fd()
147 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_from_cl_event()
171 struct dri_screen *driscreen = dri_screen(_screen); in dri2_destroy_fence()
190 struct dri_screen *driscreen = fence->driscreen; in dri2_client_wait_sync()
[all …]
Ddri_screen.c60 dri_fill_st_options(struct dri_screen *screen) in dri_fill_st_options()
112 dri_loader_get_cap(struct dri_screen *screen, enum dri_loader_cap cap) in dri_loader_get_cap()
129 dri_fill_in_modes(struct dri_screen *screen) in dri_fill_in_modes()
336 const struct dri_screen *screen, in dri_fill_st_visual()
465 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
498 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_param()
509 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
526 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
541 dri_postprocessing_init(struct dri_screen *screen) in dri_postprocessing_init()
571 dri_init_options(struct dri_screen *screen) in dri_init_options()
[all …]
Ddri_query_renderer.c15 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_integer()
86 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()
256 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
316 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddri2.c293 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
401 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_textures()
746 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_from_winsys()
1007 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_common()
1091 dri2_create_image_with_modifiers(__DRIscreen *dri_screen, in dri2_create_image_with_modifiers() argument
1097 return dri2_create_image_common(dri_screen, width, height, format, in dri2_create_image_with_modifiers()
1450 struct dri_screen *screen = dri_screen(_screen); in dri2_query_dma_buf_modifiers()
1480 struct dri_screen *screen = dri_screen(_screen); in dri2_query_dma_buf_format_modifier_attribs()
1626 screen = dri_screen(ctx->sPriv)->base.screen; in dri2_blit_image()
1683 struct dri_screen *screen = dri_screen(_screen); in dri2_get_capabilities()
[all …]
DMakefile.sources10 dri_screen.c \
11 dri_screen.h
Ddri_helpers.h60 dri2_yuv_dma_buf_supported(struct dri_screen *screen,
64 dri2_lookup_egl_image(struct dri_screen *screen, void *handle);
Ddri_drawable.c53 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
157 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
195 struct dri_screen *screen = drawable->screen; in dri_destroy_buffer()
518 if (dri_screen(ctx->sPriv)->throttle && in dri_flush()
Ddrisw.c205 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture()
328 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures()
501 struct dri_screen *screen; in drisw_init_screen()
505 screen = CALLOC_STRUCT(dri_screen); in drisw_init_screen()
Dmeson.build32 'dri_screen.c',
33 'dri_screen.h',
Ddri_drawable.h44 struct dri_screen *screen;
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c513 intel_create_image_from_name(__DRIscreen *dri_screen, in intel_create_image_from_name() argument
517 struct intel_screen *screen = dri_screen->driverPrivate; in intel_create_image_from_name()
706 intel_create_image_common(__DRIscreen *dri_screen, in intel_create_image_common() argument
714 struct intel_screen *screen = dri_screen->driverPrivate; in intel_create_image_common()
821 intel_create_image(__DRIscreen *dri_screen, in intel_create_image() argument
826 return intel_create_image_common(dri_screen, width, height, format, use, NULL, 0, in intel_create_image()
893 intel_create_image_with_modifiers(__DRIscreen *dri_screen, in intel_create_image_with_modifiers() argument
899 return intel_create_image_common(dri_screen, width, height, format, 0, in intel_create_image_with_modifiers()
911 __DRIscreen *dri_screen = image->screen->driScrnPriv; in intel_query_image() local
914 dri_screen->fd, in intel_query_image()
[all …]
Dbrw_sync.c443 brw_dri_destroy_fence(__DRIscreen *dri_screen, void *_fence) in brw_dri_destroy_fence() argument
475 brw_dri_get_capabilities(__DRIscreen *dri_screen) in brw_dri_get_capabilities() argument
477 struct intel_screen *screen = dri_screen->driverPrivate; in brw_dri_get_capabilities()
527 brw_dri_get_fence_fd(__DRIscreen *dri_screen, void *_fence) in brw_dri_get_fence_fd() argument
Dbrw_context.c226 __DRIscreen *const dri_screen = brw->screen->driScrnPriv; in intel_flush_front() local
229 if (flushFront(dri_screen) && driDrawable && in intel_flush_front()
242 flushFront(dri_screen)(driDrawable, driDrawable->loaderPrivate); in intel_flush_front()
257 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in brw_display_shared_buffer() local
275 dri_screen->mutableRenderBuffer.loader in brw_display_shared_buffer()
1508 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_update_renderbuffers() local
1518 if (dri_screen->image.loader) in intel_update_renderbuffers()
1589 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_query_dri2_buffers() local
1634 dri_screen->dri2.loader->getBuffersWithFormat(drawable, in intel_query_dri2_buffers()
1866 __DRIscreen *dri_screen = brw->screen->driScrnPriv; in intel_update_image_buffers() local
[all …]
/external/mesa3d/src/glx/
Ddri_glx.c63 struct dri_screen struct
302 CallCreateNewScreen(Display *dpy, int scrn, struct dri_screen *psc, in CallCreateNewScreen()
500 struct dri_screen *psc = (struct dri_screen *) context->psc; in dri_destroy_context()
517 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_bind_context()
539 struct dri_screen *psc = (struct dri_screen *) pcp->base.psc; in dri_unbind_context()
562 struct dri_screen *psc = (struct dri_screen *) base; in dri_create_context()
622 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driDestroyDrawable()
638 struct dri_screen *psc = (struct dri_screen *) base; in driCreateDrawable()
681 struct dri_screen *psc = (struct dri_screen *) pdraw->psc; in driSwapBuffers()
697 struct dri_screen *psc = (struct dri_screen *) pdp->base.psc; in driCopySubBuffer()
[all …]
/external/mesa3d/src/loader/
Dloader_dri3_helper.h127 __DRIscreen *dri_screen; member
194 __DRIscreen *dri_screen,
251 __DRIscreen *dri_screen,
260 __DRIscreen *dri_screen,
279 loader_dri3_close_screen(__DRIscreen *dri_screen);
Dloader_dri3_helper.c172 if (blit_context.ctx && blit_context.cur_screen != draw->dri_screen) { in loader_dri3_blit_context_get()
178 blit_context.ctx = draw->ext->core->createNewContext(draw->dri_screen, in loader_dri3_blit_context_get()
180 blit_context.cur_screen = draw->dri_screen; in loader_dri3_blit_context_get()
369 __DRIscreen *dri_screen, in loader_dri3_drawable_init() argument
387 draw->dri_screen = dri_screen; in loader_dri3_drawable_init()
405 draw->ext->config->configQueryi(draw->dri_screen, in loader_dri3_drawable_init()
408 draw->ext->config->configQueryb(draw->dri_screen, in loader_dri3_drawable_init()
435 draw->ext->image_driver->createNewDrawable(dri_screen, in loader_dri3_drawable_init()
1272 if (!draw->ext->image->queryDmaBufModifiers(draw->dri_screen, in has_supported_modifier()
1282 draw->ext->image->queryDmaBufModifiers(draw->dri_screen, format, in has_supported_modifier()
[all …]
/external/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c866 rendererQuery->queryInteger(dri2_dpy->dri_screen, param, &value) == -1) in dri2_renderer_query_integer()
911 api_mask = dri2_dpy->image_driver->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
913 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
971 dri2_dpy->fence->get_capabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
987 capabilities = dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
1037 dri2_dpy->config->configQueryi(dri2_dpy->dri_screen, in dri2_setup_swap_interval()
1073 dri2_dpy->dri_screen = in dri2_create_screen()
1081 dri2_dpy->dri_screen = in dri2_create_screen()
1087 dri2_dpy->dri_screen = in dri2_create_screen()
1095 dri2_dpy->dri_screen = in dri2_create_screen()
[all …]
Dplatform_x11_dri3.c86 return dri2_egl_display(dri2_ctx->base.Resource.Display)->dri_screen; in egl_dri3_get_dri_screen()
175 dri2_dpy->dri_screen, in dri3_create_surface()
311 dri2_dpy->dri_screen, in dri3_create_image_khr_pixmap()
363 dri2_dpy->dri_screen, in dri3_create_image_khr_pixmap_from_buffers()
496 loader_dri3_close_screen(dri2_dpy->dri_screen); in dri3_close_screen_notify()
Degl_dri2.h176 __DRIscreen *dri_screen; member
543 dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_set_WL_bind_wayland_display()
/external/mesa3d/src/gallium/frontends/omx/tizonia/
Dh264dprc.c175 __DRIscreen *_dri_screen = dri2_egl_dpy->dri_screen; in st_omx_pipe_texture_from_eglimage()
176 struct dri_screen *st_dri_screen = dri_screen(_dri_screen); in st_omx_pipe_texture_from_eglimage()

12