@@ -9,8 +9,6 @@
#include <QObject>
#include <QVector>

#include "Common/NonCopyable.h"

#include "Core/NetPlayClient.h"
#include "Core/NetPlayServer.h"

@@ -23,11 +21,16 @@ class GameListModel;
class InputConfig;

// UI settings to be stored in the config directory.
class Settings final : public QObject, NonCopyable
class Settings final : public QObject
{
Q_OBJECT

public:
Settings(const Settings&) = delete;
Settings& operator=(const Settings&) = delete;
Settings(Settings&&) = delete;
Settings& operator=(Settings&&) = delete;

static Settings& Instance();

// UI
@@ -9,17 +9,21 @@

#include "Common/CommonTypes.h"
#include "Common/GL/GLUtil.h"
#include "Common/NonCopyable.h"
#include "VideoBackends/OGL/Render.h"

namespace OGL
{
class SamplerCache : NonCopyable
class SamplerCache
{
public:
SamplerCache();
~SamplerCache();

SamplerCache(const SamplerCache&) = delete;
SamplerCache& operator=(const SamplerCache&) = delete;
SamplerCache(SamplerCache&&) = delete;
SamplerCache& operator=(SamplerCache&&) = delete;

void SetSamplerState(int stage, const TexMode0& tm0, const TexMode1& tm1, bool custom_tex);
void Clear();
void BindNearestSampler(int stage);
@@ -9,7 +9,6 @@

#include "Common/CommonTypes.h"
#include "Common/Hash.h"
#include "Common/NonCopyable.h"

// m_components
enum
@@ -102,10 +101,15 @@ struct hash<PortableVertexDeclaration>

// Note that this class can't just invent arbitrary vertex formats out of its input -
// all the data loading code must always be made compatible.
class NativeVertexFormat : NonCopyable
class NativeVertexFormat
{
public:
virtual ~NativeVertexFormat() {}
NativeVertexFormat(const NativeVertexFormat&) = delete;
NativeVertexFormat& operator=(const NativeVertexFormat&) = delete;
NativeVertexFormat(NativeVertexFormat&&) = default;
NativeVertexFormat& operator=(NativeVertexFormat&&) = default;

u32 GetVertexStride() const { return vtx_decl.stride; }
const PortableVertexDeclaration& GetVertexDeclaration() const { return vtx_decl; }
protected: