mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-03 01:38:36 +00:00
VideoCommon: De-globalize GeometryShaderManager class.
This commit is contained in:
parent
1bfecd8003
commit
cb0a603c72
15 changed files with 90 additions and 67 deletions
|
@ -13,16 +13,22 @@ enum class PrimitiveType : u32;
|
|||
class GeometryShaderManager
|
||||
{
|
||||
public:
|
||||
static void Init();
|
||||
static void Dirty();
|
||||
static void DoState(PointerWrap& p);
|
||||
void Init();
|
||||
void Dirty();
|
||||
void DoState(PointerWrap& p);
|
||||
|
||||
static void SetConstants(PrimitiveType prim);
|
||||
static void SetViewportChanged();
|
||||
static void SetProjectionChanged();
|
||||
static void SetLinePtWidthChanged();
|
||||
static void SetTexCoordChanged(u8 texmapid);
|
||||
void SetConstants(PrimitiveType prim);
|
||||
void SetViewportChanged();
|
||||
void SetProjectionChanged();
|
||||
void SetLinePtWidthChanged();
|
||||
void SetTexCoordChanged(u8 texmapid);
|
||||
|
||||
static GeometryShaderConstants constants;
|
||||
static bool dirty;
|
||||
GeometryShaderConstants constants{};
|
||||
bool dirty = false;
|
||||
|
||||
private:
|
||||
void SetVSExpand(VSExpand expand);
|
||||
|
||||
bool m_projection_changed = false;
|
||||
bool m_viewport_changed = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue