diff options
author | Jamie Gennis <jgennis@google.com> | 2011-08-24 15:12:04 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-24 15:12:04 -0700 |
commit | 011833c308f68928a024de71ee89c0db1c491570 (patch) | |
tree | cf71ba1b4a7d84614474ce907eed0c528383fa6e /services/surfaceflinger | |
parent | 5af1729f26d56c2731c2fb49e65b196db9742d54 (diff) | |
parent | d52c14df02a0d6db42f643e80e248b52fe5e2fdd (diff) | |
download | frameworks_base-011833c308f68928a024de71ee89c0db1c491570.zip frameworks_base-011833c308f68928a024de71ee89c0db1c491570.tar.gz frameworks_base-011833c308f68928a024de71ee89c0db1c491570.tar.bz2 |
Merge "SurfaceFlinger: use the HWC gralloc usage bit"
Diffstat (limited to 'services/surfaceflinger')
-rw-r--r-- | services/surfaceflinger/Layer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 8b2485a..f8925b8 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -556,6 +556,7 @@ uint32_t Layer::getEffectiveUsage(uint32_t usage) const // need a hardware-protected path to external video sink usage |= GraphicBuffer::USAGE_PROTECTED; } + usage |= GraphicBuffer::USAGE_HW_COMPOSER; return usage; } |