Paulo Zanoni cf9f48e704 lib: add igt_draw
For all those IGT tests that need an easy way to draw rectangles on
buffers using different methods. Current planned users: FBC and PSR
CRC tests.

There is also a tests/kms_draw_crc program to check if the library is
sane.

v2: - Move the test from lib/tests to tests/ (Daniel).
    - Add igt_require() to filter out the swizzling/tiling methods we
      don't support (Daniel).
    - Simplify reloc handling on the BLT case (Daniel).
    - Document enum igt_draw_method (Daniel).
    - Document igt_draw_get_method_name() (Paulo).
v3: - Add IGT_DRAW_MMAP_WC (Chris).
    - Implement the other trivial swizzling methods (Chris).
    - Remove the gem_sync() calls (Chris).

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2015-05-07 15:11:49 -03:00
..
2014-07-23 16:43:05 +01:00
2015-04-22 18:00:42 +01:00
2014-12-04 10:17:16 +08:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2015-05-05 17:27:49 -03:00
2015-05-05 17:27:49 -03:00
2015-05-07 15:11:49 -03:00
2015-05-07 15:11:49 -03:00
2015-04-14 17:44:34 +01:00
2015-04-26 12:18:15 +01:00
2015-02-25 16:59:22 +00:00
2015-04-16 16:49:46 +03:00
2015-04-08 14:52:37 +03:00
2015-05-07 15:11:49 -03:00
2014-12-04 10:17:16 +08:00
2014-12-04 10:17:16 +08:00
2015-03-25 17:52:11 +00:00
2015-03-25 17:52:11 +00:00