diff options
author | Ander Conselvan de Oliveira <[email protected]> | 2013-07-18 15:11:23 +0300 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2013-08-07 10:37:58 -0700 |
commit | 331a8fa41d174c74afe58f43a5943627398eac6b (patch) | |
tree | 972c6bdd468c9f317ea19d0ac92bfaaf5da729ba /src/egl/main/eglapi.h | |
parent | 79b868fea137bea095b64bd14cb174ca8af98705 (diff) |
gallium-egl: Simplify native_wayland_drm_bufmgr_helper interface
The helper provides a series of functions to easy the implementation
of the WL_bind_wayland_display extension on different platforms. But
even with the helpers there was still a bit of duplicated code between
platforms, with the drm authentication being the only part that
differs.
This patch changes the bufmgr interface to provide a self contained
object with a create function that takes a drm authentication callback
as an argument. That way all the helper functions are made static and
the "_helper" suffix was removed from the sources file name.
This change also removes the mix of Wayland client and server code in
the wayland drm platform source file. All the uses of libwayland-server
are now contained in native_wayland_drm_bufmgr.c.
Changes to the drm platform are only compile tested.
Signed-off-by: Ander Conselvan de Oliveira <[email protected]>
Diffstat (limited to 'src/egl/main/eglapi.h')
0 files changed, 0 insertions, 0 deletions