| 1 | /** |
|---|---|
| 2 | * @file deviceimpl.h |
| 3 | * @brief Device implementation for GFX. |
| 4 | */ |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <nn/gfx/detail/gfx_DataContainer.h> |
| 9 | #include <nn/gfx/gfx_Common.h> |
| 10 | #include <nn/gfx/gfx_DeviceData-api.nvn.8.h> |
| 11 | |
| 12 | namespace nn::gfx { |
| 13 | |
| 14 | class DeviceInfo; |
| 15 | |
| 16 | namespace detail { |
| 17 | |
| 18 | template <> |
| 19 | class DeviceImpl<ApiVariationNvn8> : public DataContainer<DeviceImplData<ApiVariationNvn8>> { |
| 20 | NN_NO_COPY(DeviceImpl); |
| 21 | |
| 22 | public: |
| 23 | typedef DeviceInfo InfoType; |
| 24 | |
| 25 | DeviceImpl(); |
| 26 | ~DeviceImpl(); |
| 27 | void Initialize(const InfoType&); |
| 28 | void Finalize(); |
| 29 | }; |
| 30 | |
| 31 | } // namespace detail |
| 32 | |
| 33 | } // namespace nn::gfx |
| 34 |