2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-12-14 20:23:13 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-01-17 21:54:31 +00:00
|
|
|
#include "Common/CommonTypes.h"
|
2014-12-14 20:23:13 +00:00
|
|
|
#include "VideoCommon/ConstantManager.h"
|
|
|
|
|
|
|
|
class PointerWrap;
|
|
|
|
|
|
|
|
// The non-API dependent parts.
|
|
|
|
class GeometryShaderManager
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
static void Init();
|
|
|
|
static void Dirty();
|
|
|
|
static void DoState(PointerWrap& p);
|
2014-12-14 20:23:13 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
static void SetConstants();
|
|
|
|
static void SetViewportChanged();
|
|
|
|
static void SetProjectionChanged();
|
|
|
|
static void SetLinePtWidthChanged();
|
|
|
|
static void SetTexCoordChanged(u8 texmapid);
|
2014-12-14 20:23:13 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
static GeometryShaderConstants constants;
|
|
|
|
static bool dirty;
|
2014-12-14 20:23:13 +00:00
|
|
|
};
|