minigbm: align BO_USE flags with GBM flags

Swap the values of the BO_USE encoder and decoder flags, to match the
values of the respective GBM flags.

BUG=none
TEST=compile

Change-Id: I419ca7b8234d4ce4e8a771ee608efac836b7d007
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/1980687
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: David Stevens <stevensd@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
This commit is contained in:
David Stevens 2019-12-25 16:35:55 +09:00 committed by Commit Bot
parent e5c3fdf746
commit 9982421bb3

4
drv.h
View file

@ -33,8 +33,8 @@ extern "C" {
#define BO_USE_SW_READ_RARELY (1ull << 10)
#define BO_USE_SW_WRITE_OFTEN (1ull << 11)
#define BO_USE_SW_WRITE_RARELY (1ull << 12)
#define BO_USE_HW_VIDEO_ENCODER (1ull << 13)
#define BO_USE_HW_VIDEO_DECODER (1ull << 14)
#define BO_USE_HW_VIDEO_DECODER (1ull << 13)
#define BO_USE_HW_VIDEO_ENCODER (1ull << 14)
#define BO_USE_RENDERSCRIPT (1ull << 15)
/* Quirks for allocating a buffer. */