Searched refs:wl_drm (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/vulkan/device-select-layer/
H A Ddevice_select_wayland.c33 struct wl_drm *wl_drm; member in struct:device_select_wayland_info
39 device_select_drm_handle_device(void *data, struct wl_drm *drm, const char *device)
55 device_select_drm_handle_format(void *data, struct wl_drm *drm, uint32_t format)
61 device_select_drm_handle_authenticated(void *data, struct wl_drm *drm)
68 device_select_drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t value)
86 if (strcmp(interface, "wl_drm") == 0) {
87 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface, MIN2(version, 2));
88 wl_drm_add_listener(info->wl_drm, &ds_drm_listener, data);
142 if (info.wl_drm)
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/egl/wayland/wayland-drm/
H A Dwayland-drm.h22 struct wl_drm { struct
37 struct wl_drm *drm;
49 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource)
61 struct wl_drm *
67 wayland_drm_uninit(struct wl_drm *drm);
H A Dwayland-drm.c46 struct wl_drm *drm = buffer->drm;
67 struct wl_drm *drm = wl_resource_get_user_data(resource);
181 struct wl_drm *drm = wl_resource_get_user_data(resource);
201 struct wl_drm *drm = data;
263 struct wl_drm *
268 struct wl_drm *drm;
290 wayland_drm_uninit(struct wl_drm *drm)
/xsrc/external/mit/MesaLib/dist/src/egl/wayland/wayland-drm/
H A Dwayland-drm.h22 struct wl_drm { struct
37 struct wl_drm *drm;
49 wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource)
61 struct wl_drm *
67 wayland_drm_uninit(struct wl_drm *drm);
H A Dwayland-drm.c46 struct wl_drm *drm = buffer->drm;
67 struct wl_drm *drm = wl_resource_get_user_data(resource);
181 struct wl_drm *drm = wl_resource_get_user_data(resource);
202 struct wl_drm *drm = data;
264 struct wl_drm *
269 struct wl_drm *drm;
291 wayland_drm_uninit(struct wl_drm *drm)
/xsrc/external/mit/MesaLib.old/dist/src/gbm/backends/dri/
H A Dgbm_driint.h110 struct wl_drm *wl_drm; member in struct:gbm_dri_device
H A Dgbm_dri.c860 if (!dri->wl_drm) {
865 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer);
/xsrc/external/mit/MesaLib.old/dist/src/vulkan/wsi/
H A Dwsi_common_wayland.c53 struct wl_drm * wl_drm; member in struct:wsi_wl_display_drm
189 drm_handle_device(void *data, struct wl_drm *drm, const char *name)
238 drm_handle_format(void *data, struct wl_drm *drm, uint32_t wl_format)
248 drm_handle_authenticated(void *data, struct wl_drm *drm)
253 drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t capabilities)
322 if (strcmp(interface, "wl_drm") == 0) {
323 assert(display->drm.wl_drm == NULL);
326 display->drm.wl_drm =
328 wl_drm_add_listener(display->drm.wl_drm,
[all...]
/xsrc/external/mit/MesaLib/dist/src/gbm/backends/dri/
H A Dgbm_driint.h120 struct wl_drm *wl_drm; member in struct:gbm_dri_device
H A Dgbm_dri.c975 if (!dri->wl_drm) {
980 wb = wayland_drm_buffer_get(dri->wl_drm, (struct wl_resource *) buffer);
/xsrc/external/mit/MesaLib.old/dist/src/egl/drivers/dri2/
H A Dplatform_wayland.c146 /* wl_drm format codes overlap with DRIImage FourCC codes for all formats
306 if (dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm) {
319 if (dri2_dpy->wl_drm) {
320 dri2_surf->wl_drm_wrapper = wl_proxy_create_wrapper(dri2_dpy->wl_drm);
921 struct wl_drm *wl_drm = local in function:create_wl_buffer
922 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm;
930 ret = wl_drm_create_prime_buffer(wl_drm, fd, width, height, fourcc, 0,
934 struct wl_drm *wl_drm local in function:create_wl_buffer
[all...]
H A Degl_dri2.h51 struct wl_drm;
228 struct wl_drm *wl_server_drm;
229 struct wl_drm *wl_drm; member in struct:dri2_egl_display
286 struct wl_drm *wl_drm_wrapper;
H A Degl_dri2.c1935 * __DRIimages. A wl_drm_buffer stores the wl_drm format code and the
1937 * wl_drm format code to a description of the planes in the buffer
2883 /* We have to share the wl_drm instance with gbm, so gbm can convert
2886 dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm;
/xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri2/
H A Dplatform_wayland.c190 /* wl_drm format codes overlap with DRIImage FourCC codes for all formats
401 if (dri2_dpy->wl_dmabuf || dri2_dpy->wl_drm) {
414 if (dri2_dpy->wl_drm) {
415 dri2_surf->wl_drm_wrapper = wl_proxy_create_wrapper(dri2_dpy->wl_drm);
1042 struct wl_drm *wl_drm = local in function:create_wl_buffer
1043 dri2_surf ? dri2_surf->wl_drm_wrapper : dri2_dpy->wl_drm;
1051 ret = wl_drm_create_prime_buffer(wl_drm, fd, width, height, fourcc, 0,
1055 struct wl_drm *wl_drm local in function:create_wl_buffer
[all...]
H A Degl_dri2.h51 struct wl_drm;
242 struct wl_drm *wl_server_drm;
243 struct wl_drm *wl_drm; member in struct:dri2_egl_display
302 struct wl_drm *wl_drm_wrapper;
H A Degl_dri2.c2306 * __DRIimages. A wl_drm_buffer stores the wl_drm format code and the
2308 * wl_drm format code to a description of the planes in the buffer
3277 /* We have to share the wl_drm instance with gbm, so gbm can convert
3280 dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D9.2.3.rst77 - wayland: Don't rely on static variable for identifying wl_drm buffers
H A D18.3.4.rst129 - egl/wayland-drm: Only announce formats via wl_drm which the driver
H A D21.1.2.rst92 - vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable
H A D9.0.1.rst105 - gbm: Reject buffers that are not wl_drm buffers in gbm_bo_import()
H A D19.1.0.rst1050 - vulkan/wsi: create wl_drm wrapper as needed
1054 - vulkan/wsi: make wl_drm optional
H A D19.0.0.rst1833 - egl/wayland-drm: Only announce formats via wl_drm which the driver
H A D21.2.0.rst2399 - vulkan/device_select: avoid segfault on Wayland if wl_drm is unavailable
4874 - vulkan/wsi/wayland: remove swapchain wl_drm wrapper
H A D21.0.0.rst3115 - egl: fix typo in wl_drm error message
/xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
H A Dv3dv_device.c375 struct wl_drm *wl_drm; member in struct:v3dv_wayland_info
382 v3dv_drm_handle_device(void *data, struct wl_drm *drm, const char *device)
401 wl_drm_authenticate(info->wl_drm, magic);
405 v3dv_drm_handle_format(void *data, struct wl_drm *drm, uint32_t format)
410 v3dv_drm_handle_authenticated(void *data, struct wl_drm *drm)
417 v3dv_drm_handle_capabilities(void *data, struct wl_drm *drm, uint32_t value)
436 if (strcmp(interface, "wl_drm") == 0) {
437 info->wl_drm = wl_registry_bind(registry, name, &wl_drm_interface,
439 wl_drm_add_listener(info->wl_drm,
[all...]

Completed in 44 milliseconds

12