OSDN Git Service
(root)
/
android-x86
/
external-minigbm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
minigbm: cros_gralloc: support GRALLOC_MODULE_API_VERSION_0_3
[android-x86/external-minigbm.git]
/
gbm_helpers.c
diff --git
a/gbm_helpers.c
b/gbm_helpers.c
index
2b9ce23
..
529d7fe
100644
(file)
--- a/
gbm_helpers.c
+++ b/
gbm_helpers.c
@@
-26,6
+26,10
@@
uint64_t gbm_convert_flags(uint32_t flags)
usage |= BO_USE_TEXTURE;
if (flags & GBM_BO_USE_LINEAR)
usage |= BO_USE_LINEAR;
+ if (flags & GBM_BO_USE_CAMERA_WRITE)
+ usage |= BO_USE_CAMERA_WRITE;
+ if (flags & GBM_BO_USE_CAMERA_READ)
+ usage |= BO_USE_CAMERA_READ;
return usage;
}