Loading graphics/composer/2.1/default/ComposerClient.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -1149,6 +1149,13 @@ Error ComposerClient::CommandReader::lookupBuffer(BufferCache cache, // input handle is ignored *outHandle = entry->getHandle(); } else if (cache == BufferCache::LAYER_SIDEBAND_STREAMS) { if (handle) { *outHandle = native_handle_clone(handle); if (*outHandle == nullptr) { return Error::NO_RESOURCES; } } } else { if (!sHandleImporter.importBuffer(handle)) { return Error::NO_RESOURCES; Loading graphics/composer/2.1/default/ComposerClient.h +1 −0 Original line number Diff line number Diff line Loading @@ -110,6 +110,7 @@ public: protected: struct LayerBuffers { std::vector<BufferCacheEntry> Buffers; // the handle is a sideband stream handle, not a buffer handle BufferCacheEntry SidebandStream; }; Loading Loading
graphics/composer/2.1/default/ComposerClient.cpp +7 −0 Original line number Diff line number Diff line Loading @@ -1149,6 +1149,13 @@ Error ComposerClient::CommandReader::lookupBuffer(BufferCache cache, // input handle is ignored *outHandle = entry->getHandle(); } else if (cache == BufferCache::LAYER_SIDEBAND_STREAMS) { if (handle) { *outHandle = native_handle_clone(handle); if (*outHandle == nullptr) { return Error::NO_RESOURCES; } } } else { if (!sHandleImporter.importBuffer(handle)) { return Error::NO_RESOURCES; Loading
graphics/composer/2.1/default/ComposerClient.h +1 −0 Original line number Diff line number Diff line Loading @@ -110,6 +110,7 @@ public: protected: struct LayerBuffers { std::vector<BufferCacheEntry> Buffers; // the handle is a sideband stream handle, not a buffer handle BufferCacheEntry SidebandStream; }; Loading