uterm: video: add uterm_display_get_buffer()
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 13 Jan 2013 15:58:31 +0000 (16:58 +0100)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 13 Jan 2013 15:58:31 +0000 (16:58 +0100)
commit6cae946505d4ce262e7787c15905d459e922b73b
tree152bb094c4484b146ca931f98c12a44bb5807e38
parent0fc59ef4d7a093f2a7975d64317a57615f81dced
uterm: video: add uterm_display_get_buffer()

Until now we required external renderers to use the blit/blend helpers.
However, this seems hardly reasonable now so we provide a way to retrieve
the 2D buffer via the public API.

This is limited to xrgb32 and rgb16, other formats are not exported for
now (and probably not used, yet?). The 3D backends do not support that so
use the blit/blend helpers or OpenGL.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/uterm_fbdev_internal.h
src/uterm_fbdev_video.c
src/uterm_video.c
src/uterm_video.h
src/uterm_video_drm.c
src/uterm_video_dumb.c
src/uterm_video_internal.h