diff options
author | Gurchetan Singh <gurchetansingh@chromium.org> | 2017-03-02 09:48:49 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-03-08 22:27:41 -0800 |
commit | 2a30f8a988418fa09cb8748585e397ca5b856f91 (patch) | |
tree | c388f7d53a42320f84b0366181789e28615ee396 /drv.h | |
parent | bc7dc78e795caa97ad26045b9247f1e0584e69ba (diff) |
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>
Diffstat (limited to 'drv.h')
-rw-r--r-- | drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ extern "C" { #define BO_USE_HW_CAMERA_READ (1ull << 14) #define BO_USE_HW_CAMERA_ZSL (1ull << 15) #define BO_USE_RENDERSCRIPT (1ull << 16) +#define BO_USE_TEXTURE (1ull << 17) /* This is our extension to <drm_fourcc.h>. We need to make sure we don't step * on the namespace of already defined formats, which can be done by using invalid |