Henrik Rydgard
69da33bd29
Add Show FPS to in-game menu on mobile. Make it green and right-adjusted.
2013-02-12 00:34:59 +01:00
raven02
944e803b14
Change appropriate name to calculateFPS
2013-02-11 18:20:12 +08:00
raven02
88d060848b
Prevent FPS overlap and add FPS to debug statistics
2013-02-11 18:00:18 +08:00
Unknown W. Brackets
f8de30b94d
Put the fps on the right side.
...
This way it doesn't overlap the debug text.
2013-02-11 00:39:01 -08:00
Henrik Rydgård
c07370ac3c
Merge pull request #650 from KentuckyCompass/fps_counter
...
Fps counter
2013-02-10 23:04:22 -08:00
KentuckyCompass
f9cafde55c
Show record high FPS
2013-02-10 22:50:53 -08:00
KentuckyCompass
475ee2ed71
Show an FPS counter if ini option is true
2013-02-10 22:24:44 -08:00
Unknown W. Brackets
eaaf027035
Implement sceDisplayWaitVblankStartMulti().
...
Fixes Falcom games running at too-fast framerates.
2013-02-10 19:02:00 -08:00
Unknown W. Brackets
6fda78fb02
Add a few missing sceDisplay syscalls.
...
Found in Lunar.
2013-02-10 18:39:00 -08:00
Unknown W. Brackets
2e0beb5833
Buildfix for Windows.
2013-02-10 08:10:01 -08:00
Unknown W. Brackets
dc15c004e9
Don't sleep for vsync in headless.
...
Makes the tests run faster, timeout less.
2013-02-09 00:49:23 -08:00
Unknown W. Brackets
f875e3699f
Handle the emit screenshot headless command.
...
But, it doesn't work. Shouldn't the vram have the graphics?
2013-02-07 22:44:54 -08:00
Unknown W. Brackets
82a8450758
Fix some more non-pod structs in savestates.
2013-02-04 08:27:02 -08:00
Florent Castelli
8004d360dd
Interrupt handler reorganization for easier GE interrupt support
2013-02-04 03:10:01 +01:00
Unknown W. Brackets
2fa0cf040d
Fix alarm test by not interrupting when disabled.
...
vblank was interrupting/rescheduling when interrupts were disabled.
That's bad.
2013-02-03 13:48:19 -08:00
Unknown W. Brackets
f6ade0fcc2
Always reschedule on vblank, even without handler.
2013-02-02 23:28:44 -08:00
Unknown W. Brackets
1cb7a88137
Don't use a dynamic string for wait debugging.
...
Happens in release, and shows up on the profiler.
Not huge, but should save ~0.5% of cpu time.
2013-01-26 11:29:19 -08:00
Henrik Rydgard
8a32779150
Misc GPU stats etc changes
2013-01-25 18:29:14 +01:00
Henrik Rydgard
cb7f803866
Attempt to set more correct return values for sceDisplayWaitVblank*
2013-01-23 18:46:59 +01:00
Henrik Rydgard
d9c9a9102a
Tiled renderers are much faster if we clear FBOs before rendering.
...
Alternatively we could use glDiscardFramebufferEXT but I haven't figured out how to call it.
2013-01-20 22:05:11 +01:00
Henrik Rydgard
8ff96bbcd8
Defer vertex decoding until flush. Track draw calls so that they can be cached later.
2013-01-19 17:05:50 +01:00
Henrik Rydgard
7b113aaea5
Move vCount++ back. Makes more sense here too IMHO.
2013-01-13 16:47:41 +01:00
Henrik Rydgard
a79caf0bb9
Handle vcount like jpscp. sceDisplayWaitVblank shouldn't wait if already in vblank (while WaitVBlankStart does).
2013-01-13 11:33:26 +01:00
Unknown W. Brackets
bec6c8d80c
Make the debug statistics easier to read.
2013-01-11 09:01:57 -08:00
Unknown W. Brackets
6ec8fe6bf3
Track summed totals of syscalls.
...
Just so we can easily see if some func is being called a ton.
2013-01-11 08:59:15 -08:00
Henrik Rydgard
6ab6045baf
Throw away unused FBOs. This gets rid of extreme slowness of Star Soldier on Nexus S for whatever reason.
2013-01-11 02:00:51 +01:00
Henrik Rydgard
7390f2b5f6
Some realtime profiling stuff. Enable FZ (flush-to-zero) mode.
2013-01-11 00:13:39 +01:00
Henrik Rydgard
88e921b074
Use invalidatecachehint in dcachewritebackinvalidateall too. Count invalidations.
2013-01-06 12:27:01 +01:00
Unknown W. Brackets
589916fca2
Move GPU state to sceDisplay, reset GPU on load.
2012-12-29 12:49:49 -08:00
Henrik Rydgård
95c4e0b9c4
Quick build fix for gcc
2012-12-28 23:33:00 +01:00
Unknown W. Brackets
5999fac10d
Start saving the state of the GPU.
...
Not 100% sure this is all that's needed, but let's try it.
2012-12-28 13:55:30 -08:00
Henrik Rydgård
3f5eae3db5
Add some options to ingame menu. Minor fixes.
2012-12-27 23:38:55 +01:00
Henrik Rydgård
d95dbca9be
Cleanup GPU init/shutdown a bit
2012-12-25 22:42:19 +01:00
Henrik Rydgård
862a11e7be
Clear some state between runs. Tabs fixing.
2012-12-23 11:16:32 +01:00
Unknown W. Brackets
66e942c545
Fix some "might be null" warnings.
2012-12-21 16:25:05 -08:00
Henrik Rydgard
d663e28bde
More work and optimization. Still not quite there.
2012-12-21 21:49:09 +01:00
Henrik Rydgard
3b114eb24a
More work on indexed draws. Not combining yet.
2012-12-21 19:16:17 +01:00
Henrik Rydgard
91744a03b0
Warning fixes
2012-12-21 16:50:13 +01:00
Unknown W. Brackets
9034cfbfd3
Defer HLE interrupts, vblank only when enabled.
...
Based on tests, vblank doesn't queue up (makes sense) while
interrupts are disabled.
I'm not 100% sure about the GPU stuff but it seems to only come
from HLE via sceGe, so this should fix those return values.
2012-12-20 21:54:40 -08:00
Henrik Rydgard
0448c62146
Properly size debug text when zoomed
2012-12-18 14:13:35 +01:00
Henrik Rydgard
4ef0627387
Revert puyo puyo hack, breaks things (not very surprisingly)...
...
There has to be some function that should reschedule that doesn't, though...
2012-12-18 10:38:25 +01:00
Henrik Rydgard
2b8419e0ff
Attempt more accurate frame timing (windows). Increase audio volume.
2012-12-18 10:25:57 +01:00
Henrik Rydgard
b6ebe427ac
Use the right reschedule function..
2012-12-18 09:26:51 +01:00
Henrik Rydgard
3bd5cfed73
Work around for strange idling issue, various fixes
2012-12-17 23:33:24 +01:00
Henrik Rydgard
a60d487d8d
Create files for sceUsb
2012-12-17 21:45:32 +01:00
Henrik Rydgard
cb29c1ce4b
Don't use __KernelTriggerWait in sceDisplay
2012-12-17 20:14:54 +01:00
Unknown W. Brackets
fda41752e8
Simplify the API for HLE funcs to do callbacks.
...
__KernelWaitCurThread() already (ultimately) calls __KernelCheckCallbacks.
2012-12-09 01:04:52 -08:00
TMaul
ea21789d34
Fake sceDisplayWaitVblankStartMulti
...
And stub the sceVaudio fuctions called by DOA paradise
2012-12-06 18:02:56 +00:00
Unknown W. Brackets
fd2d666191
Add ctrl sampling (vblank).
...
This makes it work like the PSP does with number of buffers, etc.
Still doesn't wait yet.
2012-12-02 15:44:23 -08:00
Henrik Rydgard
870ea6628b
Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working).
2012-11-26 17:35:08 +01:00