Project

General

Profile

Actions

Emulator Issues #8195

closed

Creation of a hybrid xfb mode for games that need real xfb only at certain times ingame (videos for example).

Added by kostamarino almost 10 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
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:
5.0-5874

Description

There are plenty of games currently that need real xfb only at certain times ingame, usually during video playback. The current way we deal with it is the enforcement of real xfb for the whole game through the gameini files, the downside of it is that all of them have to be played at low res for a proper experience, for something that sporadically happens ingame canceling one of dolphins greatest features which is upscaling. According to phiren's request i am opening this issue with his proposal on how to deal with it:

"Theoretically a "Hybrid XFB" mode could exist. Acts like virtual xfb unless it (somehow) detect something has been written to the xfb. Then it could switch to real xfb mode. Every frame it would have to check if anything has been written to xfb (such a check could be implemented through hashing, filling the xfb with zeros, cache flushes or locking)

Then the xfb would be transferred to the video card and either keyed into the virtual xfb or replacing the complete contents of virtual xfb."


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #8194: NASCAR Thunder 2003-Videos don't output graphicsDuplicatekostamarino

Actions
Actions

Also available in: Atom PDF