summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/display/vi_display.h
blob: df44db3066d30f8b6412cd380c67dbd8f3625c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2019 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#pragma once

#include <string>
#include <vector>

#include "common/common_types.h"
#include "core/hle/kernel/writable_event.h"

namespace Service::VI {

struct Layer;

struct Display {
    Display(u64 id, std::string name);
    ~Display();

    u64 id;
    std::string name;

    std::vector<Layer> layers;
    Kernel::EventPair vsync_event;
};

} // namespace Service::VI