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.cpp212 ComposerDisplayResource::ComposerDisplayResource(DisplayType type, ComposerHandleImporter& importer, in ComposerDisplayResource() function in android::hardware::graphics::composer::V2_1::hal::ComposerDisplayResource
219 bool ComposerDisplayResource::initClientTargetCache(uint32_t cacheSize) { in initClientTargetCache()
223 bool ComposerDisplayResource::isVirtual() const { in isVirtual()
227 Error ComposerDisplayResource::getClientTarget(uint32_t slot, bool fromCache, in getClientTarget()
234 Error ComposerDisplayResource::getOutputBuffer(uint32_t slot, bool fromCache, in getOutputBuffer()
241 bool ComposerDisplayResource::addLayer(Layer layer, in addLayer()
247 bool ComposerDisplayResource::removeLayer(Layer layer) { in removeLayer()
251 ComposerLayerResource* ComposerDisplayResource::findLayerResource(Layer layer) { in findLayerResource()
260 std::vector<Layer> ComposerDisplayResource::getLayers() const { in getLayers()
269 void ComposerDisplayResource::setMustValidateState(bool mustValidate) { in setMustValidateState()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h110 class ComposerDisplayResource {
117 virtual ~ComposerDisplayResource() = default;
119 ComposerDisplayResource(DisplayType type, ComposerHandleImporter& importer,
230 virtual std::unique_ptr<ComposerDisplayResource> createDisplayResource(
231 ComposerDisplayResource::DisplayType type, uint32_t outputBufferCacheSize);
235 ComposerDisplayResource* findDisplayResourceLocked(Display display);
240 std::unordered_map<Display, std::unique_ptr<ComposerDisplayResource>> mDisplayResources;
/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()