drm_hwcomposer: HWC3: Remove HWC2 ComposerResources dependencies
Now that we have our own buffer importer and slots tracker,
ComposerResourcer is no longer needed.
Change-Id: I9b1e15800695b4c5f1a3f2c942ba669526e8a94c
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
diff --git a/hwc3/ComposerClient.h b/hwc3/ComposerClient.h
index 37cb8ab..25dc0ca 100644
--- a/hwc3/ComposerClient.h
+++ b/hwc3/ComposerClient.h
@@ -22,7 +22,6 @@
#include "aidl/android/hardware/graphics/composer3/LayerCommand.h"
#include "hwc2_device/HwcLayer.h"
#include "hwc3/CommandResultWriter.h"
-#include "hwc3/ComposerResources.h"
#include "hwc3/Utils.h"
#include "utils/Mutex.h"
@@ -42,7 +41,7 @@
ComposerClient();
~ComposerClient() override;
- bool Init();
+ void Init();
std::string Dump();
// composer3 interface
@@ -176,9 +175,6 @@
std::unique_ptr<CommandResultWriter> cmd_result_writer_;
- // Manages importing and caching gralloc buffers for displays and layers.
- std::unique_ptr<ComposerResources> composer_resources_;
-
std::unique_ptr<DrmHwcThree> hwc_;
};