aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs
diff options
context:
space:
mode:
authorAlex Barney <thealexbarney@gmail.com>2019-03-03 19:45:25 -0600
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-03-04 12:45:25 +1100
commit1f554c1093dde6a4d3ed80fae2675abfb6c12fac (patch)
treebbbdfb87999168288777ac404081f3e49c7440ae /Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs
parent8e71ea0812f6b56ff819dbda951b463bcb5eb8dc (diff)
Do naming refactoring on Ryujinx.Graphics (#611)
* Renaming part 1 * Renaming part 2 * Renaming part 3 * Renaming part 4 * Renaming part 5 * Renaming part 6 * Renaming part 7 * Renaming part 8 * Renaming part 9 * Renaming part 10 * General cleanup * Thought I got all of these * Apply #595 * Additional renaming * Tweaks from feedback * Rename files
Diffstat (limited to 'Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs')
-rw-r--r--Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs58
1 files changed, 0 insertions, 58 deletions
diff --git a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs b/Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs
deleted file mode 100644
index 14fb9018..00000000
--- a/Ryujinx.Graphics/Gal/OpenGL/OGLRenderer.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-using System;
-using System.Collections.Concurrent;
-
-namespace Ryujinx.Graphics.Gal.OpenGL
-{
- public class OGLRenderer : IGalRenderer
- {
- public IGalConstBuffer Buffer { get; private set; }
-
- public IGalRenderTarget RenderTarget { get; private set; }
-
- public IGalRasterizer Rasterizer { get; private set; }
-
- public IGalShader Shader { get; private set; }
-
- public IGalPipeline Pipeline { get; private set; }
-
- public IGalTexture Texture { get; private set; }
-
- private ConcurrentQueue<Action> ActionsQueue;
-
- public OGLRenderer()
- {
- Buffer = new OGLConstBuffer();
-
- Texture = new OGLTexture();
-
- RenderTarget = new OGLRenderTarget(Texture as OGLTexture);
-
- Rasterizer = new OGLRasterizer();
-
- Shader = new OGLShader(Buffer as OGLConstBuffer);
-
- Pipeline = new OGLPipeline(
- Buffer as OGLConstBuffer,
- RenderTarget as OGLRenderTarget,
- Rasterizer as OGLRasterizer,
- Shader as OGLShader);
-
- ActionsQueue = new ConcurrentQueue<Action>();
- }
-
- public void QueueAction(Action ActionMthd)
- {
- ActionsQueue.Enqueue(ActionMthd);
- }
-
- public void RunActions()
- {
- int Count = ActionsQueue.Count;
-
- while (Count-- > 0 && ActionsQueue.TryDequeue(out Action RenderAction))
- {
- RenderAction();
- }
- }
- }
-} \ No newline at end of file