uterm: drm: move display_ops into vdrm object
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 18 Oct 2013 15:17:26 +0000 (17:17 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 18 Oct 2013 15:17:26 +0000 (17:17 +0200)
commitb00dde0bc976d8f65b1ae286a4ae754b092a8da6
treeca56ff77d395d13e6cd62198b575ec32f795a713
parent2d191bd8765fee480c8f7edaf358c61a98a3d3eb
uterm: drm: move display_ops into vdrm object

Instead of passing display-ops to every helper store it in vdrm-objects.
During vdrm-setup we set the pointer and reuse it in all helpers. This
simplifies the function headers and allows calling them from
helper-callbacks without requiring a pointer from the respective user.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/uterm_drm2d_video.c
src/uterm_drm3d_video.c
src/uterm_drm_shared.c
src/uterm_drm_shared_internal.h