summaryrefslogtreecommitdiff
path: root/drv.h
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2016-11-23 17:32:33 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-12-07 13:02:04 -0800
commit458976feb11a1f54af5954deea6f5fdc7fc24ea6 (patch)
treeb254c35f063a70c28083498be7de90094fa33d92 /drv.h
parent714c689a436b717e1cce8b3834719c3f7855532d (diff)
minigbm: rename DRV_BO_USE_* to BO_USE_*
It's somewhat easier to read. BUG=none TEST=minigbm still builds CQ-DEPEND=CL:416290 Change-Id: I9417caff22ea66e4179fe41d534d8cb9510ef7a3 Reviewed-on: https://chromium-review.googlesource.com/414585 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.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/drv.h b/drv.h
index c567fb9..83d3b6a 100644
--- a/drv.h
+++ b/drv.h
@@ -17,25 +17,25 @@ extern "C" {
#define DRV_MAX_PLANES 4
/* Use flags */
-#define DRV_BO_USE_NONE 0
-#define DRV_BO_USE_SCANOUT (1ull << 0)
-#define DRV_BO_USE_CURSOR (1ull << 1)
-#define DRV_BO_USE_CURSOR_64X64 DRV_BO_USE_CURSOR
-#define DRV_BO_USE_RENDERING (1ull << 2)
-#define DRV_BO_USE_LINEAR (1ull << 3)
-#define DRV_BO_USE_SW_READ_NEVER (1ull << 4)
-#define DRV_BO_USE_SW_READ_RARELY (1ull << 5)
-#define DRV_BO_USE_SW_READ_OFTEN (1ull << 6)
-#define DRV_BO_USE_SW_WRITE_NEVER (1ull << 7)
-#define DRV_BO_USE_SW_WRITE_RARELY (1ull << 8)
-#define DRV_BO_USE_SW_WRITE_OFTEN (1ull << 9)
-#define DRV_BO_USE_EXTERNAL_DISP (1ull << 10)
-#define DRV_BO_USE_PROTECTED (1ull << 11)
-#define DRV_BO_USE_HW_VIDEO_ENCODER (1ull << 12)
-#define DRV_BO_USE_HW_CAMERA_WRITE (1ull << 13)
-#define DRV_BO_USE_HW_CAMERA_READ (1ull << 14)
-#define DRV_BO_USE_HW_CAMERA_ZSL (1ull << 15)
-#define DRV_BO_USE_RENDERSCRIPT (1ull << 16)
+#define BO_USE_NONE 0
+#define BO_USE_SCANOUT (1ull << 0)
+#define BO_USE_CURSOR (1ull << 1)
+#define BO_USE_CURSOR_64X64 BO_USE_CURSOR
+#define BO_USE_RENDERING (1ull << 2)
+#define BO_USE_LINEAR (1ull << 3)
+#define BO_USE_SW_READ_NEVER (1ull << 4)
+#define BO_USE_SW_READ_RARELY (1ull << 5)
+#define BO_USE_SW_READ_OFTEN (1ull << 6)
+#define BO_USE_SW_WRITE_NEVER (1ull << 7)
+#define BO_USE_SW_WRITE_RARELY (1ull << 8)
+#define BO_USE_SW_WRITE_OFTEN (1ull << 9)
+#define BO_USE_EXTERNAL_DISP (1ull << 10)
+#define BO_USE_PROTECTED (1ull << 11)
+#define BO_USE_HW_VIDEO_ENCODER (1ull << 12)
+#define BO_USE_HW_CAMERA_WRITE (1ull << 13)
+#define BO_USE_HW_CAMERA_READ (1ull << 14)
+#define BO_USE_HW_CAMERA_ZSL (1ull << 15)
+#define BO_USE_RENDERSCRIPT (1ull << 16)
/* 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