Commit graph

13329 commits

Author SHA1 Message Date
Unknown W. Brackets
8b46faed50 Implement intra-buffer block transfer. 2014-06-03 22:51:16 -07:00
Unknown W. Brackets
fcb70a00b3 Fix incorrect scale in fbo download.
This caused some videos and scenes to show at the wrong resolution.
2014-06-03 22:29:42 -07:00
Henrik Rydgård
48d4c4c00f Merge pull request #6223 from unknownbrackets/framebuf-estimate
Ignore sizes with unreasonable heights
2014-06-03 17:17:10 +02:00
Unknown W. Brackets
b9652c2112 Ignore sizes with unreasonable heights.
God of War sets region to 1024x1024, but doesn't draw in that whole space.
2014-06-03 07:52:05 -07:00
Henrik Rydgård
318f641c63 Merge pull request #6220 from unknownbrackets/lagsync
Add option for less timing lag (spin on Windows)
2014-06-03 10:53:20 +02:00
Henrik Rydgård
e6d3a9c1b6 Merge pull request #6211 from unknownbrackets/framebuf-estimate
Another attempt at framebuffer size estimate changes
2014-06-03 10:50:21 +02:00
Unknown W. Brackets
66d0cef0de Avoid calling select() with an error pointlessly.
It's just a spin loop unfortunately anyway.
2014-06-03 01:48:10 -07:00
Unknown W. Brackets
0bba5310b6 Fix lagsync with alternate speed set. 2014-06-03 01:36:20 -07:00
Unknown W. Brackets
0daaf70ee3 Add UI for realtime sync option. 2014-06-03 01:36:20 -07:00
Henrik Rydgård
a675c30fb8 Merge pull request #6221 from unknownbrackets/framebuffer-clut
When rendering a framebuffer using clut, check alpha
2014-06-03 10:10:41 +02:00
Unknown W. Brackets
238bdce2b8 Detect if framebuffer clut uses alpha.
It's not a perfect check but it may allow skipping alphatests sometimes.
2014-06-03 01:06:02 -07:00
Unknown W. Brackets
bf788e278d Change CheckAlpha() to apply to any pixel data.
For example, cluts.  But not yet, just changing it here.
2014-06-03 00:59:34 -07:00
Unknown W. Brackets
a18eceac71 Don't skip alpha in 565/clut framebuffers textures. 2014-06-03 00:45:15 -07:00
Sacha
1378b891dc Qt .pro cleanup. Use armv7 on Android. 2014-06-03 17:30:37 +10:00
Unknown W. Brackets
39b1d97beb Make the lag sync adapt to minor variance. 2014-06-02 23:34:48 -07:00
Unknown W. Brackets
29f2519861 Add an experimental sync to keep real time sync.
May help input, audio, and network related lag problems.
2014-06-02 23:34:48 -07:00
Unknown W. Brackets
b069462bea Relax display buffer / GetVfbAt() requirements.
Castlevania actually uses a display buffer of 420, it seems.  Since we no
longer allow multiple FBOs at the same address, this should be safe.
2014-06-02 22:51:37 -07:00
Unknown W. Brackets
304d372f48 When clamping height to 512, try region/scissor. 2014-06-02 21:46:22 -07:00
Sacha
84ff3d6767 More Qt on Android improvements. 2014-06-03 10:19:23 +10:00
Sacha
438b219eb2 Qt: Support Android armv6. Compiles and runs fine with gcc4.8. Creates 16MB APK but less than 10MB with Ministro. 2014-06-03 09:27:30 +10:00
Henrik Rydgård
91cb320e6f Merge pull request #6212 from thedax/win32-buildfix
Win32: fix three warnings.
2014-06-02 23:42:58 +02:00
Henrik Rydgård
c276798aca Merge pull request #6217 from thedax/win32-buildfix2
Win32: Use CALLBACK (__stdcall) for DinputDevice::DevicesCallback.
2014-06-02 14:40:11 +02:00
The Dax
70e1abac08 Win32: Use CALLBACK (__stdcall) for DinputDevice::DevicesCallback. Fixes 32-bit compilation. 2014-06-02 08:28:35 -04:00
Henrik Rydgård
719aa9d9d2 Merge pull request #6213 from sum2012/UI
OSK for network setting for non-windows
2014-06-02 12:54:43 +02:00
sum2012
6ed269d16b Attempt to solve Travis CI build 2014-06-02 18:28:16 +08:00
sum2012
d3c511e793 Use TextView instead of Choice 2014-06-02 18:21:34 +08:00
sum2012
c9219e1d0c Add missing "F" 2014-06-02 16:40:37 +08:00
Unknown W. Brackets
78c83e122d Force 481x273 to 480x272, it's seen in a few games. 2014-06-01 23:47:37 -07:00
sum2012
93827b383d OSK for network setting for non-windows
Fix windows 's full screen problem too
2014-06-02 14:15:07 +08:00
Unknown W. Brackets
3021640897 Correct widths in stencil upload too. 2014-06-01 21:24:33 -07:00
Unknown W. Brackets
c2ccfd5629 Stop stretching things to the FBO size.
Instead, draw in the top corner.  This way, even if framebuffers get
smaller things stay consistent.
2014-06-01 21:20:04 -07:00
Sacha
319c0efcb2 Remove MAY_HAVE_GLES3 2014-06-02 12:08:49 +10:00
Unknown W. Brackets
cfb21707b6 Take the tallest estimate, scissor may be short.
Even if it's wider but short, it should not reduce the height of the
buffer.
2014-06-01 18:45:25 -07:00
Unknown W. Brackets
d64d2afcb3 Don't allow a zero framebuf stride in estimation. 2014-06-01 18:45:03 -07:00
Sacha
da0a497aba Allow Symbian to compile gl3stub (MAY_HAVE_GLES3). 2014-06-02 11:33:28 +10:00
The Dax
1059f99d69 One more warning fix. 2014-06-01 18:53:35 -04:00
The Dax
58411136ee Remove the const int, and fix another warning. 2014-06-01 18:32:14 -04:00
The Dax
9672701743 Win32 buildfix and warning fix.
I don't know how many pads are supposed to be supported, but I went with a reasonable number until the proper amount is committed.
2014-06-01 18:25:35 -04:00
Unknown W. Brackets
a351a42041 Cleanup some old comments/code. 2014-06-01 14:00:58 -07:00
Unknown W. Brackets
d03397f056 Blit framebuf contents when resizing.
This avoids a blink when sizing up.
2014-06-01 13:53:34 -07:00
Unknown W. Brackets
32439bc006 Recreate framebuffers when they get bigger.
To avoid cases where they remain too small, and to make sure size always
matches up sanely.
2014-06-01 13:53:27 -07:00
Unknown W. Brackets
73234941e1 Consider stride more when determining fb size. 2014-06-01 13:50:37 -07:00
Henrik Rydgård
62aafbbf48 Merge pull request #6195 from Bigpet/SDLmuljoy
multiple SDL joystick support, initial commit
2014-06-01 22:11:10 +02:00
Henrik Rydgård
77e947bf58 Merge pull request #6200 from Bigpet/muldinputdevs
initial commit for multiple DInput devices.
2014-06-01 22:10:39 +02:00
Unknown W. Brackets
003f20c694 Allow scissor, but not depthtest during glClear().
Improves #6210.
2014-06-01 10:34:57 -07:00
Unknown W. Brackets
111b624000 Oops, this will give the right alpha of course.
Although it may not be exactly the same for 4444/5551.
2014-06-01 10:26:41 -07:00
Unknown W. Brackets
c79d0a2e3c Correct alpha in stencil upload, avoid blending.
Docs say blending is slower than masking, makes sense.
2014-06-01 08:47:53 -07:00
Henrik Rydgård
71a6a4ba04 Merge pull request #6183 from sum2012/scemp4
Small improve in scemp4 part 2
2014-06-01 15:44:48 +02:00
Peter Tissen
5e34dbf3fc limit Dinput devices to the max supported in input_state and update the native submodule to get the MAX_NUM_PADS constant 2014-06-01 12:37:32 +02:00
Peter Tissen
46eb74e98a undo visual studio auto-indenting 2014-06-01 12:37:31 +02:00