lib/igt_draw: add support for RGB565 and XRGB2101010

We need to test those pixel formats on the FBC code, so let's make
sure the drawing library works on them first.

v2: Update the gtkdoc (Daniel).

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
Paulo Zanoni
2015-08-03 14:41:35 -03:00
parent a1fce7490c
commit caaf3b869f
4 changed files with 212 additions and 79 deletions
+1 -1
View File
@@ -908,7 +908,7 @@ static void *busy_thread_func(void *data)
igt_draw_rect(drm.fd, drm.bufmgr, NULL, busy_thread.handle,
busy_thread.size, busy_thread.stride,
IGT_DRAW_BLT, 0, 0, busy_thread.width,
busy_thread.height, 0xFF);
busy_thread.height, 0xFF, 32);
pthread_exit(0);
}