mirror of https://github.com/PCSX2/pcsx2.git
gsdx-ogl: add a performance note for later
The idea will be to replace StretchRect for standard case with a framebuffer blit. Potentially it toggles less gl state. Worth a test on Star Ocean 3 that uses a lots this function for stencil emulation
This commit is contained in:
parent
426fcf3afc
commit
92d68b70d3
|
@ -733,6 +733,10 @@ void GSDeviceOGL::StretchRect(GSTexture* sTex, const GSVector4& sRect, GSTexture
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Performance optimization. It might be faster to use a framebuffer blit for standard case
|
||||||
|
// instead to emulate it with shader
|
||||||
|
// see https://www.opengl.org/wiki/Framebuffer#Blitting
|
||||||
|
|
||||||
GL_PUSH("StretchRect from %d to %d", sTex->GetID(), dTex->GetID());
|
GL_PUSH("StretchRect from %d to %d", sTex->GetID(), dTex->GetID());
|
||||||
|
|
||||||
// ************************************
|
// ************************************
|
||||||
|
|
Loading…
Reference in New Issue