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>
This commit is contained in:
Daniel Vetter
2014-03-26 09:06:11 +01:00
parent 0b3019733b
commit 57d7db8cf8
5 changed files with 559 additions and 475 deletions
+6 -4
View File
@@ -40,9 +40,11 @@ libintel_tools_la_SOURCES = \
rendercopy.h \
intel_reg_map.c \
intel_iosf.c \
igt_kms.c \
igt_kms.h \
igt_core.c \
igt_core.h \
igt_kms.c \
igt_kms.h \
igt_fb.c \
igt_fb.h \
igt_core.c \
igt_core.h \
$(NULL)