Commit Graph

18949 Commits

Author SHA1 Message Date
Henrik Rydgard
f3b0562bd8 Improve viewport terminology a bit. No functional change. 2015-11-04 22:03:29 +01:00
Henrik Rydgård
452ed71e68 Couple of LLVM compiler warnings 2015-11-04 12:46:38 +01:00
Henrik Rydgard
067431b35b Region is not used in the viewport calculations - remove wrong commented out code 2015-11-04 11:04:47 +01:00
Henrik Rydgard
99e3ee1f71 Add some missing checks in D3D from the last commit. 2015-11-04 10:34:52 +01:00
Henrik Rydgård
8145cc789a Merge pull request #8163 from unknownbrackets/gpu-minor
Zero out dst blend factors in 565
2015-11-04 10:07:00 +01:00
Unknown W. Brackets
2b832e7f6c Zero out dst blend factors in 565. 2015-11-04 00:35:55 -08:00
Henrik Rydgård
606c57d478 Merge pull request #8158 from unknownbrackets/gpu-minor
Avoid polluting glstate in GetTempFBO()
2015-11-04 09:14:18 +01:00
Unknown W. Brackets
95a5bd62d5 Switch a few other things to use force(). 2015-11-03 23:02:02 -08:00
Unknown W. Brackets
5ff3e6a5e7 Avoid polluting glstate in GetTempFBO().
Since we do this "late", we might overwrite important settings, such as
stencil, color masks, etc.

This affects both depal and fbo shader blending.

Didn't do it for all ClearBuffer()s, since I'm worried some might be
intentionally resetting state.
2015-11-03 22:37:19 -08:00
Unknown W. Brackets
7af7b2bc6d Add methods to "force" glstate to certain values.
This way we don't have to use totally different syntax when doing:

   glstate.scissorTest.force(false);
   // Do stuff that needs scissorTest temporarily off.
   glstate.scissorTest.restore();

There's cleaner options maybe but this is a simple first step.
2015-11-03 22:37:05 -08:00
Henrik Rydgard
44be9f2a50 Move Windows GPU init code into Windows/GPU 2015-11-03 23:22:09 +01:00
Henrik Rydgård
3386f1e181 Merge pull request #8153 from angelXwind/SpringBoardAnimatedExit
Perform an animated exit to SpringBoard on iOS devices
2015-11-03 20:48:12 +01:00
Henrik Rydgård
f6e826a767 Merge pull request #8152 from angelXwind/master
Various fixes related to iOS 9 and JIT config logic
2015-11-03 20:47:57 +01:00
Karen Tsai
063d519056 Perform an animated exit to SpringBoard on iOS devices as opposed to simply terminating PPSSPP (which could be misinterpreted for a crash) 2015-11-03 13:57:10 -05:00
Karen Tsai
1ba873a496 Override JIT setting in ppsspp.ini for JIT-incapable environments, fakesign PPSSPP binary via adhoc signing in order to prevent crash-at-launch on iOS 9, separate jailbreak detection logic from JIT support logic, temporary change to only enable JIT on iOS 8 and below. 2015-11-03 12:34:33 -05:00
Unknown W. Brackets
bc0a694ec2 Unbreak depth range test reporting.
Was broken in 9e18fb7e90.
2015-11-03 00:14:53 -08:00
Unknown W. Brackets
869260087c Fix screenshots to be right side up, not crash. 2015-11-02 19:43:36 -08:00
Henrik Rydgård
b7242a617b Merge pull request #8144 from LunaMoo/reverse_flip
Flip display layout editor coordinates to match #8130:)
2015-11-03 01:14:59 +01:00
LunaMoo
71a0928d6b Flip display layout editor coordinates to match #8130:) 2015-11-03 00:28:47 +01:00
Henrik Rydgård
30d0615bba Merge pull request #8143 from vnctdj/master
Re-use some translated strings in the display layout editor
2015-11-02 23:14:53 +01:00
vnctdj
ab4abdf3bf Re-use some translated strings in the display layout editor 2015-11-02 23:10:44 +01:00
Henrik Rydgard
b411fc0455 Postproc: Scale pixel deltas and round off screen position. Fixes #8016 2015-11-02 22:22:48 +01:00
Henrik Rydgård
728d9e51bd Merge pull request #8130 from hrydgard/flip-framebuffers
Use a flipped coordinate system in framebuffers to avoid manual flipping of texture coordinates
2015-11-02 20:55:50 +01:00
Henrik Rydgard
a1ad278005 unknownbrackets' fixes for last commit 2015-11-02 20:51:40 +01:00
Unknown W. Brackets
3a7edd8cac Switch viewport overage to the new world of sanity. 2015-11-02 20:11:58 +01:00
Henrik Rydgard
099f62b503 Fix some typos in D3D9 blits (removed parameter).
Add some missing projection matrix flips (flipped viewport emulation)

Fix issue with DrawPixels in non-buffered in D3D9
2015-11-02 20:11:48 +01:00
Henrik Rydgard
95240d46e8 Set the flipped flag to false on debug buffers 2015-11-02 20:11:36 +01:00
Henrik Rydgard
14652f0650 Make some optional arguments non-optional. 2015-11-02 20:10:29 +01:00
Henrik Rydgard
bd64d5ba61 Fix a Y flip typo 2015-11-02 20:10:19 +01:00
Henrik Rydgard
6b2862284b Minor cleanups 2015-11-02 20:09:59 +01:00
Henrik Rydgard
0266211b88 Two wrongs can appently make a right. Remove an inadvertent flip, add flips where we actually need them. 2015-11-02 20:09:24 +01:00
Henrik Rydgard
86bfce4006 Remove more obsolete v-flip support 2015-11-02 20:09:12 +01:00
Henrik Rydgard
1ce6801d42 Shifted projection matrices need a few more parts flipped. This could fix bugs in games, too.
Fixes the strange camera issues in FF:CC.
2015-11-02 20:08:21 +01:00
Henrik Rydgard
c1db771056 Fix non-through rectangles 2015-11-02 20:08:11 +01:00
Henrik Rydgard
069a7b0d2f Move the viewport to the right place. 2015-11-02 20:08:00 +01:00
Henrik Rydgard
e9770b3679 Fix non-buffered rendering 2015-11-02 20:07:50 +01:00
Henrik Rydgard
94b77135a2 Fix a few more flips 2015-11-02 20:07:38 +01:00
Henrik Rydgard
f4248cb550 Remove a whole lot of flipping special cases 2015-11-02 20:07:30 +01:00
Henrik Rydgard
f3b1fca68b Allow resizing the screen in windowed mode 2015-11-02 19:36:14 +01:00
Henrik Rydgård
fbb30260e3 Merge pull request #8082 from LunaMoo/DisplayEditing
Add "Display layout editor"
2015-11-02 19:31:05 +01:00
Henrik Rydgård
69fa588bd3 Merge pull request #8140 from unknownbrackets/sas-reverb
Improve consistency with PSP output for sas reverb
2015-11-02 09:28:06 +01:00
Unknown W. Brackets
11ec29212e Sas: Correct reverb volume going negative.
0x1000 (max vol) << 3 is negative, of course when signed...
2015-11-01 21:30:01 -08:00
Unknown W. Brackets
1aac569e73 Sas: Add in zeroes like the PSP seems to. 2015-11-01 20:56:34 -08:00
Unknown W. Brackets
9c378c4eda Sas: Properly support the OFF reverb type. 2015-11-01 20:33:42 -08:00
Unknown W. Brackets
42222ad497 Sas: Support the dry flag as well as wet. 2015-11-01 20:32:35 -08:00
Unknown W. Brackets
4a390ea18e Sas: Default to the right preset in reverb.
This needs to match waveformEffect.type, which is the default on the PSP.

Otherwise, setting to OFF initially does nothing, and it remains ROOM.
2015-11-01 20:25:21 -08:00
Henrik Rydgård
9371fcee65 Merge pull request #8135 from tpunix/patch-1
bugfix of scefont
2015-11-01 17:36:52 +01:00
tpunix
6672534f49 bugfix of scefont
charCode should be limit to 16bit
see issue #8131
2015-11-01 21:11:31 +08:00
Sacha
cbe248d89d Fix compile error.
We arent allowing for cross-compiling at all by checking headers so this is only a temporary solution. Probably no mobile platform wants glew, which is what we had before the define was removed.
2015-11-01 20:21:56 +10:00
Henrik Rydgard
dd6ebabdc8 Further Qt buildfix 2015-11-01 01:09:15 +01:00