summaryrefslogtreecommitdiff
path: root/drv.h
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2017-03-02 09:48:49 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-08 22:27:41 -0800
commit2a30f8a988418fa09cb8748585e397ca5b856f91 (patch)
treec388f7d53a42320f84b0366181789e28615ee396 /drv.h
parentbc7dc78e795caa97ad26045b9247f1e0584e69ba (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drv.h b/drv.h
index 355ea45..ff33c92 100644
--- a/drv.h
+++ b/drv.h
@@ -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