lib: refactor kmstest_create_fb
authorImre Deak <imre.deak@intel.com>
Fri, 24 May 2013 14:26:54 +0000 (17:26 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 5 Jun 2013 22:43:51 +0000 (01:43 +0300)
commitf68d964c57c9229cad7321463e40f14b3974ec5d
tree61d35617b4e102b128d45d40468ca277a9af1b93
parentbfb0cdd668e6ecea56125586f5ddf1cf62cc0383
lib: refactor kmstest_create_fb

Factor out parts that will be used by an upcoming patch adding
kmstest_create_fb2.

Also call the fb paint functions directly, there is not much
point in passing a function pointer for that.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
lib/drmtest.c
lib/drmtest.h
tests/kms_flip.c
tests/testdisplay.c