Commit Graph
20735 Commits
Author SHA1 Message Date
Unknown W. Brackets d1357e5bc8 Fix another mistake in color test masking. 2014-06-16 02:12:08 -07:00
Unknown W. Brackets a28354f072 Fix dumb typo. 2014-06-16 01:42:19 -07:00
Unknown W. Brackets 3793bd5a02 Avoid xinput pad jitter resetting axis state.
Should take care of #5526.
2014-06-16 01:37:20 -07:00
Unknown W. Brackets 9b67594a1d Linux buildfix. 2014-06-16 01:04:53 -07:00
Henrik Rydgård f061cb4c0f Merge pull request #6341 from unknownbrackets/gpu-minor
Support alpha and color test masks on desktop/gles3
2014-06-16 10:02:20 +02:00
Unknown W. Brackets 95e4e04f8d Fix a crash in the GE debugger on matrix tab. 2014-06-16 00:36:16 -07:00
Unknown W. Brackets 982f0416a2 Pre-mask alphatest value as a small optimization.
Might cause small behavior difference on gles2 (without bitwise ops.)
2014-06-16 00:35:30 -07:00
Unknown W. Brackets 2038bc5527 Support alpha / color test masks on desktop/gles3.
Won't work on GLES 2, though...
2014-06-16 00:33:48 -07:00
Henrik Rydgård f0f8f7207d Merge pull request #6338 from unknownbrackets/gpu-blocktransfer
Don't write bytes between width/stride during block transfers
2014-06-16 09:12:41 +02:00
Unknown W. Brackets 3fea3e1293 Respect "nearest" filtering setting for fbs. 2014-06-15 19:42:24 -07:00
Unknown W. Brackets 107df3b838 Reuse existing buffer matching for MotoGP hack. 2014-06-15 19:34:57 -07:00
Unknown W. Brackets a54cefc138 Only download width bytes, not stride bytes.
Fixes #6330, MotoGP not rendering properly with simulate block transfers.
2014-06-15 19:33:32 -07:00
Henrik Rydgård 43bddd8067 Merge pull request #6336 from unknownbrackets/texcache
Separate framebuffer sampling params from tex
2014-06-16 00:52:20 +02:00
Henrik Rydgård 104e62d412 Merge pull request #6337 from unknownbrackets/vsync
Update vsync on resize, and before first FBO
2014-06-16 00:31:21 +02:00
Unknown W. Brackets e762689ea8 Update vsync on resize, and before first FBO.
May take care of #4440.
2014-06-15 15:19:49 -07:00
Unknown W. Brackets fdd759909b Auto-disable shader blending after 48 per frame.
Should prevent possible massive slowdowns from log reporting.
2014-06-15 13:48:06 -07:00
Unknown W. Brackets 40f13d51e7 Separate framebuffer sampling params from tex.
This way we don't need to reset params on the texture or worry about
things like that.  We always force on the framebuffer anyway, so this is
simpler.

Also don't enable mipmaps when using a framebuffer, since they don't make
sense currently.
2014-06-15 13:34:58 -07:00
Unknown W. Brackets f6649794df Respect max texture level in GE debugger preview. 2014-06-15 10:31:16 -07:00
Henrik Rydgård 07b13f680c Merge pull request #6335 from unknownbrackets/debugger
Add texture level preview to GE debugger
2014-06-15 19:05:13 +02:00
Unknown W. Brackets 913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07:00
Unknown W. Brackets d7e5b7956e Add buttons to select texture level in ge debugger. 2014-06-15 10:01:32 -07:00
Unknown W. Brackets eaf3288304 Add debug interface for non-L0 texture preview. 2014-06-15 09:30:37 -07:00
Unknown W. Brackets c6c48aef42 softgpu: Align spline patches, keep buffer.
Fixes misalignment warning on 32-bit.
2014-06-15 09:00:49 -07:00
Unknown W. Brackets 062d747cee Fix vram mirror issue on 32-bit.
Fixes #6249.
2014-06-15 08:59:35 -07:00
Henrik Rydgard e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgard a3e23f0ac6 Propagate input even return values in more places. Handle repeats better. 2014-06-15 13:04:10 +02:00
Henrik Rydgard 7febcd5d91 Have the Native* input functions return boolean to match new interface.
This is preparation for being able to tell the app that we handled the key or not.

This will make it possible to map android hardware keys like volume without them misbehaving.
2014-06-15 12:15:06 +02:00
Henrik Rydgard 6739fc5654 Have the input functions return bool, so we can say if we used the key.
Will allow mapping Android volume keys as game inputs without also showing the volume setting.
2014-06-15 12:12:12 +02:00
Henrik Rydgard ee1d16cb1d Use sincosf where available (linux) 2014-06-15 12:06:02 +02:00
Henrik Rydgård a325049d6c Merge pull request #6329 from hrydgard/vfpu-sincos
VFPU: Ensure that sin(4*x) returns 0.0 (and cos 1) for all x. Fixes #2921
2014-06-15 12:03:58 +02:00
Henrik Rydgard e6f55bfef0 Fix silly mistake in vfpu_sincos. Add unittest. 2014-06-15 11:51:30 +02:00
Henrik Rydgard 0879d76503 VFPU: Ensure that sin(4*x) returns 0.0 (and cos 1) for all x. Fixes #2921 2014-06-15 11:03:00 +02:00
Henrik Rydgård 9503603f5f Merge pull request #6326 from unknownbrackets/gpu-minor
Support render-to-offset within a framebuffer
2014-06-15 09:13:03 +02:00
Henrik Rydgård ad70cfdcb3 Merge pull request #6325 from unknownbrackets/ui-tweaks
Support drag-and-drop of savestate files
2014-06-15 08:34:46 +02:00
Unknown W. Brackets 030b562eb9 Support render-to-offset within a framebuffer.
Fixes #6324.
2014-06-14 17:08:41 -07:00
Unknown W. Brackets 063e8508df Support drag-and-drop of savestate files.
Most likely you want to load the state, not see an error message.
2014-06-14 16:13:35 -07:00
Henrik Rydgard ab61255018 Allow only a small number of "InvalidateAll" operations per frame on the texture cache.
Reduces stutter in FF:Type0 tutorial end scene a bit more.
2014-06-15 00:40:08 +02:00
Henrik Rydgard 4e6baaf360 wasPaused int->bool 2014-06-15 00:03:55 +02:00
Henrik Rydgard 3b2fed472e Correct timing on resume, avoids small speed burst when resuming gameplay from pause 2014-06-14 23:56:16 +02:00
Henrik Rydgård 34dcc23e69 Merge pull request #6322 from unknownbrackets/gpu-blocktransfer
Support inter-buffer memcpy, mark vfb dirty when blitting to it, etc.
2014-06-14 22:43:08 +02:00
Unknown W. Brackets 651d8a4a7d Support inter-buffer memcpy transfer.
Seeing some games using it like 3rd Birthday uses block transfers, to copy
a frame to the other buffer.
2014-06-14 13:22:00 -07:00
Unknown W. Brackets d06a0520ae Consistently mark vfb dirty after drawing to it. 2014-06-14 13:19:27 -07:00
Henrik Rydgård 59bef47035 Merge pull request #6321 from unknownbrackets/texscaling
Reduce some texture scaling limits to rely on texels instead
2014-06-14 20:08:39 +02:00
Henrik Rydgård c5d15d9755 Merge pull request #6320 from unknownbrackets/texcache
Validate render to texture better, report more, and support vram mirrors
2014-06-14 20:07:42 +02:00
Unknown W. Brackets 6ebdf2be29 Skip memcpy fb download when already downloaded.
Fixes Final Fantasy Tactics lag, discussion in #6308.
2014-06-14 11:04:17 -07:00
Unknown W. Brackets b1396d51b2 Log more info about skipped subarea renders. 2014-06-14 11:04:17 -07:00
Unknown W. Brackets ec7942fc8a Report decoding a texture from a VRAM mirror.
Might mainly be depth textures?
2014-06-14 11:04:16 -07:00
Unknown W. Brackets 0b9db176e9 Centralize render-to-tex logic, support mirrors.
Now everything is decided in AttachFramebuffer().
2014-06-14 11:04:16 -07:00
Unknown W. Brackets 822f936b05 Validate stride when using clut, more reporting. 2014-06-14 11:04:15 -07:00
Unknown W. Brackets d8eaeab663 Reduce change frequency limit for texscaling.
Since we have the texels limit now, this should allow more textures to be
scaled safely.  Also, it may detect alpha optimizations in more textures,
since we currently skip them for frequently changed textures.
2014-06-14 10:49:13 -07:00