summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/wayland
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2012-07-19 16:07:55 -0400
committerKristian Høgsberg <[email protected]>2012-07-19 16:11:06 -0400
commita8c092266e9885f3370bbeae15bd80ebf035d05d (patch)
tree081cc1f9719bc31a92570ef9d6a7656b37b8b0bc /src/gallium/state_trackers/egl/wayland
parentfbe3fa74e5cdaf02f3738da7d6052e1f1fd7bbf2 (diff)
gallium-egl: Move wayland query_buffer implementation
Move it to native_wayland_drm_bufmgr_helper.c which only gets compiled when wayland is enabled and which already includes the right headers. Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/egl/wayland')
-rw-r--r--src/gallium/state_trackers/egl/wayland/native_drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/wayland/native_drm.c b/src/gallium/state_trackers/egl/wayland/native_drm.c
index e3bd628675e..006b3d507af 100644
--- a/src/gallium/state_trackers/egl/wayland/native_drm.c
+++ b/src/gallium/state_trackers/egl/wayland/native_drm.c
@@ -290,7 +290,8 @@ wayland_drm_display_unbind_wayland_display(struct native_display *ndpy,
static struct native_display_wayland_bufmgr wayland_drm_display_wayland_bufmgr = {
wayland_drm_display_bind_wayland_display,
wayland_drm_display_unbind_wayland_display,
- egl_g3d_wl_drm_common_wl_buffer_get_resource
+ egl_g3d_wl_drm_common_wl_buffer_get_resource,
+ egl_g3d_wl_drm_common_query_buffer
};