tests: cope with new vaQuerySurfaceAttributes() API.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 27 May 2013 17:27:36 +0000 (19:27 +0200)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 7 Jun 2013 07:37:50 +0000 (15:37 +0800)
commitffb82f3a85e424b869c2c1ce48251b3305e2cd61
tree9bf9079e91fde498165528fe94d2d5ef5ba079cf
parent19bb972bf4ba5b5369164072e2e8cd77ae6e65a4
tests: cope with new vaQuerySurfaceAttributes() API.

Also factor the code to check whether a specific image format or
surface attribute exists. Cache the list of supported image formats
and surface attributes.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/putsurface/putsurface_common.c