Commit Graph
27588 Commits
Author SHA1 Message Date
Unknown W. Brackets 597596884e Add a smart C FILE * helper.
When all you want is for it to close by itself on error.
2016-01-20 23:33:56 -08:00
Unknown W. Brackets 8713e532e0 arm64jit: Log if HI is set an an imm. 2016-01-20 23:26:49 -08:00
Unknown W. Brackets 79792a3c38 d3d9: Account for half-pixel z offset. 2016-01-20 22:53:47 -08:00
Unknown W. Brackets 0443fbebd0 Add methods to download depth to PSP RAM. 2016-01-20 22:11:03 -08:00
Unknown W. Brackets 2916298695 gedbg: Add scaled 16-bit z support. 2016-01-20 22:11:02 -08:00
Unknown W. Brackets f9970dba94 d3d9: Respect per-pixel depth rounding.
Using the 16-bit depth range.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets 27dba51e70 Add fallbacks where low quality depth is required.
Even on GLES2, this should work.  Also check the depth before applying
rounding - we might even already be 24-bit.
2016-01-20 22:11:01 -08:00
Unknown W. Brackets 79750ed1ad Add a config setting to control depth quality.
For those who want 1x PSP like behavior.
2016-01-20 22:11:00 -08:00
Unknown W. Brackets 57aa864c0c Blit depth when current, not max, size matches.
This is really what was implemented originally, this code was just not
updated to match when we started resizing framebuffers.

Fixes #6497.
2016-01-20 21:35:19 -08:00
Henrik Rydgård 4c8384aa09 Merge pull request #8461 from unknownbrackets/gpu-depth
Swap depth range to use minz/maxz
2016-01-20 10:19:51 +01:00
Henrik Rydgård 6ad9af413e Merge pull request #8465 from unknownbrackets/gpu-stencil
Where possible, rewrite 5551 stencil ops too
2016-01-20 10:19:08 +01:00
Unknown W. Brackets 02bf70a2d0 Where possible, rewrite 5551 stencil ops too.
We can in most cases fix INVERT, and also INCR so INVERT works when we
can't fix it.

Fixes #8422.
2016-01-19 23:17:58 -08:00
Unknown W. Brackets e00c9940e8 Correct pixel depth rounding. 2016-01-19 20:19:50 -08:00
Henrik Rydgard dedcc149d8 ARM64: Fix typo in mfhi and mflo instructions. May help #8383 2016-01-19 23:26:43 +01:00
Henrik Rydgård 27fac6e226 Merge pull request #8451 from unknownbrackets/volume
Add a volume configuration setting
2016-01-19 21:59:35 +01:00
Henrik Rydgard 2e9e66d5d5 armips buildfix 2016-01-19 20:09:05 +01:00
Unknown W. Brackets 5de7d2cf8f Oops, correctly center depth. 2016-01-19 07:51:56 -08:00
Unknown W. Brackets 6ef97f72d2 gedbg: Show scaled depth values properly. 2016-01-19 07:23:06 -08:00
Unknown W. Brackets b80c02c272 Simulate depth clamping.
We'll allow extra space in both directions.  It's not exactly right, but
it's a fast approximation.
2016-01-19 07:12:58 -08:00
Unknown W. Brackets 0920f6c6eb Use minz/maxz as the depth range.
This allows values that fall outside the viewport, but still within the
depth range, to be drawn.
2016-01-19 07:12:57 -08:00
Henrik Rydgård b28402337c Merge pull request #8455 from maximu/master
Initial x86-x64-android support
2016-01-19 12:24:04 +01:00
Munir 33b0e81014 Merge remote-tracking branch 'upstream/master' 2016-01-19 10:40:21 +01:00
Munir 76890dd7f5 Merge branch 'master' of https://github.com/maximu/ppsspp 2016-01-19 10:33:37 +01:00
Munir e8097de515 update 2016-01-19 10:32:19 +01:00
Henrik Rydgård 07a16705d8 Merge pull request #8452 from unknownbrackets/gpu-mpeg
Resize FBOs when video width is larger
2016-01-19 09:42:13 +01:00
Henrik Rydgård b387795d2a Merge pull request #8447 from unknownbrackets/gpu-depth
Simplify depth calculation a bit
2016-01-19 08:51:43 +01:00
Henrik Rydgård 4c35fc0793 Merge pull request #8458 from unknownbrackets/atrac-streaming
Improve atrac streaming positions from tests
2016-01-19 08:51:13 +01:00
Unknown W. Brackets 1b72d3a67a Atrac: Correct remaining frame count for streaming.
This makes more sense, I think this is the right value.
2016-01-18 22:05:01 -08:00
Unknown W. Brackets d1b3768e49 Use a common func everywhere for float depth vals. 2016-01-18 19:29:45 -08:00
Unknown W. Brackets 600df17eb6 Atrac: Correct loop read pos with offset.
In case it doesn't loop from the start.
2016-01-18 18:11:25 -08:00
Unknown W. Brackets 3466fb1755 Atrac: Adjust loop/nonloop remaining full values.
These are tricky, but it seems like this is right.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets e2f2c1af90 Atrac: Mark the leading frame consumed on loop.
This is the frame we skip samples from.  Might need smarter logic.
2016-01-18 18:00:48 -08:00
Unknown W. Brackets 3130b7a489 Atrac: Correct stream offset after non-loop end. 2016-01-18 18:00:47 -08:00
Unknown W. Brackets 036c965cf5 Atrac: Correct stream write offset after seek. 2016-01-18 18:00:46 -08:00
Unknown W. Brackets 4c25072328 Atrac: Never ask for more bytes than filesize. 2016-01-18 18:00:46 -08:00
Munir 64f492be65 update submodule 2016-01-18 11:17:47 +01:00
Munir 5536f12da1 Merge remote-tracking branch 'upstream/master' 2016-01-18 09:36:47 +01:00
Henrik Rydgård afc212b228 Merge pull request #8453 from unknownbrackets/softgpu
Use more common code in softgpu, add normal UV gen
2016-01-18 09:28:24 +01:00
Unknown W. Brackets 51a4ba9950 softgpu: Support screen scaling filter.
No reason it has to be nearest, we have an option for that.
2016-01-17 23:47:42 -08:00
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 99eb3f8a94 Instead, let's resize it in case there's rendering. 2016-01-17 23:07:00 -08:00
Unknown W. Brackets fb831b0f48 Add a global volume config setting.
This applies to all audio, UI, game, etc.  Fixes #7749.
2016-01-17 22:47:29 -08:00
Unknown W. Brackets 0a5bf7e12c Add a means to apply volume in the resampler. 2016-01-17 22:34:48 -08:00
Unknown W. Brackets 7993866ee4 Invalidate FBOs when video width is larger.
This way we won't try to upload them wrong.  Fixes #8392.
2016-01-17 21:58:49 -08:00
Unknown W. Brackets 3e127a183a Merge pull request #8450 from daniel229/compat.ini
Add Phantasy Star Portable 2 JP version to compat.ini
2016-01-17 21:40:52 -08:00
daniel229 f58bab98bd Add Phantasy Star Portable 2 JP version to compat.ini 2016-01-18 13:34:56 +08:00
Munir ed9aeb4c3a Merge remote-tracking branch 'origin/x64-android-support' 2016-01-18 06:05:46 +01:00
Unknown W. Brackets 6679e0178a Merge pull request #8449 from maximu/patch-2
Fix I forgot typo declaration x64_64 android port.
2016-01-17 20:24:23 -08:00