Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/2.2/utils/resources/include/composer-resources/2.2/
DComposerResources.h35 class ComposerDisplayResource : public V2_1::hal::ComposerDisplayResource {
37 ComposerDisplayResource(DisplayType type, ComposerHandleImporter& importer, in ComposerDisplayResource() function
39 : V2_1::hal::ComposerDisplayResource(type, importer, outputBufferCacheSize), in ComposerDisplayResource()
78 ComposerDisplayResource& displayResource = in getDisplayReadbackBuffer()
79 *static_cast<ComposerDisplayResource*>(iter->second.get()); in getDisplayReadbackBuffer()
94 std::unique_ptr<V2_1::hal::ComposerDisplayResource> createDisplayResource( in createDisplayResource()
95 ComposerDisplayResource::DisplayType type, uint32_t outputBufferCacheSize) override { in createDisplayResource()
96 return std::make_unique<ComposerDisplayResource>(type, mImporter, outputBufferCacheSize); in createDisplayResource()
/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp216 ComposerDisplayResource::ComposerDisplayResource(DisplayType type, ComposerHandleImporter& importer, in ComposerDisplayResource() function in android::hardware::graphics::composer::V2_1::hal::ComposerDisplayResource
223 bool ComposerDisplayResource::initClientTargetCache(uint32_t cacheSize) { in initClientTargetCache()
227 size_t ComposerDisplayResource::getClientTargetCacheSize() const { in getClientTargetCacheSize()
231 size_t ComposerDisplayResource::getOutputBufferCacheSize() const { in getOutputBufferCacheSize()
235 bool ComposerDisplayResource::isVirtual() const { in isVirtual()
239 Error ComposerDisplayResource::getClientTarget(uint32_t slot, bool fromCache, in getClientTarget()
246 Error ComposerDisplayResource::getOutputBuffer(uint32_t slot, bool fromCache, in getOutputBuffer()
253 bool ComposerDisplayResource::addLayer(Layer layer, in addLayer()
259 bool ComposerDisplayResource::removeLayer(Layer layer) { in removeLayer()
263 ComposerLayerResource* ComposerDisplayResource::findLayerResource(Layer layer) { in findLayerResource()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/resources/
DComposerResources.cpp34 Error ComposerDisplayResource::getReadbackBuffer(const native_handle_t* inHandle, in getReadbackBuffer()
64 ComposerDisplayResource& displayResource = in getDisplayReadbackBuffer()
65 *static_cast<ComposerDisplayResource*>(iter->second.get()); in getDisplayReadbackBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h111 class ComposerDisplayResource {
118 virtual ~ComposerDisplayResource() = default;
120 ComposerDisplayResource(DisplayType type, ComposerHandleImporter& importer,
236 virtual std::unique_ptr<ComposerDisplayResource> createDisplayResource(
237 ComposerDisplayResource::DisplayType type, uint32_t outputBufferCacheSize);
241 ComposerDisplayResource* findDisplayResourceLocked(Display display);
246 std::unordered_map<Display, std::unique_ptr<ComposerDisplayResource>> mDisplayResources;