Commit Graph

866 Commits

Author SHA1 Message Date
Henrik Rydgard
2e9daa5f89 All drawing is now indexed lists, through IndexGenerator. 2012-12-21 18:46:15 +01:00
Henrik Rydgard
4eeab83389 Add IndexGenerator.cpp/h which will later be used to combine small draw calls into large indexed draw calls, for better performance. 2012-12-21 17:50:22 +01:00
Henrik Rydgard
2ec8606fcb Flip Y axis for xinput 2012-12-21 17:13:00 +01:00
Henrik Rydgard
4c23d668e1 Cleanup and reorganize gpu code a little 2012-12-21 16:50:14 +01:00
Henrik Rydgard
91744a03b0 Warning fixes 2012-12-21 16:50:13 +01:00
Henrik Rydgard
f5efd6f2b1 JIT: add option to enable/disable jit of memory instructions. for crash safety. 2012-12-21 16:50:13 +01:00
Henrik Rydgård
df12802a5a Merge pull request #209 from raven02/vsocp-new
Implement Vsocp
2012-12-21 04:57:38 -08:00
Henrik Rydgård
d42245482b Merge pull request #213 from raven02/ge_cmd
Change BBOX JUMP/TEST to DEBUG . This fix massive slowdown when hit them .
2012-12-21 04:00:29 -08:00
Henrik Rydgard
4efb66fdb6 Fix hw transform and audio on android, misc 2012-12-21 12:57:43 +01:00
raven02
ab2f0b89e6 Change to DEBUG for BBOX JUMP/TEST .Fix massive slowdown when hit them . 2012-12-21 19:57:38 +08:00
Henrik Rydgard
9db065a979 add #version to the framebuffer drawing shader for compat 2012-12-21 11:24:38 +01:00
Henrik Rydgard
4bf2e52623 HW transform: Avoid 4x3 matrices for GLES 2.0 compat. Add option to turn hw transform on. 2012-12-21 11:08:54 +01:00
raven02
fb773b5acf Fix tab issue 2012-12-21 17:30:17 +08:00
Henrik Rydgard
4d4370232c Assorted minor cleanup and fixes. 2012-12-21 10:20:22 +01:00
Henrik Rydgard
52cf324e9e Try to fix "W1" vertex error 2012-12-21 10:19:37 +01:00
Henrik Rydgård
55fe53f662 Merge pull request #211 from unknownbrackets/alarm
Basic alarm functionality and related fixes
2012-12-21 01:05:34 -08:00
Unknown W. Brackets
5a501bb5ff Fix minor typo. 2012-12-21 01:03:46 -08:00
Henrik Rydgård
6df4145ff0 Merge pull request #210 from raven02/vsrt-new
Implement Vsrt1,Vsrt2,Vsrt3,Vsrt4
2012-12-21 00:31:59 -08:00
Unknown W. Brackets
e9bf6da934 Add alarm test. 2012-12-21 00:23:55 -08:00
raven02
ab0253d71c Implement Vsrt1,Vsrt2,Vsrt3,Vsrt4 2012-12-21 14:57:47 +08:00
Unknown W. Brackets
12fb91b7b5 Don't run interrupts while they're suspended. 2012-12-20 22:49:48 -08:00
Unknown W. Brackets
84b6c3a7c2 Improve accuratcy of CoreTiming::ScheduleEvent(). 2012-12-20 22:48:59 -08:00
Unknown W. Brackets
4fb6c8c0ac Reschedule after interrupts run.
It'll reschedule anyway, so this will just give us a message.

Hardware seems to reschedule, not just go back to the original
thread, but there may be more to it than that.
2012-12-20 21:59:10 -08: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
Unknown W. Brackets
99b24720b8 Oops, not a real pointer, use 0 not NULL. 2012-12-20 20:07:55 -08:00
Unknown W. Brackets
0f364182fc Alarms now fire again based on return value. 2012-12-20 20:07:54 -08:00
Unknown W. Brackets
529818c9cd Handle interrupt return values. 2012-12-20 20:07:54 -08:00
Unknown W. Brackets
d6d1f687a8 Make the intr handler public, will need for timers.
The idea here is that alarm/vtimers/etc. can implement a subclass
to pass more arguments / do whatever they need to.
2012-12-20 20:07:53 -08:00
Unknown W. Brackets
aadbe50357 Implement the basic functionality of alarms.
They only fire the once though, and the use of subintr might be
a bit naive, may need internal funcs.
2012-12-20 20:07:53 -08:00
raven02
b7ef3ad9e9 Implement Vsocp 2012-12-21 11:23:26 +08:00
Henrik Rydgard
19391541fb HW transform: Fix too-harsh lighting 2012-12-20 23:47:19 +01:00
Henrik Rydgard
79bd4e3d41 Lighting fixes (sw + hw) 2012-12-20 23:28:58 +01:00
Henrik Rydgard
1551aea902 HW transform bugfixes 2012-12-20 22:45:26 +01:00
Henrik Rydgard
c279b88e28 Add check for invalid VAG audio addresses 2012-12-20 22:44:28 +01:00
Henrik Rydgard
c3b778daab More work on hw transform. 2012-12-20 18:31:21 +01:00
Henrik Rydgard
7d949bbee0 VertexDecoder: Respect lowerbound of verts to transform. Make decoding a little safer. 2012-12-20 16:03:40 +01:00
Henrik Rydgard
8104a4af5b Prettify logging of context switches 2012-12-20 15:23:15 +01:00
Henrik Rydgård
ba65329480 Merge pull request #204 from KentuckyCompass/colon_never_relative
paths with a colon are never relative
2012-12-20 06:10:01 -08:00
Henrik Rydgård
3c88bb2f45 Merge pull request #205 from raven02/vscmp-new
Implement Vscmp
2012-12-20 06:09:06 -08:00
Henrik Rydgard
39cae09ead Change some warn logging to debug logging, it's fine 2012-12-20 15:07:58 +01:00
Henrik Rydgard
6a7e77ce1d Prevent crashes on bad vertex / index addresses 2012-12-20 15:07:58 +01:00
Henrik Rydgard
4f376a2c34 Hardware vertex transform, preliminary and optional. No lighting yet. Disabled until it works right... 2012-12-20 15:07:58 +01:00
Henrik Rydgard
1b5407f505 Rewrite the vertex decoder a bit. Turn on SSE2 compiler flag etc. 2012-12-20 15:07:57 +01:00
Henrik Rydgard
c4ca9b5956 Get rid of the DecodedVertex struct. 2012-12-20 15:07:57 +01:00
raven02
936d80b214 Implement Vscmp 2012-12-20 21:45:28 +08:00
KentuckyCompass
aeafc92d3b paths with a colon are never relative 2012-12-20 05:33:05 -08:00
Henrik Rydgård
7f880a62ce Merge pull request #203 from raven02/vdet-new
Implement Vdet
2012-12-20 05:32:19 -08:00
raven02
1f83fc4e9c Implement Vdet 2012-12-20 21:19:15 +08:00
Unknown W. Brackets
56fa601d24 Add include for tolower(), made Android unhappy. 2012-12-19 22:27:26 -08:00
Henrik Rydgard
fa7de38ccf PSPSaveDialog: Style/warning fixes. Add a way to return errors (unused). 2012-12-19 21:23:52 +01:00