drm_hwcomposer: Rename DrmResources to DrmDevice
DrmDevice is a better name to reflect the fact that DrmResources/
DrmDevice can handle just one dri node.
Suggested here [1] by Sean Paul.
[1] https://lists.freedesktop.org/archives/dri-devel/2018-April/173290.html
Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
diff --git a/platformhisi.h b/platformhisi.h
index a098692..4e6cc57 100644
--- a/platformhisi.h
+++ b/platformhisi.h
@@ -17,7 +17,7 @@
#ifndef ANDROID_PLATFORM_HISI_H_
#define ANDROID_PLATFORM_HISI_H_
-#include "drmresources.h"
+#include "drmdevice.h"
#include "platform.h"
#include "platformdrmgeneric.h"
@@ -29,7 +29,7 @@
class HisiImporter : public DrmGenericImporter {
public:
- HisiImporter(DrmResources *drm);
+ HisiImporter(DrmDevice *drm);
~HisiImporter() override;
int Init();
@@ -37,8 +37,7 @@
int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
private:
-
- DrmResources *drm_;
+ DrmDevice *drm_;
const gralloc_module_t *gralloc_;
};