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
Distinguish COMPOSER_TARGET_BUFFER
[android-x86/external-minigbm.git]
/
cros_gralloc
/
gralloc4
/
CrosGralloc4Mapper.cc
diff --git
a/cros_gralloc/gralloc4/CrosGralloc4Mapper.cc
b/cros_gralloc/gralloc4/CrosGralloc4Mapper.cc
index
b3a85b2
..
e11450a
100644
(file)
--- a/
cros_gralloc/gralloc4/CrosGralloc4Mapper.cc
+++ b/
cros_gralloc/gralloc4/CrosGralloc4Mapper.cc
@@
-401,7
+401,7
@@
Return<void> CrosGralloc4Mapper::isSupported(const BufferDescriptorInfo& descrip
bool supported = mDriver->is_supported(&crosDescriptor);
if (!supported) {
- crosDescriptor.use_flags &= ~
BO_USE_SCANOUT
;
+ crosDescriptor.use_flags &= ~
(BO_USE_SCANOUT | BO_USE_COMPOSER_TARGET)
;
supported = mDriver->is_supported(&crosDescriptor);
}