Debian Codegraph @

Source/Core/VideoCommon/GeometryShaderManager.h

raw symbols SCIP
1 // Copyright 2014 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include "Common/CommonTypes.h"
7 #include "VideoCommon/ConstantManager.h"
8
9 class PointerWrap;
10 enum class PrimitiveType : u32;
11
12 // The non-API dependent parts.
13 class GeometryShaderManager
14 {
15 public:
16 void Init();
17 void Dirty();
18 void DoState(PointerWrap& p);
19
20 void SetConstants(PrimitiveType prim);
21 void SetViewportChanged();
22 void SetProjectionChanged();
23 void SetLinePtWidthChanged();
24 void SetTexCoordChanged(u8 texmapid);
25
26 GeometryShaderConstants constants{};
27 bool dirty = false;
28
29 private:
30 void SetVSExpand(VSExpand expand);
31
32 bool m_projection_changed = false;
33 bool m_viewport_changed = false;
34 };