diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-05-17 10:53:10 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-17 10:53:10 -0700 |
commit | ff5521818a9c658d5bdab4e270c6a3f956098d4c (patch) | |
tree | 3e7e9679bb19cd8f8539b7ac9f33242891cbcd7f | |
parent | 42ef8a58e6aff0a7508b9027e5a9dc8e5f5731d1 (diff) | |
parent | 5e08dc3fb17653865c16aaa9a3b60cf787c2f2fd (diff) | |
download | display-ff5521818a9c658d5bdab4e270c6a3f956098d4c.tar.gz |
Merge "Gralloc: Update layer_count while calling size calculation APIs"
-rw-r--r-- | gralloc/gr_buf_mgr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gralloc/gr_buf_mgr.cpp b/gralloc/gr_buf_mgr.cpp index 0b6567da..e7c7f0f4 100644 --- a/gralloc/gr_buf_mgr.cpp +++ b/gralloc/gr_buf_mgr.cpp @@ -321,6 +321,7 @@ Error BufferManager::AllocateBuffer(const BufferDescriptor &descriptor, buffer_h int buffer_type = GetBufferType(format); BufferInfo info = GetBufferInfo(descriptor); info.format = format; + info.layer_count = layer_count; bool use_adreno_for_size = false; GraphicsMetadata graphics_metadata = {}; |