Home
last modified time | relevance | path

Searched refs:dri2_dpy (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_wayland.c62 roundtrip(struct dri2_egl_display *dri2_dpy) in roundtrip() argument
67 callback = wl_display_sync(dri2_dpy->wl_dpy); in roundtrip()
69 wl_proxy_set_queue((struct wl_proxy *) callback, dri2_dpy->wl_queue); in roundtrip()
71 ret = wl_display_dispatch_queue(dri2_dpy->wl_dpy, dri2_dpy->wl_queue); in roundtrip()
107 struct dri2_egl_display *dri2_dpy = in resize_callback() local
110 (*dri2_dpy->flush->invalidate)(dri2_surf->dri_drawable); in resize_callback()
121 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in dri2_create_surface() local
170 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface()
183 dri2_dpy->core->destroyDrawable(dri2_surf->dri_drawable); in dri2_create_surface()
208 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in dri2_destroy_surface() local
[all …]
Dplatform_x11.c43 swrastCreateDrawable(struct dri2_egl_display * dri2_dpy, in swrastCreateDrawable() argument
52 dri2_surf->gc = xcb_generate_id(dri2_dpy->conn); in swrastCreateDrawable()
54 xcb_create_gc(dri2_dpy->conn, dri2_surf->gc, dri2_surf->drawable, mask, &function); in swrastCreateDrawable()
56 dri2_surf->swapgc = xcb_generate_id(dri2_dpy->conn); in swrastCreateDrawable()
60 xcb_create_gc(dri2_dpy->conn, dri2_surf->swapgc, dri2_surf->drawable, mask, valgc); in swrastCreateDrawable()
82 swrastDestroyDrawable(struct dri2_egl_display * dri2_dpy, in swrastDestroyDrawable() argument
85 xcb_free_gc(dri2_dpy->conn, dri2_surf->gc); in swrastDestroyDrawable()
86 xcb_free_gc(dri2_dpy->conn, dri2_surf->swapgc); in swrastDestroyDrawable()
95 struct dri2_egl_display *dri2_dpy = dri2_egl_display(dri2_surf->base.Resource.Display); in swrastGetDrawableInfo() local
102 cookie = xcb_get_geometry (dri2_dpy->conn, dri2_surf->drawable); in swrastGetDrawableInfo()
[all …]
Dplatform_drm.c92 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in dri2_create_surface() local
124 (*dri2_dpy->dri2->createNewDrawable) (dri2_dpy->dri_screen, in dri2_create_surface()
153 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in dri2_destroy_surface() local
160 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in dri2_destroy_surface()
169 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in dri2_destroy_surface()
181 struct dri2_egl_display *dri2_dpy = in get_back_bo() local
199 dri2_surf->back->bo = gbm_bo_create(&dri2_dpy->gbm_dri->base.base, in get_back_bo()
207 dri2_dpy->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_NAME, &name); in get_back_bo()
208 dri2_dpy->image->queryImage(bo->image, __DRI_IMAGE_ATTRIB_STRIDE, &pitch); in get_back_bo()
223 struct dri2_egl_display *dri2_dpy = in get_aux_bo() local
[all …]
Degl_dri2.c118 struct dri2_egl_display *dri2_dpy; in dri2_add_config() local
128 dri2_dpy = disp->DriverData; in dri2_add_config()
136 while (dri2_dpy->core->indexConfigAttrib(dri_config, i++, &attrib, &value)) { in dri2_add_config()
265 if (dri2_dpy->swap_available) { in dri2_add_config()
334 dri2_bind_extensions(struct dri2_egl_display *dri2_dpy, in dri2_bind_extensions() argument
346 field = ((char *) dri2_dpy + matches[j].offset); in dri2_bind_extensions()
355 field = ((char *) dri2_dpy + matches[j].offset); in dri2_bind_extensions()
369 struct dri2_egl_display *dri2_dpy = disp->DriverData; in dri2_open_driver() local
381 dri2_dpy->driver = NULL; in dri2_open_driver()
383 for (p = search_paths; p < end && dri2_dpy->driver == NULL; p = next + 1) { in dri2_open_driver()
[all …]
Dplatform_android.c113 struct dri2_egl_display *dri2_dpy = in droid_alloc_local_buffer() local
121 dri2_dpy->dri2->allocateBuffer(dri2_dpy->dri_screen, att, format, in droid_alloc_local_buffer()
131 struct dri2_egl_display *dri2_dpy = in droid_free_local_buffers() local
137 dri2_dpy->dri2->releaseBuffer(dri2_dpy->dri_screen, in droid_free_local_buffers()
149 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in droid_create_surface() local
183 (*dri2_dpy->dri2->createNewDrawable)(dri2_dpy->dri_screen, in droid_create_surface()
232 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in droid_destroy_surface() local
247 (*dri2_dpy->core->destroyDrawable)(dri2_surf->dri_drawable); in droid_destroy_surface()
258 struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); in droid_swap_buffers() local
271 (*dri2_dpy->flush->flush)(dri2_surf->dri_drawable); in droid_swap_buffers()
[all …]
Degl_dri2.h206 struct dri2_egl_display *dri2_dpy; member