Commit Graph

19485 Commits

Author SHA1 Message Date
Unknown W. Brackets
83436991ec softgpu: Add support for normal UV projection. 2016-01-17 23:33:59 -08:00
Unknown W. Brackets
1a2c7ea487 softgpu: Recreate VAO on device lost. 2016-01-17 23:33:59 -08:00
Unknown W. Brackets
bf536e56f5 softgpu: Use common GLSL creation code.
This ought to handle leaving the app on Android, for example.  Not that
tons of Android users are using softgpu...
2016-01-17 23:33:58 -08:00
Unknown W. Brackets
59523f1327 Atrac: Fix logging of new atrac ID. 2016-01-17 20:10:11 -08:00
Henrik Rydgård
14fb4f2c22 Merge pull request #8446 from unknownbrackets/minor
Don't attempt pause while stepping
2016-01-18 00:54:12 +01:00
Unknown W. Brackets
e5b4051211 Don't attempt pause while stepping.
We'll just hang in that case.
2016-01-17 15:47:44 -08:00
Unknown W. Brackets
516147680c Merge pull request #8182 from LunaMoo/minor_cleaning
Move "Display Rotation" and stretching options to display layout editor.
2016-01-17 14:54:39 -08:00
Unknown W. Brackets
6d6c415f2b Merge pull request #8443 from hrydgard/pseudo-shader-cache-gl-2
GL shader disk cache .. kind of
2016-01-17 14:28:05 -08:00
LunaMoo
f54e9d8ac4 Rename variable to match others. 2016-01-17 22:56:42 +01:00
Henrik Rydgard
6df8573583 Minor fixes 2016-01-17 22:53:06 +01:00
Henrik Rydgård
2e2904c796 Merge pull request #8442 from unknownbrackets/atrac-remaining
Atrac: Correct remaining values when looping
2016-01-17 22:40:08 +01:00
LunaMoo
6751617c8f Smooth out touch moving and resize and other small changes. 2016-01-17 22:32:08 +01:00
Unknown W. Brackets
face527d7e Atrac: Correct remaining values when looping.
Otherwise it was going negative, which was wrong.
2016-01-17 13:22:12 -08:00
Henrik Rydgard
b39206f922 Use the app cache directory on Android for the shader cache. 2016-01-17 22:15:23 +01:00
Henrik Rydgård
c19335ff98 Merge pull request #8441 from unknownbrackets/gpu-mpeg
Use video format when uploading directly to framebuffers
2016-01-17 22:01:56 +01:00
Unknown W. Brackets
b40c3fd839 Use video format when uploading to framebuffers.
Expected to help Bounty Hound, #8392.
2016-01-17 12:57:27 -08:00
Unknown W. Brackets
48729b90d8 Correct buffer size when writing a video range. 2016-01-17 12:57:27 -08:00
Unknown W. Brackets
f60aef2e16 Add a more specific interface for video frames.
Since we know more about them.  No functional change yet.
2016-01-17 12:57:26 -08:00
Unknown W. Brackets
73bcf16612 Flush before loading the CLUT.
In case it's what was being rendered to.
2016-01-17 12:55:48 -08:00
Unknown W. Brackets
58ecb2cbd4 Fix a header declaration.
Seemed to be needed for x64 Android, and is correct as bitfield anyway.
2016-01-17 12:55:47 -08:00
Henrik Rydgard
e92beb619c Disable the shader cache for homebrew and other things that lack disc_id 2016-01-17 21:35:46 +01:00
Henrik Rydgard
dfcfb530d7 Log how long it takes to compile shaders at the start. 2016-01-17 20:53:58 +01:00
Henrik Rydgard
5cd5812239 Handle shader compile errors gracefully when loading shader cache. 2016-01-17 20:44:52 +01:00
Henrik Rydgard
b246442374 Hook up GL shader cache. Cache linked shader programs. 2016-01-17 20:44:51 +01:00
Henrik Rydgård
d6c1f3158b Merge pull request #8439 from hrydgard/shader-manager-cleanup
Shader manager cleanup
2016-01-17 20:37:12 +01:00
Henrik Rydgard
790210f6ef Minor fixes 2016-01-17 20:33:22 +01:00
Henrik Rydgard
36e1840ea0 More parameter removal 2016-01-17 20:33:22 +01:00
Henrik Rydgard
332310c2d6 Remove redundant parameters 2016-01-17 20:33:21 +01:00
Henrik Rydgard
dfa7a252de Get rid of some redundant vertex shaders when using unlit ShadeMapping (wipeout, etc) 2016-01-17 20:33:21 +01:00
Henrik Rydgard
c8b1064d20 GL Cleanup: No longer redundantly store the shader ID inside the shader objects 2016-01-17 20:33:14 +01:00
Henrik Rydgard
a53d31a8d7 Make virtual gamepad visible from the start if button fading is on. They'll fade out after a while. 2016-01-17 20:31:10 +01:00
Unknown W. Brackets
63aa4291eb Atrac: Fix savestates.
Darn, totally forgot.  This should populate acceptable values for old
streamed atrac as well.
2016-01-17 10:05:15 -08:00
Unknown W. Brackets
d5196b44f9 Minor tweaks. 2016-01-17 09:45:55 -08:00
Henrik Rydgard
3ba911bf07 Replace some calls to fopen with File::OpenCFile (utf8). 2016-01-17 15:59:20 +01:00
Henrik Rydgard
27c71aa340 Get rid of the unused "InstallID" 2016-01-17 15:46:15 +01:00
LunaMoo
80fa2695bf Tabs can't live in space and some other corrections. 2016-01-17 12:13:15 +01:00
Henrik Rydgard
98c779ccb8 Fix #8255 by swapping the two portrait modes.
Thanks unknown.
2016-01-17 11:03:34 +01:00
Henrik Rydgård
b2140d73e7 Merge pull request #8435 from unknownbrackets/atrac-stream
Calculate stream data info a bit more accurately
2016-01-17 10:30:09 +01:00
Henrik Rydgård
93490f5329 Merge pull request #8436 from unknownbrackets/atrac-lowlevel
Simplify lowlevel atrac decoding a lot
2016-01-17 10:26:59 +01:00
Henrik Rydgård
82c1f4418e Merge pull request #8437 from unknownbrackets/mpeg-audio
Handle out of audio more correctly, consistently abuse esBuffer
2016-01-17 10:24:46 +01:00
Unknown W. Brackets
74d40115a0 Mpeg: Initialize esBuffer to safer values.
Makes the audio work properly in Dan Ball Senki W (#4786.)
2016-01-17 00:31:22 -08:00
Unknown W. Brackets
c03f6c23ed Mpeg: Return errors when no audio is available.
Before, we were only returning an error once, in an effort to log only
once.  This meant sometimes games would not realize they needed to add
packets.
2016-01-17 00:22:46 -08:00
LunaMoo
55903cee77 Set default partial stretch only for blackberry devices without ws. 2016-01-17 09:21:14 +01:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
LunaMoo
e4271fe1bc Integrate stretching options into display layout editor. 2016-01-17 09:18:41 +01:00
LunaMoo
0c2efa6d44 Make sure display representation matches all cases and recreate views on window resize(this also fixes touch control layout screen). 2016-01-17 09:18:40 +01:00
LunaMoo
57c193d742 Add Display Rotation to windows menu bar. 2016-01-17 09:18:39 +01:00
LunaMoo
284600b1a7 Move "Display Rotation" to display layout editor.
Fix portrait rotation representation in the editor with auto setting.
Minor cleanup.
2016-01-17 09:18:36 +01:00
Unknown W. Brackets
849df69690 Atrac: Simplify lowlevel init more. 2016-01-16 23:12:12 -08:00
Unknown W. Brackets
a686ca69fd Atrac: Simplify lowlevel decoding.
No need for all these variables that just spin and do nothing.
2016-01-16 23:03:22 -08:00