OSDN Git Service

minigbm: standardize naming of buffer creation flags
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 28 Sep 2017 23:40:52 +0000 (16:40 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Tue, 3 Oct 2017 00:27:17 +0000 (17:27 -0700)
commita1892b2800a5847525d010d6245cbcc1776c1bea
tree1288f255cc047befd90f3c333d49a934aaf36772
parent60ee5833b16182702cafce54278721b635f3be89
minigbm: standardize naming of buffer creation flags

We use the terms "flags" and "usage" interchangeably in this repo,
since they essentally mean the same thing.  However, let's be a
little more consistent since it's kind of confusing, especially
when buffer map flags come to play. Let's:

- refer to everything in the drv_* layer as use_flags
- refer to everything in the gbm/gralloc layers as
  usages

BUG=chromium:764871
TEST=emerge-eve {arc-cros-gralloc, minigbm}

Change-Id: If987d72369b895f38cde87e50ce1080f78f2a084
Reviewed-on: https://chromium-review.googlesource.com/691423
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
21 files changed:
amdgpu.c
cros_gralloc/cros_gralloc_driver.cc
cros_gralloc/cros_gralloc_handle.h
cros_gralloc/cros_gralloc_types.h
cros_gralloc/gralloc0/gralloc0.cc
drv.c
drv.h
drv_priv.h
exynos.c
gbm.c
gbm_helpers.c
gbm_helpers.h
helpers.c
helpers.h
i915.c
mediatek.c
rockchip.c
tegra.c
vc4.c
vgem.c
virtio_gpu.c