Commit graph

22371 commits

Author SHA1 Message Date
Henrik Rydgård
ec5b35b9f7 Merge pull request #9680 from LunaMoo/typofix
Correct typo in VertexDecoder
2017-05-13 16:40:36 +02:00
LunaMoo
5637ae1190 Fix typo in VertexDecoder 2017-05-13 16:27:26 +02:00
Unknown W. Brackets
6b0c9a5531 SoftGPU: Improve wsum recip SIMD.
A bit faster.
2017-05-13 06:56:33 -07:00
Unknown W. Brackets
7c526acc69 SoftGPU: Multiply S/T early via SIMD. 2017-05-13 06:49:27 -07:00
Unknown W. Brackets
10e511273a GPU: Flush on mipmap slope change. 2017-05-12 20:30:48 -07:00
Unknown W. Brackets
c4d1863ded GPU: Consistently bias const mip levels.
Since SLOPE is just a more complicated CONST, we can treat them the same.
2017-05-12 20:30:47 -07:00
Henrik Rydgård
f9b2272fd3 Update lang 2017-05-09 10:30:56 +02:00
Henrik Rydgård
6d6c1f66fc Merge pull request #9673 from unknownbrackets/softgpu
SoftGPU: Implement mipmapping
2017-05-09 09:35:34 +02:00
Unknown W. Brackets
6e4898d24f UI: Enable some settings for software rendering.
These now affect softgpu, so let's not disable them.
2017-05-08 21:03:10 -07:00
Unknown W. Brackets
50a775d31f SoftGPU: Calculate mip level based on float bits.
This is probably what the hardware does and much faster.
2017-05-08 20:43:02 -07:00
Henrik Rydgård
f06daba448 Merge pull request #9674 from unknownbrackets/vertexjit
Implement a few x86 vertexjit optimizations
2017-05-08 19:38:15 +02:00
Unknown W. Brackets
37a4d1308f SoftGPU: Round screencoords.
It seems like this is what the PSP does, or maybe this is just correcting
for floating point error...
2017-05-08 06:50:25 -07:00
Unknown W. Brackets
92ba91366c SoftGPU: Process mipmaps in texturing. 2017-05-08 06:50:25 -07:00
Unknown W. Brackets
3944a07bf7 SoftGPU: Fix separate mipmap cluts.
These should only be used for CLUT4.
2017-05-08 06:50:24 -07:00
Unknown W. Brackets
f5dd3b9716 SoftGPU: Refactor mask calculation and use SSE.
A tiny bit faster.
2017-05-08 06:50:23 -07:00
Unknown W. Brackets
1f2c2b6d42 SoftGPU: Improve texcoord rounding.
This fixes several obvious issues in Crisis Core, but it's still wrong
when texcoords go the other direction.  Need to use the deltas.
2017-05-08 06:50:23 -07:00
Unknown W. Brackets
7ffc891522 SoftGPU: Apply clamp/wrap in through. 2017-05-08 06:50:21 -07:00
Unknown W. Brackets
dacb776300 x86: Minor optimization for s16 through positions.
This takes it from 150% to 390% non-jit for pos only verts.
2017-05-07 12:20:56 -07:00
Unknown W. Brackets
0fe927aaa7 x86: Minor memory copy perf improvement.
This was actually 270% -> 340% non-jit for pos-only verts.
2017-05-07 12:18:47 -07:00
Unknown W. Brackets
b06e271ef3 x86: More optimal 4444 in vertexjit.
This was commented out, but works fine and goes from 320% -> 450% the speed
of non-jit for simple pos/col verts.
2017-05-07 12:14:06 -07:00
Henrik Rydgard
fd4ef48971 Windows debug builds: Only break on Vulkan validation warnings if a debugger is attached. 2017-05-07 18:09:09 +02:00
Henrik Rydgård
c55aa834b0 Merge pull request #9670 from unknownbrackets/vertexjit
Remove unused vertex decode steps, jit through s16
2017-05-07 17:01:56 +02:00
Henrik Rydgard
42a694368e Vulkan: Remove obsolete warning suppressions. Increase descriptor pool sizes. 2017-05-07 11:14:25 +02:00
Henrik Rydgard
d4e1fc8d93 More vulkan shutdown fixes 2017-05-07 11:08:09 +02:00
Henrik Rydgard
ff6fcc9179 More vulkan fixes 2017-05-07 10:53:04 +02:00
Henrik Rydgard
5974e0ee6d Work towards a clean vulkan shutdown. 2017-05-07 10:40:11 +02:00
Unknown W. Brackets
7699fa55de arm: Jit throughmode 16-bit texcoords.
It's popular, and this makes decoding such verts much faster.
2017-05-06 22:52:58 -07:00
Unknown W. Brackets
257f8dbbc6 GPU: Remove now-unused vertex decoder funcs.
We always convert to float now, so these functions are no longer used.
2017-05-06 18:55:16 -07:00
Unknown W. Brackets
6b3944d329 UnitTest: Correct vertex and jit tests.
We now convert texcoords to floats.
2017-05-06 18:45:04 -07:00
Henrik Rydgård
032e21b707 Merge pull request #9667 from unknownbrackets/win-host
Windows: Initialize WindowsHost in EmuThread
2017-05-05 16:46:56 +02:00
Unknown W. Brackets
793178c106 Windows: Initialize WindowsHost in EmuThread.
This seems like a more appropriate place, and a more appropriate thread,
for it to be initialized on.
2017-05-05 06:53:48 -07:00
Henrik Rydgard
80d4673cd5 Oops again.. sigh 2017-05-05 13:09:30 +02:00
Henrik Rydgard
d3ff35b2c0 Fix to partial restarts (when switching backends), plus misc. Helps #9666 2017-05-05 12:31:06 +02:00
Henrik Rydgård
e304325ed8 Merge pull request #9664 from LunaMoo/mouseStuff
Handle alt+tab and menu better when mouse is confined in-game.
2017-05-05 07:25:21 +02:00
LunaMoo
2a60f2e77c Handle alt+tab and drop down menu when mouse is confined and game is running 2017-05-05 02:26:24 +02:00
Henrik Rydgard
9284ea8375 Also memset. 2017-05-04 08:57:06 +02:00
Henrik Rydgard
fb95288456 Add a constructor to GestureDetector, to see if that fixes initialization 2017-05-04 08:56:05 +02:00
Henrik Rydgard
7d89e5d84c Experiment (#9647): Prevent NaN values from getting into the UI system through TouchInput 2017-05-04 00:30:04 +02:00
Henrik Rydgard
6aca39722f Experiment (#9647): Wipe RawInput buffers 2017-05-04 00:29:29 +02:00
Henrik Rydgård
41136d5b96 Merge pull request #9659 from xsm1997/master
Fix: in some extreme case on-screen touch controls get stuck on iOS
2017-05-01 14:39:57 +02:00
Xiong Shimin
17b6f9f7a3 Fix: in some extreme case on-screen touch controls get stuck on iOS 2017-05-01 17:58:35 +08:00
Henrik Rydgård
72adb920fb Merge pull request #9657 from unknownbrackets/wgl-init
Windows: Init with OpenGL 4.5 if possible
2017-04-30 14:15:47 +02:00
Henrik Rydgard
e880c034bc Oops 2017-04-30 09:59:47 +02:00
Henrik Rydgard
9a1cd5a5e8 Add some paranoid checks around touch IDs that probably won't help #9647
Also adds LunaMoo to credits list.
2017-04-30 08:57:44 +02:00
Unknown W. Brackets
4f6b9c1fd2 Arg, gcc buildfix. 2017-04-29 23:53:22 -07:00
Henrik Rydgård
54e2b2b598 Merge pull request #9658 from unknownbrackets/softgpu-continue
SoftGPU: Implement CONTINUE prim type
2017-04-30 08:19:16 +02:00
Henrik Rydgård
446d103dd6 Merge pull request #9656 from unknownbrackets/sysprop
System: Use a separate API for bool props
2017-04-30 08:16:21 +02:00
Unknown W. Brackets
1666586869 SoftGPU: Implement CONTINUE prim type.
Matches tests (except 3D lines, which aren't implemented yet.)
2017-04-29 20:36:36 -07:00
Unknown W. Brackets
0b16899f67 Windows: Init with OpenGL 4.5 if possible.
Also, try more versions if older.
2017-04-29 17:38:18 -07:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00