It was added with initial ResourceManager implementation and was
never used.
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
namespace android {
-ResourceManager::ResourceManager() : num_displays_(0), gralloc_(nullptr) {
+ResourceManager::ResourceManager() : num_displays_(0) {
}
int ResourceManager::Init() {
return -EINVAL;
}
- return hw_get_module(GRALLOC_HARDWARE_MODULE_ID,
- (const hw_module_t **)&gralloc_);
+ return 0;
}
int ResourceManager::AddDrmDevice(const std::string &path) {
}
return nullptr;
}
-
-const gralloc_module_t *ResourceManager::gralloc() {
- return gralloc_;
-}
} // namespace android
ResourceManager &operator=(const ResourceManager &) = delete;
int Init();
DrmDevice *GetDrmDevice(int display);
- const gralloc_module_t *gralloc();
DrmConnector *AvailableWritebackConnector(int display);
const std::vector<std::unique_ptr<DrmDevice>> &getDrmDevices() const {
return drms_;
int num_displays_;
std::vector<std::unique_ptr<DrmDevice>> drms_;
- const gralloc_module_t *gralloc_;
bool scale_with_gpu_{};
};