2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2014-12-14 13:23:13 -07:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-01-17 14:54:31 -07:00
|
|
|
#include "Common/CommonTypes.h"
|
2014-12-14 13:23:13 -07:00
|
|
|
#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);
|
|
|
|
|
2014-12-20 05:01:37 -07:00
|
|
|
static void SetConstants();
|
2014-12-14 13:23:13 -07:00
|
|
|
static void SetViewportChanged();
|
|
|
|
static void SetProjectionChanged();
|
2014-12-14 13:44:33 -07:00
|
|
|
static void SetLinePtWidthChanged();
|
|
|
|
static void SetTexCoordChanged(u8 texmapid);
|
2014-12-14 13:23:13 -07:00
|
|
|
|
|
|
|
static GeometryShaderConstants constants;
|
|
|
|
static bool dirty;
|
|
|
|
};
|