summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GeometryShaderManager.h
blob: 55f3b8ad4303e5501108d8cb79b3b02c9b8d4c31 (plain)
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 2014 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include "Common/CommonTypes.h"
#include "VideoCommon/ConstantManager.h"

class PointerWrap;

// The non-API dependent parts.
class GeometryShaderManager
{
public:
  static void Init();
  static void Dirty();
  static void DoState(PointerWrap& p);

  static void SetConstants();
  static void SetViewportChanged();
  static void SetProjectionChanged();
  static void SetLinePtWidthChanged();
  static void SetTexCoordChanged(u8 texmapid);

  static GeometryShaderConstants constants;
  static bool dirty;
};