Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_screen.h50 struct dri_screen struct
81 __DRIimage * (*lookup_egl_image)(struct dri_screen *ctx, void *handle); argument
82 boolean (*validate_egl_image)(struct dri_screen *ctx, void *handle); argument
83 __DRIimage * (*lookup_egl_image_validated)(struct dri_screen *ctx, void *handle); argument
101 static inline struct dri_screen * argument
102 dri_screen(__DRIscreen * sPriv) in dri_screen() function
104 return (struct dri_screen *)sPriv->driverPrivate; in dri_screen()
108 dri_screen_get_kopper(struct dri_screen *screen) in dri_screen_get_kopper()
156 const struct dri_screen *screen,
160 dri_init_options(struct dri_screen *screen);
[all …]
Ddri_helpers.c34 dri2_is_opencl_interop_loaded_locked(struct dri_screen *screen) in dri2_is_opencl_interop_loaded_locked()
43 dri2_load_opencl_interop(struct dri_screen *screen) in dri2_load_opencl_interop()
73 struct dri_screen *driscreen;
80 struct dri_screen *driscreen = dri_screen(_screen); in dri2_fence_get_caps()
106 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence()
129 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence_fd()
136 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_fd()
146 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_from_cl_event()
170 struct dri_screen *driscreen = dri_screen(_screen); in dri2_destroy_fence()
189 struct dri_screen *driscreen = fence->driscreen; in dri2_client_wait_sync()
[all …]
Ddri_helpers.h59 dri2_yuv_dma_buf_supported(struct dri_screen *screen,
63 dri2_lookup_egl_image(struct dri_screen *screen, void *handle);
66 dri2_validate_egl_image(struct dri_screen *screen, void *handle);
69 dri2_lookup_egl_image_validated(struct dri_screen *screen, void *handle);
Ddri_screen.c59 dri_init_options(struct dri_screen *screen) in dri_init_options()
70 dri_loader_get_cap(struct dri_screen *screen, enum dri_loader_cap cap) in dri_loader_get_cap()
378 dri_fill_in_modes(struct dri_screen *screen) in dri_fill_in_modes()
594 const struct dri_screen *screen, in dri_fill_st_visual()
722 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_get_egl_image()
762 struct dri_screen *screen = (struct dri_screen *)smapi; in dri_validate_egl_image()
775 dri_destroy_screen_helper(struct dri_screen * screen) in dri_destroy_screen_helper()
792 struct dri_screen *screen = dri_screen(sPriv); in dri_destroy_screen()
809 dri_postprocessing_init(struct dri_screen *screen) in dri_postprocessing_init()
839 dri_init_screen_helper(struct dri_screen *screen, in dri_init_screen_helper()
Ddri2.c300 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_buffer()
442 struct dri_screen *screen = dri_screen(sPriv); in dri2_allocate_textures()
850 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_from_winsys()
1018 struct pipe_screen *pscreen = dri_screen(_screen)->base.screen; in dri2_get_modifier_num_planes()
1115 struct dri_screen *screen = dri_screen(_screen); in dri2_create_image_common()
1203 dri2_create_image_with_modifiers(__DRIscreen *dri_screen, in dri2_create_image_with_modifiers() argument
1209 return dri2_create_image_common(dri_screen, width, height, format, in dri2_create_image_with_modifiers()
1215 dri2_create_image_with_modifiers2(__DRIscreen *dri_screen, in dri2_create_image_with_modifiers2() argument
1221 return dri2_create_image_common(dri_screen, width, height, format, use, in dri2_create_image_with_modifiers2()
1594 struct dri_screen *screen = dri_screen(_screen); in dri2_query_dma_buf_modifiers()
[all …]
Ddri_query_renderer.c86 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_integer()
162 struct dri_screen *screen = dri_screen(_screen); in dri2_query_renderer_string()
Ddri_context.c52 struct dri_screen *screen = dri_screen(sPriv); in dri_create_context()
263 struct dri_screen *screen = dri_screen(cPriv->driScreenPriv); in dri_unbind_context()
321 struct dri_screen *screen = dri_screen(sPriv); in dri_get_current()
Ddrisw.c205 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture()
242 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_swap_buffers()
280 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_copy_sub_buffer()
349 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_allocate_textures()
520 struct dri_screen *screen; in drisw_init_screen()
524 screen = CALLOC_STRUCT(dri_screen); in drisw_init_screen()
Dkopper.c63 struct dri_screen base;
132 struct dri_screen *screen; in kopper_init_screen()
208 struct dri_screen *screen = dri_screen(drawable->sPriv); in drisw_present_texture()
302 __DRIscreen *dri_screen, in dri3_create_image_from_buffers() argument
324 ret = image->createImageFromDmaBufs2(dri_screen, in dri3_create_image_from_buffers()
345 __DRIscreen *dri_screen, in dri3_create_image() argument
365 image_planar = image->createImageFromFds(dri_screen, in dri3_create_image()
490 struct dri_screen *screen = dri_screen(drawable->sPriv); in kopper_allocate_textures()
695 struct dri_screen *screen = dri_screen(drawable->sPriv); in kopper_present_texture()
979 struct dri_screen *screen = dri_screen(drawable->sPriv); in kopperSetSwapInterval()
Ddri_drawable.c53 struct dri_screen *screen = dri_screen(drawable->sPriv); in dri_st_framebuffer_validate()
155 struct dri_screen *screen = sPriv->driverPrivate; in dri_create_buffer()
193 struct dri_screen *screen = drawable->screen; in dri_destroy_buffer()
514 if (dri_screen(ctx->sPriv)->throttle && in dri_flush()
Dmeson.build32 'dri_screen.c',
33 'dri_screen.h',
Ddri_drawable.h45 struct dri_screen *screen;
/third_party/mesa3d/src/loader/
Dloader_dri3_helper.h141 __DRIscreen *dri_screen; member
209 __DRIscreen *dri_screen,
267 __DRIscreen *dri_screen,
276 __DRIscreen *dri_screen,
295 loader_dri3_close_screen(__DRIscreen *dri_screen);
Dloader_dri3_helper.c167 if (blit_context.ctx && blit_context.cur_screen != draw->dri_screen) { in loader_dri3_blit_context_get()
173 blit_context.ctx = draw->ext->core->createNewContext(draw->dri_screen, in loader_dri3_blit_context_get()
175 blit_context.cur_screen = draw->dri_screen; in loader_dri3_blit_context_get()
382 __DRIscreen *dri_screen, in loader_dri3_drawable_init() argument
401 draw->dri_screen = dri_screen; in loader_dri3_drawable_init()
420 draw->ext->config->configQueryb(draw->dri_screen, in loader_dri3_drawable_init()
430 draw->swap_interval = dri_get_initial_swap_interval(draw->dri_screen, in loader_dri3_drawable_init()
437 draw->ext->image_driver->createNewDrawable(dri_screen, in loader_dri3_drawable_init()
1366 if (!draw->ext->image->queryDmaBufModifiers(draw->dri_screen, in has_supported_modifier()
1376 draw->ext->image->queryDmaBufModifiers(draw->dri_screen, format, in has_supported_modifier()
[all …]
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.c862 rendererQuery->queryInteger(dri2_dpy->dri_screen, param, &value) == -1) in dri2_renderer_query_integer()
907 api_mask = dri2_dpy->image_driver->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
909 api_mask = dri2_dpy->dri2->getAPIMask(dri2_dpy->dri_screen); in dri2_setup_screen()
968 dri2_dpy->fence->get_capabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
984 capabilities = dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_setup_screen()
1034 dri2_dpy->config->configQueryi(dri2_dpy->dri_screen, in dri2_setup_swap_interval()
1070 dri2_dpy->dri_screen = in dri2_create_screen()
1078 dri2_dpy->dri_screen = in dri2_create_screen()
1084 dri2_dpy->dri_screen = in dri2_create_screen()
1092 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()
191 dri2_dpy->dri_screen, in dri3_create_surface()
328 dri2_dpy->dri_screen, in dri3_create_image_khr_pixmap()
380 dri2_dpy->dri_screen, in dri3_create_image_khr_pixmap_from_buffers()
513 loader_dri3_close_screen(dri2_dpy->dri_screen); in dri3_close_screen_notify()
Degl_dri2.h221 __DRIscreen *dri_screen; member
604 dri2_dpy->image->getCapabilities(dri2_dpy->dri_screen); in dri2_set_WL_bind_wayland_display()
Dplatform_ohos.c173 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info()
182 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in ohos_create_image_from_buffer_info()
510 dri2_dpy->image->createImage(dri2_dpy->dri_screen, in get_front_bo()
Dplatform_android.c422 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info()
431 dri2_dpy->dri_screen, buf_info->width, buf_info->height, in droid_create_image_from_buffer_info()
846 dri2_dpy->image->createImage(dri2_dpy->dri_screen, in get_front_bo()
1077 dri2_dpy->image->createImageFromName(dri2_dpy->dri_screen, in droid_create_image_from_name()
Dplatform_surfaceless.c45 dri2_dpy->dri_screen, in surfaceless_alloc_image()
Dplatform_device.c52 dri2_dpy->dri_screen, in device_alloc_image()
Dplatform_wayland.c899 loader_dri_create_image(dri2_dpy->dri_screen, dri2_dpy->image, in create_dri_image_diff_gpu()
956 loader_dri_create_image(dri2_dpy->dri_screen, dri2_dpy->image, in create_dri_image_from_dmabuf_feedback()
994 loader_dri_create_image(dri2_dpy->dri_screen, dri2_dpy->image, in create_dri_image()
Dplatform_drm.c748 dri2_dpy->dri_screen = dri2_dpy->gbm_dri->screen; in dri2_initialize_drm()
/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
DADDING68 frontends/dri/common/dri_screen.c in a proper section, specifying its default value and

12