OSDN Git Service

minigbm: Fix the flag situation
authorGurchetan Singh <gurchetansingh@chromium.org>
Mon, 12 Sep 2016 23:21:29 +0000 (16:21 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Mon, 17 Oct 2016 19:54:58 +0000 (12:54 -0700)
commit56662da3d05ee9bc13c19d071df6709a492d7e30
tree8f3c6d325f69917e75c913d07995cd3890cb9679
parent2e786ad60038a7c772006e3190fcb8bcf1ff267d
minigbm: Fix the flag situation

FrameBufferSurface.cpp (used by SurfaceFlinger) requires
GRALLOC_USAGE_HW_FB and GRALLOC_USAGE_HW_COMPOSER flags.

It's annoying to update so many flags in driver-supported lists, and
difficult to read.  Let's remove redundant flags and try to keep the
ones that one have a distinct and granular meaning.

CQ-DEPEND=CL:362062

Change-Id: I6e1974b02e90a4a98c350867d71050fee728ce3a
Reviewed-on: https://chromium-review.googlesource.com/392546
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
cros_gralloc/cros_gralloc_helpers.cc
drv.h
i915.c
mediatek.c
rockchip.c
tegra.c