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
Henrik Rydgard
f3aeadedfa
Remove audio rate throttling, it's better to frame rate throttle. Gets rid of the slowdown that audio caused.
2012-11-23 10:35:28 +01:00
Henrik Rydgard
d141d205f8
Delete old textures, to prevent memory usage from growing indefinitely.
2012-11-22 23:07:15 +01:00
Henrik Rydgard
f378f959e1
Fix issues with games that don't call sceDisplaySet mode. Add option to run without FBOs, may be useful on slow devices.
2012-11-20 10:59:23 +01:00
Henrik Rydgard
ee32db47b9
Assorted FBO fixes
2012-11-20 00:31:19 +01:00
Henrik Rydgard
4a49b8ee36
Workaround for motogp setting a bogus framebuffer address.
2012-11-19 23:53:38 +01:00
Henrik Rydgard
8b67975a47
GL: Framebuffer management using FBOs. Fixes flicker in Lumines and many others.
2012-11-19 23:29:14 +01:00
Henrik Rydgard
91e1cce17e
Some reorg in preparation for FBO work
2012-11-19 21:23:29 +01:00
Henrik Rydgård
14a59fdc75
Found a better way to do the previous change. Allow JIT on mac/linux.
2012-11-19 14:51:47 +01:00
Henrik Rydgård
fb25b7405c
Synchronize the mainloop to the display end-of-frame on nonWindows
...
platforms.
2012-11-19 14:16:37 +01:00
kev :)
03bc871f56
sceDisplayWaitVblankStartMultiCB()
...
This is wrong but better than having nothing in the method. The one game
I have found that uses this seems to be ok with this implementation.
2012-11-18 20:13:27 +00:00
Henrik Rydgard
75412b064b
Implement sceUtilityMsgDialog
2012-11-18 17:51:14 +01:00
Henrik Rydgard
5596b98529
Get rid of opengl include from sceDisplay.cpp
2012-11-18 13:14:22 +01:00
Henrik Rydgard
e37a1fb1d3
Add internal 2D drawing library that goes through the Ge emulation for portability.
...
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgard
a49e1ba5b5
sceDisplayWaitForVblank shouldn't call sceDisplayWaitForVblankStart...
2012-11-09 18:03:52 +01:00
Henrik Rydgard
259b169bbc
Implement a few more little things
2012-11-08 16:28:45 +01:00
Henrik Rydgard
1391d83afd
Never do RETURN() after blocking (Wait etc), as it will zero out a register in the wrong thread.
2012-11-07 16:05:39 +01:00
Henrik Rydgard
aea0580297
More reworking of Callbacks, plus some other little fixes.
2012-11-07 15:44:48 +01:00
Henrik Rydgard
8a082f91cc
Ge Callbacks seem to be working now.
2012-11-06 18:14:09 +01:00
Henrik Rydgard
714beabe2e
Add some new imports
2012-11-06 17:05:51 +01:00
Henrik Rydgard
85d5cfd8c4
Add more proper "Null" GPU
2012-11-06 17:05:27 +01:00
Henrik Rydgard
c61d10363a
Rewrite callback handling, part 1. All sorts of other fixes too.
2012-11-06 15:46:46 +01:00