Home
last modified time | relevance | path

Searched refs:dri_drawable (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/gallium/include/frontend/
Ddrisw_api.h8 struct dri_drawable;
15 void (*get_image) (struct dri_drawable *dri_drawable,
18 void (*put_image) (struct dri_drawable *dri_drawable,
20 void (*put_image2) (struct dri_drawable *dri_drawable,
22 void (*put_image_shm) (struct dri_drawable *dri_drawable,
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_drawable.h40 struct dri_drawable struct
69 struct dri_drawable *drawable, argument
73 void (*update_drawable_info)(struct dri_drawable *drawable); argument
76 struct dri_drawable *drawable, argument
79 void (*update_tex_buffer)(struct dri_drawable *drawable, argument
83 struct dri_drawable *drawable); argument
86 static inline struct dri_drawable *
87 dri_drawable(__DRIdrawable * driDrawPriv) in dri_drawable() function
89 return (struct dri_drawable *) (driDrawPriv) in dri_drawable()
104 dri_drawable_get_format(struct dri_drawable *drawable,
Ddri_drawable.c51 struct dri_drawable *drawable = in dri_st_framebuffer_validate()
52 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_validate()
123 struct dri_drawable *drawable = in dri_st_framebuffer_flush_front()
124 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_flush_front()
138 struct dri_drawable *drawable = in dri_st_framebuffer_flush_swapbuffers()
139 (struct dri_drawable *) stfbi->st_manager_private; in dri_st_framebuffer_flush_swapbuffers()
156 struct dri_drawable *drawable = NULL; in dri_create_buffer()
161 drawable = CALLOC_STRUCT(dri_drawable); in dri_create_buffer()
192 struct dri_drawable *drawable = dri_drawable(dPriv); in dri_destroy_buffer()
218 struct dri_drawable *drawable, in dri_drawable_validate_att()
[all …]
Dkopper.c56 struct dri_drawable base;
82 struct dri_drawable *drawable = dri_drawable(dPriv); in kopper_invalidate_drawable()
207 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_present_texture()
214 dri_image_drawable_get_buffers(struct dri_drawable *drawable,
486 struct dri_drawable *drawable, in kopper_allocate_textures()
496 __DRIdrawable *dri_drawable = drawable->dPriv; in kopper_allocate_textures() local
523 dri_drawable->w = texture->width0; in kopper_allocate_textures()
524 dri_drawable->h = texture->height0; in kopper_allocate_textures()
534 dri_drawable->w = texture->width0; in kopper_allocate_textures()
535 dri_drawable->h = texture->height0; in kopper_allocate_textures()
[all …]
Ddrisw.c149 drisw_update_drawable_info(struct dri_drawable *drawable) in drisw_update_drawable_info()
158 drisw_get_image(struct dri_drawable *drawable, in drisw_get_image()
170 drisw_put_image(struct dri_drawable *drawable, in drisw_put_image()
179 drisw_put_image2(struct dri_drawable *drawable, in drisw_put_image2()
189 drisw_put_image_shm(struct dri_drawable *drawable, in drisw_put_image_shm()
204 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_present_texture()
216 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_invalidate_drawable()
241 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_swap_buffers()
279 struct dri_drawable *drawable = dri_drawable(dPriv); in drisw_copy_sub_buffer()
313 struct dri_drawable *drawable, in drisw_flush_frontbuffer()
[all …]
Ddri2.c81 struct dri_drawable *drawable = dri_drawable(dPriv); in dri2_invalidate_drawable()
102 dri2_drawable_get_buffers(struct dri_drawable *drawable, in dri2_drawable_get_buffers()
106 __DRIdrawable *dri_drawable = drawable->dPriv; in dri2_drawable_get_buffers() local
194 buffers = loader->getBuffersWithFormat(dri_drawable, in dri2_drawable_get_buffers()
195 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
197 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
200 buffers = loader->getBuffers(dri_drawable, in dri2_drawable_get_buffers()
201 &dri_drawable->w, &dri_drawable->h, in dri2_drawable_get_buffers()
203 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
213 dri_image_drawable_get_buffers(struct dri_drawable *drawable,
[all …]
Ddri_context.c291 struct dri_drawable *draw = dri_drawable(driDrawPriv); in dri_make_current()
292 struct dri_drawable *read = dri_drawable(driReadPriv); in dri_make_current()
Dmeson.build26 'dri_drawable.c',
27 'dri_drawable.h',
Ddri_context.h43 struct dri_drawable;
Ddri_screen.h47 struct dri_drawable;
/third_party/mesa3d/src/gallium/winsys/sw/dri/
Ddri_sw_winsys.c249 struct dri_drawable *dri_drawable = (struct dri_drawable *)context_private; in dri_sw_displaytarget_display() local
277 … dri_sw_ws->lf->put_image_shm(dri_drawable, dri_sw_dt->shmid, dri_sw_dt->data, offset, offset_x, in dri_sw_displaytarget_display()
283 dri_sw_ws->lf->put_image2(dri_drawable, data, in dri_sw_displaytarget_display()
286 dri_sw_ws->lf->put_image(dri_drawable, data, width, height); in dri_sw_displaytarget_display()
/third_party/mesa3d/docs/relnotes/
D18.0.2.rst50 dri_drawable->update_drawable_info has been called for a new
78 - st/dri: Fix dangling pointer to a destroyed dri_drawable
103 - Revert "st/dri: Fix dangling pointer to a destroyed dri_drawable"
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_x11.c370 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_x11_create_surface()
427 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_x11_destroy_surface()
884 dri2_dpy->flush->flush(dri2_surf->dri_drawable); in dri2_copy_region()
886 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_copy_region()
948 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in dri2_x11_swap_buffers_msc()
960 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_x11_swap_buffers()
1018 dri2_dpy->kopper->setSwapInterval(dri2_surf->dri_drawable, interval); in dri2_x11_swap_interval()
1040 dri2_dpy->flush->flush(dri2_surf->dri_drawable); in dri2_x11_copy_buffers()
1042 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_x11_copy_buffers()
1205 dri2_dpy->kopper->setSwapInterval(dri2_surf->dri_drawable, interval); in dri2_kopper_swap_interval()
[all …]
Degl_dri2.c1755 dri2_surf->dri_drawable = in dri2_create_drawable()
1770 dri2_surf->dri_drawable = createNewDrawable(dri2_dpy->dri_screen, in dri2_create_drawable()
1773 if (dri2_surf->dri_drawable == NULL) in dri2_create_drawable()
1924 return dri2_surf->dri_drawable; in dri2_surface_get_dri_drawable()
1984 __DRIdrawable *dri_drawable = dri2_dpy->vtbl->get_dri_drawable(draw); in dri2_flush_drawable_for_swapbuffers() local
2002 dri_drawable, in dri2_flush_drawable_for_swapbuffers()
2007 dri2_dpy->flush->flush(dri_drawable); in dri2_flush_drawable_for_swapbuffers()
2016 __DRIdrawable *dri_drawable = dri2_dpy->vtbl->get_dri_drawable(surf); in dri2_swap_buffers() local
2029 dri2_dpy->buffer_damage->set_damage_region(dri_drawable, 0, NULL); in dri2_swap_buffers()
2039 __DRIdrawable *dri_drawable = dri2_dpy->vtbl->get_dri_drawable(surf); in dri2_swap_buffers_with_damage() local
[all …]
Dplatform_drm.c211 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_drm_destroy_surface()
429 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_drm_swap_buffers()
449 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in dri2_drm_swap_buffers()
Dplatform_ohos.c453 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in ohos_destroy_surface()
688 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in ohos_swap_buffers()
994 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in ohos_display_shared_buffer()
Dplatform_surfaceless.c164 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in surfaceless_destroy_surface()
Dplatform_device.c171 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in device_destroy_surface()
Dplatform_android.c778 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in droid_destroy_surface()
1019 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in droid_swap_buffers()
1452 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in droid_display_shared_buffer()
Dplatform_wayland.c405 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in resize_callback()
799 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_wl_destroy_surface()
849 dri2_dpy->kopper->setSwapInterval(dri2_surf->dri_drawable, interval); in dri2_wl_swap_interval()
1593 dri2_dpy->flush->invalidate(dri2_surf->dri_drawable); in dri2_wl_swap_buffers_with_damage()
2586 dri2_dpy->core->swapBuffers(dri2_surf->dri_drawable); in dri2_wl_swrast_swap_buffers()
Degl_dri2.h314 __DRIdrawable *dri_drawable; member
/third_party/mesa3d/src/glx/
Ddri3_glx.c202 dri_draw = pdraw->loader_drawable.dri_drawable; in dri3_bind_context()
207 dri_read = pread->loader_drawable.dri_drawable; in dri3_bind_context()
686 psc->f->invalidate(pdraw->loader_drawable.dri_drawable); in dri3_bind_tex_image()
693 pdraw->loader_drawable.dri_drawable); in dri3_bind_tex_image()
712 pdraw->loader_drawable.dri_drawable); in dri3_release_tex_image()
/third_party/mesa3d/src/loader/
Dloader_dri3_helper.c355 draw->ext->core->destroyDrawable(draw->dri_drawable); in loader_dri3_drawable_fini()
436 draw->dri_drawable = in loader_dri3_drawable_init()
441 if (!draw->dri_drawable) in loader_dri3_drawable_init()
447 draw->ext->core->destroyDrawable(draw->dri_drawable); in loader_dri3_drawable_init()
488 draw->ext->flush->invalidate(draw->dri_drawable); in dri3_handle_present_event()
802 draw->ext->flush->flush_with_flags(dri_context, draw->dri_drawable, in loader_dri3_flush()
1203 draw->ext->flush->invalidate(draw->dri_drawable); in loader_dri3_swap_buffers_msc()
2303 draw->ext->flush->invalidate(draw->dri_drawable); in loader_dri3_update_drawable_geometry()
Dloader_dri3_helper.h129 __DRIdrawable *dri_drawable; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_device.c458 static void lvp_get_image(struct dri_drawable *dri_drawable, in lvp_get_image() argument
465 static void lvp_put_image(struct dri_drawable *dri_drawable, in lvp_put_image() argument
471 static void lvp_put_image2(struct dri_drawable *dri_drawable, in lvp_put_image2() argument

12