Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerResources.h275 bool addLayer(Layer layer, std::unique_ptr<ComposerLayerResource> layerResource) { in addLayer() argument
276 auto result = mLayerResources.emplace(layer, std::move(layerResource)); in addLayer()
376 auto layerResource = createLayerResource(bufferCacheSize); in addLayer() local
384 return displayResource->addLayer(layer, std::move(layerResource)) ? Error::NONE in addLayer()
531 ComposerLayerResource* layerResource = (displayResource && needLayerResource) in getHandle() local
537 if (displayResource && (!needLayerResource || layerResource)) { in getHandle()
548 error = layerResource->getBuffer(slot, fromCache, importedHandle, outHandle, in getHandle()
552 error = layerResource->getSidebandStream(slot, fromCache, importedHandle, in getHandle()