Project

General

Profile

Actions

Emulator Issues #685

closed

Multisampling in OpenGL plugin

Added by hrydgard about 15 years ago.

Status:
Fixed
Priority:
High
Assignee:
Category:
GFX
% 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.


Related issues 3 (0 open3 closed)

Has duplicate Emulator - Emulator Issues #138: Anti-Aliasing For OGL pluginDuplicateSonicadvance1

Actions
Has duplicate Emulator - Emulator Issues #724: AA problemDuplicate

Actions
Has duplicate Emulator - Emulator Issues #786: Zelda TP Wii, i can't use AntiAliasDuplicate

Actions
Actions

Also available in: Atom PDF