Commit graph

39543 commits

Author SHA1 Message Date
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
Florent Castelli
3d1a14ef78 Include SDL.h instead of SDL/SDL.h 2012-11-25 22:25:54 +01:00
Henrik Rydgard
6983c1cd70 upgrade native 2012-11-25 20:09:00 +01:00
Henrik Rydgard
3837eb1065 Fix glDepthRangef crash 2012-11-25 20:06:29 +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
41b4cf836c Add stencil support to FBO code. Attempt to make it work on Tegra (not tested) 2012-11-25 17:19:17 +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
f4278247ed glstate: Support glBlendColor 2012-11-25 15:47:26 +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
41e5a5f367 proper tabs 2012-11-25 12:38:44 +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
86ed7895d4 MacOSX build fix 2012-11-25 12:24:26 +01:00
Henrik Rydgård
fd25214d49 Only need to include zip.h on android. 2012-11-25 11:31:20 +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
62b5bc46d0 Add glDepthRange caching 2012-11-25 00:13:08 +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
Unknown W. Brackets
275331061e Fix vcxproj files so things build again. 2012-11-24 09:16:46 -08:00
Henrik Rydgard
863bc863c9 Some more arm work 2012-11-24 17:51:10 +01:00
Florent Castelli
eb6638bc8f Linux fixup 2012-11-24 17:40:08 +01:00
Florent Castelli
2680dfe10c Linux fixup 2012-11-24 17:38:19 +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
Henrik Rydgård
8bc3c18980 Merge pull request #10 from Orphis/statecache
Add OpenGL state cache to save some redundant state change.
2012-11-24 07:01:36 -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
Florent Castelli
8900d99779 Add OpenGL state cache to save some redundant state change. 2012-11-24 15:19:08 +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