surface: fix geometry (size, layout) of grayscale surfaces.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 14 May 2014 11:33:07 +0000 (13:33 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 2 Jun 2014 17:30:43 +0000 (19:30 +0200)
commit18d0aee33fd4a32f846475cf31a2be6499b17b4b
treecdfe715b7d24a79c8908cc77f85b8bca040c0232
parent3afe0514162332e923092000940ee8e99979a817
surface: fix geometry (size, layout) of grayscale surfaces.

Fix size of the allocated buffer used to represent grayscale (Y800)
surfaces. Only the luminance component is needed, thus implying a
single plane.

Likewise, update render routines to only submit the first plane.
The existing render kernels readily only care about that single
plane.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
src/gen8_render.c
src/i965_drv_video.c
src/i965_render.c