Home
last modified time | relevance | path

Searched refs:layerResource (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp242 std::unique_ptr<ComposerLayerResource> layerResource) { in addLayer() argument
243 auto result = mLayerResources.emplace(layer, std::move(layerResource)); in addLayer()
331 auto layerResource = createLayerResource(bufferCacheSize); in addLayer() local
339 return displayResource->addLayer(layer, std::move(layerResource)) ? Error::NONE in addLayer()
443 ComposerLayerResource* layerResource = (displayResource && needLayerResource) in getHandle() local
449 if (displayResource && (!needLayerResource || layerResource)) { in getHandle()
460 error = layerResource->getBuffer(slot, fromCache, importedHandle, outHandle, in getHandle()
464 error = layerResource->getSidebandStream(slot, fromCache, importedHandle, outHandle, in getHandle()
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h134 bool addLayer(Layer layer, std::unique_ptr<ComposerLayerResource> layerResource);