Roman Stratiienko | e3ed48d | 2019-10-17 17:42:36 +0300 | [diff] [blame^] | 1 | #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 | |
| 12 | namespace android { |
| 13 | |
| 14 | class ImaginationImporter : public DrmGenericImporter { |
| 15 | public: |
| 16 | using DrmGenericImporter::DrmGenericImporter; |
| 17 | |
| 18 | int ImportBuffer(buffer_handle_t handle, hwc_drm_bo_t *bo) override; |
| 19 | }; |
| 20 | } // namespace android |
| 21 | |
| 22 | #endif // PLATFORMIMAGINATION_H |