OSDN Git Service

minigbm: Fix incorrect plane import size
authorGurchetan Singh <gurchetansingh@chromium.org>
Wed, 2 Nov 2016 17:40:51 +0000 (10:40 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Sat, 19 Nov 2016 11:18:21 +0000 (03:18 -0800)
commit2a119342ee6f057b1ec28d1ff6ebd70d42511a3f
tree7885f1eb23ea0b5deec8a5f6d5faa5ddda3b5159
parentfe46031f72c987dada675eff49e2bde3a214cbca
minigbm: Fix incorrect plane import size

We were incorrectly determining the plane size for buffers with
vertical subsampling.  Let's add it here.

BUG=chromium:618516
TEST=graphics_Gbm still passes

Change-Id: I47f3c01dfd2539fc669a017ecb497d754d29de9f
Reviewed-on: https://chromium-review.googlesource.com/406485
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drv.c
drv.h
gbm.c
helpers.c
helpers.h