summaryrefslogtreecommitdiff
path: root/hk21/game/gpu.hpp
blob: 40a09731f2d013cfd761d51634b0da391934673e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <asl/status_or.hpp>
#include <asl/box.hpp>

struct SDL_Window;

namespace gpu
{

class Gpu
{
public:
    Gpu() = default;
    ASL_DELETE_COPY_MOVE(Gpu);
    virtual ~Gpu() = default;

    virtual void destroy() = 0;
};

asl::status_or<asl::box<Gpu>> init(SDL_Window* window);

} // namespace gpu