Actions
Emulator Issues #685
closedMultisampling in OpenGL plugin
% Done:
0%
Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
Description
Currently, the OpenGL plugin does not support multisampling. It should.
The approach will be to enable multisampling on the current main render
buffer, and create an additional render buffer as resolve target.
We'll change the Renderer::GetRenderTarget to
Renderer::ResolveAndGetRenderTarget(TRectangle &rect) which, if multisample
is enabled, will use glBlitFramebufferEXT() to resolve that rectangle to
the resolve target and return the identifier of the resolve target. In case
of multisampling disabled, it will just return the ordinary render buffer
as usual.
We'll have to do the same for the Z buffer target.
I plan to get this done in the coming week or two - if someone else wants
to do it now, go right ahead but tell me first.
Actions