|
|
@@ -1,4 +1,4 @@
|
|
|
-// SPDX-FileCopyrightText: 2015 Citra Emulator Project
|
|
|
+// SPDX-FileCopyrightText: 2015 Citra Emulator Project & 2024 suyu Emulator Project
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
#pragma once
|
|
|
@@ -12,7 +12,7 @@ namespace OpenGL {
|
|
|
|
|
|
class OGLRenderbuffer final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLRenderbuffer);
|
|
|
+ SUYU_NON_COPYABLE(OGLRenderbuffer);
|
|
|
|
|
|
OGLRenderbuffer() = default;
|
|
|
|
|
|
@@ -39,7 +39,7 @@ public:
|
|
|
|
|
|
class OGLTexture final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLTexture);
|
|
|
+ SUYU_NON_COPYABLE(OGLTexture);
|
|
|
|
|
|
OGLTexture() = default;
|
|
|
|
|
|
@@ -66,7 +66,7 @@ public:
|
|
|
|
|
|
class OGLTextureView final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLTextureView);
|
|
|
+ SUYU_NON_COPYABLE(OGLTextureView);
|
|
|
|
|
|
OGLTextureView() = default;
|
|
|
|
|
|
@@ -93,7 +93,7 @@ public:
|
|
|
|
|
|
class OGLSampler final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLSampler);
|
|
|
+ SUYU_NON_COPYABLE(OGLSampler);
|
|
|
|
|
|
OGLSampler() = default;
|
|
|
|
|
|
@@ -120,7 +120,7 @@ public:
|
|
|
|
|
|
class OGLShader final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLShader);
|
|
|
+ SUYU_NON_COPYABLE(OGLShader);
|
|
|
|
|
|
OGLShader() = default;
|
|
|
|
|
|
@@ -143,7 +143,7 @@ public:
|
|
|
|
|
|
class OGLProgram final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLProgram);
|
|
|
+ SUYU_NON_COPYABLE(OGLProgram);
|
|
|
|
|
|
OGLProgram() = default;
|
|
|
|
|
|
@@ -167,7 +167,7 @@ public:
|
|
|
|
|
|
class OGLAssemblyProgram final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLAssemblyProgram);
|
|
|
+ SUYU_NON_COPYABLE(OGLAssemblyProgram);
|
|
|
|
|
|
OGLAssemblyProgram() = default;
|
|
|
|
|
|
@@ -191,7 +191,7 @@ public:
|
|
|
|
|
|
class OGLPipeline final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLPipeline);
|
|
|
+ SUYU_NON_COPYABLE(OGLPipeline);
|
|
|
|
|
|
OGLPipeline() = default;
|
|
|
OGLPipeline(OGLPipeline&& o) noexcept : handle{std::exchange<GLuint>(o.handle, 0)} {}
|
|
|
@@ -215,7 +215,7 @@ public:
|
|
|
|
|
|
class OGLBuffer final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLBuffer);
|
|
|
+ SUYU_NON_COPYABLE(OGLBuffer);
|
|
|
|
|
|
OGLBuffer() = default;
|
|
|
|
|
|
@@ -242,7 +242,7 @@ public:
|
|
|
|
|
|
class OGLSync final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLSync);
|
|
|
+ SUYU_NON_COPYABLE(OGLSync);
|
|
|
|
|
|
OGLSync() = default;
|
|
|
|
|
|
@@ -271,7 +271,7 @@ public:
|
|
|
|
|
|
class OGLFramebuffer final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLFramebuffer);
|
|
|
+ SUYU_NON_COPYABLE(OGLFramebuffer);
|
|
|
|
|
|
OGLFramebuffer() = default;
|
|
|
|
|
|
@@ -298,7 +298,7 @@ public:
|
|
|
|
|
|
class OGLQuery final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLQuery);
|
|
|
+ SUYU_NON_COPYABLE(OGLQuery);
|
|
|
|
|
|
OGLQuery() = default;
|
|
|
|
|
|
@@ -325,7 +325,7 @@ public:
|
|
|
|
|
|
class OGLTransformFeedback final {
|
|
|
public:
|
|
|
- YUZU_NON_COPYABLE(OGLTransformFeedback);
|
|
|
+ SUYU_NON_COPYABLE(OGLTransformFeedback);
|
|
|
|
|
|
OGLTransformFeedback() = default;
|
|
|
|