lib: extract igt_fb library
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Mar 2014 08:06:11 +0000 (09:06 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Mar 2014 17:50:27 +0000 (18:50 +0100)
commit57d7db8cf8c407541d1ed57348a6f468c2b73577
treedaaf3e01b66f806d350ebe74b2fe23eaa13492d2
parent0b3019733bce0eb7ec4bce39e4ee470f98639c36
lib: extract igt_fb library

Stuff all the framebuffer creation, cairo and drm fourcc format
handling in there. This gives us a very clear cut in the headers where
igt_fb.c only needs to include igt_fb.h, and igt_kms.c includes both
(well igt_kms.h pulls in igt_fb.h since we always need this).

The aim here is to add api docs for igt_fb since that part of the kms
library seems fairly stable already, while all the mode setting and
iteration is still a bit in flux.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
lib/Makefile.sources
lib/igt_fb.c [new file with mode: 0644]
lib/igt_fb.h [new file with mode: 0644]
lib/igt_kms.c
lib/igt_kms.h