Commit graph

434 commits

Author SHA1 Message Date
Sacha
b76152d88a Use gl_common from native. 2012-11-26 20:38:39 +10:00
Henrik Rydgard
ec55fac3cd Float TC coordinates apparently work in through mode. Add one more special case for blending. 2012-11-26 11:34:23 +01:00
Henrik Rydgard
00c218860e Add -DARM and -DUSING_GLES to standalone Android makefiles. 2012-11-26 09:06:22 +01:00
Henrik Rydgård
b3a6444f4b Merge pull request #94 from xsacha/master
CMakeLists cleanup; Improve portability to future platforms; iOS support
2012-11-26 00:02:30 -08:00
Henrik Rydgård
a5509f2bd0 Merge pull request #93 from tmaul/master
Some sceRtc changes
2012-11-25 23:59:57 -08:00
Sacha
5019462317 iOS Support
Preliminary iOS support using new framework.
2012-11-26 14:06:35 +10:00
Sacha
3c903dda24 Improve portability to future platforms. Make use of new USING_GLES2 define throughout PPSSPP. Also use ARM definition where suitable. Remove some redundancy with includes. 2012-11-26 13:25:14 +10:00
Sacha
a1a72b3f21 CMakeLists cleanup.
Tabified CMakeLists. Introduced USING_GLES2 and X86 option and exposed USING_GLES2 to C++. Removed some redundancies and messiness.
2012-11-26 12:41:57 +10:00
Kevin Armstrong
e3b521b893 sceRtc function stubs, and some actual working functions 2012-11-26 00:36:36 +00:00
Henrik Rydgard
1a7ca88df4 Fix some black textures 2012-11-26 01:21:14 +01:00
Henrik Rydgard
6983c1cd70 upgrade native 2012-11-25 20:09:00 +01:00
Florent Castelli
fd76b2bb15 Fix ordering in gpu state struct 2012-11-25 18:15:30 +01:00
Henrik Rydgard
c0075d8322 Special case for GL_ZERO blend factor too. Don't log on "sync". 2012-11-25 17:48:05 +01:00
Florent Castelli
2f39496ec5 Use ambient material color when no color in the vertex
Fixes color in celshading demo
2012-11-25 17:45:50 +01:00
Henrik Rydgard
4b67f22072 Fixes to usage of gl state stuff 2012-11-25 17:21:23 +01:00
Henrik Rydgard
d0f829353d Support FIXA and FIXB blend factors as well as possible. 2012-11-25 15:49:37 +01:00
Henrik Rydgard
ced89f5983 Warning fixes 2012-11-25 15:46:51 +01:00
Henrik Rydgard
b039f58aea Unbreak BB build 2012-11-25 13:46:11 +01:00
Henrik Rydgård
6f8f5cb391 Fix gl ui issues 2012-11-25 12:39:15 +01:00
Henrik Rydgård
fc453c979f MacOSX buildfix. Doesn't run right yet though. 2012-11-25 12:25:07 +01:00
Henrik Rydgård
ec25bfc9a4 Merge pull request #90 from tmaul/master
Update sceRtcSetTick based on test cases
2012-11-25 02:13:27 -08:00
Henrik Rydgård
85c9a43dc1 Merge pull request #91 from unknownbrackets/linux-fix
Fix tests on Linux to behave more like Android.
2012-11-25 02:11:05 -08:00
Unknown W. Brackets
5022922a3a Make headless take arguments like a standard cli.
I like -l.
2012-11-24 21:59:38 -08:00
Unknown W. Brackets
8432c83036 Fix tests on Linux to behave more like Android. 2012-11-24 21:59:38 -08:00
Unknown W. Brackets
8736a567b2 Advance the PC after vrnds. 2012-11-24 18:25:42 -08:00
Kevin Armstrong
abbe155971 Missing new line at eof warning fix 2012-11-25 00:57:34 +00:00
Kevin Armstrong
31aa8ed5eb Update libkirk to latest version
Just in case..
2012-11-25 00:55:42 +00:00
kev :)
68d644306e Rename and retype a variable 2012-11-25 00:22:39 +00:00
kev :)
7e85df9c0f Update sceRtcSetTick based on test cases 2012-11-25 00:14:14 +00:00
Florent Castelli
4143801891 Handle depth range (zmin, zmax) in a hackish way 2012-11-25 00:15:21 +01:00
Florent Castelli
f71d82fc6e Merge pull request #88 from unknownbrackets/texcache
Make the texcache evict less often
2012-11-24 11:20:04 -08:00
Unknown W. Brackets
8971ff7e99 Don't log texture cache evictions. 2012-11-24 11:00:29 -08:00
Unknown W. Brackets
11868f26a9 Cache textures based on more parameters.
This makes Tales of Eternia run much faster.
2012-11-24 10:58:10 -08:00
Unknown W. Brackets
8e09869ac2 Invalidate the texcache without restarting loop. 2012-11-24 10:43:16 -08:00
Unknown W. Brackets
063f914ff3 Fix project files so things build again. 2012-11-24 09:20:53 -08:00
Florent Castelli
eb6638bc8f Linux fixup 2012-11-24 17:40:08 +01:00
Henrik Rydgård
cb7e5f11f1 Merge pull request #59 from Orphis/gpustate
Defer some state changes to draw command
2012-11-24 07:01:55 -08:00
Florent Castelli
56175bc505 Defer blend, cull and depth test changes to draw command
Avoid unnecessary state changes and reduces the amount of OpenGL calls.
It also puts all the interesting logic at the same place, reducing the
complexity a little.
2012-11-24 15:19:29 +01:00
Henrik Rydgård
364061a45c Merge pull request #85 from unknownbrackets/audio-crashfix
Add some guards to audio funcs on channel
2012-11-24 00:45:51 -08:00
Unknown W. Brackets
3642c02562 Add some guards to audio funcs on channel.
The atrac test was crashing.
2012-11-23 16:25:26 -08:00
Henrik Rydgård
d78bd1bdb4 Merge pull request #84 from tmaul/master
add sceKernelMemcpy & sceRtcSetTick
2012-11-23 11:09:08 -08:00
kev :)
fcfeeb8319 add sceKernelMemcpy & sceRtcSetTick
Untested apart from via games. gets bemani going further.
2012-11-23 18:51:36 +00:00
Henrik Rydgård
388eaaa0e3 Merge pull request #83 from unknownbrackets/master
Change test line numbers to match IDEs
2012-11-23 10:13:55 -08:00
Unknown W. Brackets
c4731cffc8 Change test line numbers to match IDEs. 2012-11-23 10:07:38 -08:00
Florent Castelli
fbc47cd961 Strip whitespace from test result lines 2012-11-23 18:41:46 +01:00
Florent Castelli
67d09c2c26 Tests diff the output and expected output until the end of both file 2012-11-23 18:33:40 +01:00
Florent Castelli
c3635f84d3 Fix headless binary path on Linux, add shebang and exec flag to test.py 2012-11-23 17:15:38 +01:00
Florent Castelli
1968841d20 Fix Linux build 2012-11-23 17:03:51 +01:00
Henrik Rydgard
b964516669 Fix clear mode, turn Alpha Test back on 2012-11-23 12:43:31 +01:00
Henrik Rydgard
a97f66766d Add "slightly faster interpreter", optimizing the most common instrs. Not as helpful as I thought it would be on Android, really need a proper JIT. 2012-11-23 12:42:35 +01:00