Post Reply 
 
Thread Rating:
  • 20 Votes - 4.3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guide:- Maximizing the performance of PPSSPP on your Android/Windows device.
09-03-2016, 05:03 PM
Post: #275
RE: Guide:- Maximizing the performance of PPSSPP on your Android/Windows device.
Chainfire3D causes problems for sure. Basically, it works like this:

We might need to copy data from one framebuffer to another, so we check - does the GPU support this or do we need to do it manually?

If yes, we go through a bit of overhead and wasted time to prepare things, so that we can use the fast GPU copy.

If no, we use optimized code to make the copy without the GPU there to assist with its speed. It's not as fast but it's as close as we can get.

But Chainfire3D throws a wrench in the works. It lies. It fibs something bad, and says you DO support a fast GPU copy. So then here's what happens:

We think yes, so we waste a bunch of time preparing things, and then tell the GPU to do a fast copy. It can't, so either it fails, or more likely Chainfire3D code intercepts and then tries to backtrack, eventually figuring out (after wasting more time) the original copy we wanted to do, and then finally copies the slow way.

Note that sometimes, Chainfire3D may cause us to skip things and might cause rendering issues - this might be faster, although glitchier. But in other cases as I described above, it just makes things slower.

I get its usage for a game where the developers were too lazy to implement a "not fast GPU copy", because it may allow you to play the game on an unsupported device. That's not the case with PPSSPP.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Guide:- Maximizing the performance of PPSSPP on your Android/Windows device. - [Unknown] - 09-03-2016 05:03 PM

Forum Jump: