OSDN Git Service

minigbm: add BO_USE_TEXTURE
authorGurchetan Singh <gurchetansingh@chromium.org>
Thu, 2 Mar 2017 17:48:49 +0000 (09:48 -0800)
committerchrome-bot <chrome-bot@chromium.org>
Thu, 9 Mar 2017 06:27:41 +0000 (22:27 -0800)
commit2a30f8a988418fa09cb8748585e397ca5b856f91
treec388f7d53a42320f84b0366181789e28615ee396
parentbc7dc78e795caa97ad26045b9247f1e0584e69ba
minigbm: add BO_USE_TEXTURE

Many people have requested re-adding BO_USE_TEXTURE as a flag
since:

BO_USE_RENDERING means the buffer will be used as a render target.
BO_USE_TEXTURE means the buffer will be textured from.

BUG=chromium:616275
TEST=minigbm/arc-cros-gralloc compiles

Change-Id: I63be6682cf4e2415dc42c78b2cab3ad694bcd818
Reviewed-on: https://chromium-review.googlesource.com/448251
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