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