From c019f865292505cba53551e9655fa5ff5dbab133 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Tue, 10 May 2016 08:11:28 +0200 Subject: [PATCH] gsdx ogl: add a performance note for a potential channel optimization --- plugins/GSdx/GSRendererOGL.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/GSdx/GSRendererOGL.cpp b/plugins/GSdx/GSRendererOGL.cpp index 57f837582d..85d7797191 100644 --- a/plugins/GSdx/GSRendererOGL.cpp +++ b/plugins/GSdx/GSRendererOGL.cpp @@ -730,6 +730,9 @@ void GSRendererOGL::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sour glTextureBarrier(); // Replace current draw with a fullscreen sprite + // + // Performance GPU note: it could be wise to reduce the size to + // the rendered size of the framebuffer GSVertex* s = &m_vertex.buff[0]; s[0].XYZ.X = (uint16)(m_context->XYOFFSET.OFX + 0);