This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very simple frame skipping code!
#10
(08-05-2011, 05:30 PM)Orphis Wrote: I think the heavy functions in the OpenGL pipeline are the PRIM, BEZIER, SPLINE and the frame buffer transfer command (XKICK if I remember correctly). The other ones aren't very time consuming.
Yes, PRIM, BEZIER and SPLINE can be skipped, but TRXKICK should not: it is used by some games to copy parts of the display list.
Also, bounding boxes can probably be skipped as well: skip BBOX and always take the jump in BJUMP.

overgamer Wrote:Also I don't know if it is possible to use a profiler to check where exactly is the heavy rendering part, it would help a lot.
Statistics (e.g. duration of each VideoEngine command) can be activated by setting jpcsp.util.DurationStatistics.collectStatistics to true. Statistics are then displayed in the log file when Jpcsp exits.

In your draft implementation, you were actually not skipping any frame rendering: the GE list was still enqueued in the VideoEngine, the list processing was just delayed (probably to the next VSYNC). This would probably only cause the application to run slower, but not skip any frame.
The approach proposed by Orphis is much more promising.
Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Reply


Messages In This Thread
Very simple frame skipping code! - by overgamer - 08-05-2011, 02:31 PM
RE: Very simple frame skipping code! - by Hykem - 08-05-2011, 03:10 PM
RE: Very simple frame skipping code! - by lwj1985 - 08-05-2011, 03:29 PM
RE: Very simple frame skipping code! - by Orphis - 08-05-2011, 04:27 PM
RE: Very simple frame skipping code! - by void - 08-07-2011, 02:14 PM
RE: Very simple frame skipping code! - by Orphis - 08-05-2011, 05:30 PM
RE: Very simple frame skipping code! - by gid15 - 08-07-2011, 07:58 PM
RE: Very simple frame skipping code! - by Orphis - 08-08-2011, 02:20 AM
RE: Very simple frame skipping code! - by Orphis - 08-15-2011, 11:00 PM
RE: Very simple frame skipping code! - by kasimo - 08-16-2011, 05:26 AM
RE: Very simple frame skipping code! - by kasimo - 08-16-2011, 10:49 AM
RE: Very simple frame skipping code! - by Orphis - 08-16-2011, 12:20 PM
RE: Very simple frame skipping code! - by gid15 - 03-12-2012, 07:24 PM
RE: Very simple frame skipping code! - by serio - 03-12-2012, 08:12 PM
RE: Very simple frame skipping code! - by gid15 - 03-17-2012, 09:38 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)