gsdx ogl: add a performance note for a potential channel optimization

This commit is contained in:
Gregory Hainaut 2016-05-10 08:11:28 +02:00
parent 4effc70792
commit c019f86529
1 changed files with 3 additions and 0 deletions

View File

@ -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);