lib: Introduce a new helper kmstest_create_color_fb()
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 6 Feb 2014 19:04:12 +0000 (19:04 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Tue, 11 Feb 2014 13:50:16 +0000 (13:50 +0000)
commita1df2f4363d1ed770db36fb8aba14e65087f11c3
treed83801615a93f83395c0b1565d1bf9b1104e09ed
parentf0e0b2ae658c44461d00adddea6cc5bba711966d
lib: Introduce a new helper kmstest_create_color_fb()

We need to create fbs of a single color in a few places. Time to
abstract that out to a helper function.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
lib/igt_kms.c
lib/igt_kms.h