blob: 4eec6986bc2c9456dea6821530034874192575ff [file] [log] [blame]
Roman Stratiienkoe3ed48d2019-10-17 17:42:36 +03001#ifndef PLATFORMIMAGINATION_H
2#define PLATFORMIMAGINATION_H
3
Roman Stratiienkoe3ed48d2019-10-17 17:42:36 +03004#include "platform.h"
5#include "platformdrmgeneric.h"
6
7#include <stdatomic.h>
8
9#include <hardware/gralloc.h>
10
11namespace android {
12
13class ImaginationImporter : public DrmGenericImporter {
14 public:
15 using DrmGenericImporter::DrmGenericImporter;
16
Roman Stratiienko4163efc2019-12-06 12:30:28 +020017 int ConvertBoInfo(buffer_handle_t handle, hwc_drm_bo_t *bo) override;
Roman Stratiienkoe3ed48d2019-10-17 17:42:36 +030018};
19} // namespace android
20
21#endif // PLATFORMIMAGINATION_H