OSDN Git Service

minigbm: add the BO_USE_RENDERSCRIPT flag back in
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 4 Aug 2017 01:34:05 +0000 (18:34 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Sun, 6 Aug 2017 05:07:49 +0000 (22:07 -0700)
commit43ba07f7d43e94b5f971f89835972ead7a1ada72
tree578019b8bb42f49047cc134b3e3cb6da598134b5
parent18578eda90ee2b4a46aca5e8fc9c8b9cd4367a12
minigbm: add the BO_USE_RENDERSCRIPT flag back in

Previously, we mapped BO_USE_RENDERSCRIPT to BO_USE_LINEAR,
which made sense at the moment. However, we know have a case
where we need to special things with renderscript buffers on
ARM boards. Let's add back in the flag so we can differentiate
between normal linear buffers and renderscript buffers at map
and unmap time.

BUG=b:38097499
TEST=run cts -m CtsViewTestCases -t android.view.cts.SurfaceViewSyncTests
     passes on 9776.0.0 veyron_minnie

Change-Id: I7f1ee76735280ab6495a2d4af332cce5bc1c1727
Reviewed-on: https://chromium-review.googlesource.com/602735
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
cros_gralloc/gralloc0/gralloc0.cc
drv_priv.h
i915.c