aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-01-12 19:12:40 -0300
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2020-01-13 09:12:40 +1100
commit2bb39ff03e7f8b4f3383d5a5383dc9cbd808f0b6 (patch)
treedf2313fbfbd257f75bb8425071c0ed19f4ccc0f8 /Ryujinx.Graphics.GAL
parent88f78ae6c83def8700235e153099190cc4cef890 (diff)
Replace glFinish with barrier for WaitForIdle (#878)
Diffstat (limited to 'Ryujinx.Graphics.GAL')
-rw-r--r--Ryujinx.Graphics.GAL/IPipeline.cs2
-rw-r--r--Ryujinx.Graphics.GAL/IRenderer.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.GAL/IPipeline.cs b/Ryujinx.Graphics.GAL/IPipeline.cs
index 1a502913..41e35dd4 100644
--- a/Ryujinx.Graphics.GAL/IPipeline.cs
+++ b/Ryujinx.Graphics.GAL/IPipeline.cs
@@ -4,6 +4,8 @@ namespace Ryujinx.Graphics.GAL
{
public interface IPipeline
{
+ void Barrier();
+
void ClearRenderTargetColor(int index, uint componentMask, ColorF color);
void ClearRenderTargetDepthStencil(
diff --git a/Ryujinx.Graphics.GAL/IRenderer.cs b/Ryujinx.Graphics.GAL/IRenderer.cs
index 1139ba06..56856b23 100644
--- a/Ryujinx.Graphics.GAL/IRenderer.cs
+++ b/Ryujinx.Graphics.GAL/IRenderer.cs
@@ -18,8 +18,6 @@ namespace Ryujinx.Graphics.GAL
ISampler CreateSampler(SamplerCreateInfo info);
ITexture CreateTexture(TextureCreateInfo info);
- void FlushPipelines();
-
Capabilities GetCapabilities();
ulong GetCounter(CounterType type);