summaryrefslogtreecommitdiff
path: root/lib/igt_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_fb.h')
-rw-r--r--lib/igt_fb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/igt_fb.h b/lib/igt_fb.h
index 9f027deb..8c683db5 100644
--- a/lib/igt_fb.h
+++ b/lib/igt_fb.h
@@ -38,6 +38,12 @@
#include "igt_color_encoding.h"
+/*
+ * Internal format to denote a buffer compatible with pixman's
+ * floating point format. Range [0-1].
+ */
+#define IGT_FORMAT_FLOAT fourcc_code('I', 'G', 'F', 'x')
+
/**
* igt_fb_t:
* @fb_id: KMS ID of the framebuffer