22196 Commits

Author SHA1 Message Date
Unknown W. Brackets
fd4399e108 GPU: Centralize fb resize, move to begin of frame.
It makes more sense here, because otherwise when you change it from the UI
settings, it takes a frame to "kick in".
2017-04-24 12:02:52 -07:00
Unknown W. Brackets
6c2f87b1df GPU: Consistently use useBufferedRendering_. 2017-04-24 11:57:16 -07:00
Unknown W. Brackets
eb5c55e869 Core: Fix log spam in debug mode.
No need to log every single call.
2017-04-24 10:16:26 -07:00
Unknown W. Brackets
c29f70e5e9 GPU: Attempt recreate of FBOs if failed. 2017-04-24 09:41:41 -07:00
Unknown W. Brackets
53a8e4213d Core: Fix PPGe text drawing with missing icon. 2017-04-24 09:37:55 -07:00
Unknown W. Brackets
97620d4cca GPU: Rebuild FBOs when they now have storage. 2017-04-24 09:37:54 -07:00
Henrik Rydgård
dbe714a1fa Merge pull request #9640 from LunaMoo/winMenu
Fix postprocess shader submenu.
2017-04-24 14:43:34 +02:00
LunaMoo
27b41fed1d Fix postprocess shader submenu. 2017-04-24 12:40:16 +02:00
Henrik Rydgård
1a58629cfb Merge pull request #9633 from unknownbrackets/mipmaps
Improve support for mipmaps and related headless fixes
2017-04-23 21:11:02 +02:00
Henrik Rydgård
4f0e1a08a3 Merge pull request #9635 from unknownbrackets/softgpu
SoftGPU: Rasterize triangles in chunks of 4 pixels
2017-04-23 21:10:33 +02:00
Unknown W. Brackets
4fb7e43af8 SoftGPU: Grab 4 S/T coords in non-through too. 2017-04-23 11:11:16 -07:00
Unknown W. Brackets
33ade5f916 GLES: Avoid MIN/MAX LOD without LOD control flag. 2017-04-23 10:51:25 -07:00
Unknown W. Brackets
81ee2e992e SoftGPU: Interpolate through texturing better.
This is significantly faster.
2017-04-23 10:37:12 -07:00
Unknown W. Brackets
3142462ac6 SoftGPU: Rasterize triangles in chunks of 4 pixels.
Not very optimal yet.
2017-04-23 10:37:11 -07:00
Unknown W. Brackets
7112cdce81 SoftGPU: Use texture bufw in bytes. 2017-04-23 10:37:10 -07:00
Unknown W. Brackets
f3db8bccad GLES: Support AUTO and CONST mip bias. 2017-04-22 18:40:18 -07:00
Unknown W. Brackets
57a839db17 Vulkan: NULL initialize some handles.
Was getting crashes until I realized buffered rendering was on.
2017-04-22 18:38:51 -07:00
Unknown W. Brackets
ae4c28aa4d D3D9: Support AUTO mip bias and approximate CONST. 2017-04-22 18:38:08 -07:00
Unknown W. Brackets
90ad6c0a23 D3D9: Disable mips when mip filtering disabled.
Only GE_{LINEAR,NEAREST}_MIPMAP_* enable mipmaps.
2017-04-22 18:22:59 -07:00
Unknown W. Brackets
8e9945df97 D3D11: Approximate AUTO/CONST mip bias.
These generally work, as long as the mip levels are halving.
2017-04-22 18:22:22 -07:00
Unknown W. Brackets
6aad8ff2a2 GPU: Correct const mip 0 detection.
The other clause was mip 1.
2017-04-22 18:19:43 -07:00
Unknown W. Brackets
b2711c2ebf Headless: Enable mipmaps. 2017-04-22 18:17:48 -07:00
Unknown W. Brackets
19a3e166ec Headless: Fix DirectX11 support on Windows. 2017-04-22 18:17:03 -07:00
Henrik Rydgård
2c6161c2cf Merge pull request #9628 from unknownbrackets/headless
Fix headless crash on start and graphics tests
2017-04-21 09:26:54 +02:00
Unknown W. Brackets
b483444fab IR: Cleanup some invalid ops. 2017-04-20 21:11:40 -07:00
Unknown W. Brackets
930d6c0558 Headless: Fix graphics tests.
The draw context wasn't being passed through, so it was segfaulting.
2017-04-20 21:10:59 -07:00
Unknown W. Brackets
c91f9f3a2c Windows: Fix buffer overflow on load.
This was causing headless to crash, not sure what it was doing otherwise.
2017-04-20 21:09:55 -07:00
Henrik Rydgård
6f58d4d30e Merge pull request #9627 from unknownbrackets/devmenu
UI: Proxy devmenu keypress through an event
2017-04-18 09:34:18 +02:00
Unknown W. Brackets
75898392b9 UI: Proxy devmenu keypress through an event.
This prevents a mutex issue in #9626.
2017-04-17 20:33:22 -07:00
Henrik Rydgård
87ca5cd5bb Merge pull request #9624 from Anarky/master
Linux: add another PS3 controller GUID
2017-04-17 19:39:37 +02:00
Anarky
94db23fb60 Linux: add another PS3 controller GUID 2017-04-17 18:36:58 +02:00
Henrik Rydgård
0fb01a2f12 Merge pull request #9620 from unknownbrackets/softgpu-negative
SoftGPU: Fix negative coords, indexed drawing, and splines
2017-04-16 09:33:04 +02:00
Henrik Rydgård
1a9e93d497 Merge pull request #9619 from unknownbrackets/native-restart
Windows: Avoid restarting completely on GPU change
2017-04-16 09:29:10 +02:00
Unknown W. Brackets
1e78642a7b SoftGPU: Remove old spline handling code. 2017-04-15 21:10:19 -07:00
Unknown W. Brackets
ede9025447 SoftGPU: Simplify index conversion. 2017-04-15 21:01:17 -07:00
Unknown W. Brackets
65439b8e96 SoftGPU: Fix indices starting after 0.
We decode to 0, so we need to offset.
2017-04-15 20:49:49 -07:00
Unknown W. Brackets
b543c0d0e4 SoftGPU: Use common spline/bezier rendering.
There's nothing inherently non-software rendering about this.
2017-04-15 20:08:37 -07:00
Unknown W. Brackets
b67650a8ff SoftGPU: Force render res to 1x.
This fixes issues with the vertex preview in the GE Debugger.
2017-04-15 19:54:42 -07:00
Unknown W. Brackets
31ddcd48ed SoftGPU: Fix crash on matrix load.
Just stubbing the draw engine here.
2017-04-15 19:53:56 -07:00
Unknown W. Brackets
dfed20701a SoftGPU: Correct negative coord handling.
Fixes #5159 - we need this signed to handle negative values properly.
2017-04-15 19:52:17 -07:00
Unknown W. Brackets
1912a948ab EditorConfig: Workaround MSVC2017 bug.
Let's just comment out for now.  Thanks to LunaMoo for investigating.
2017-04-15 16:35:43 -07:00
Unknown W. Brackets
960ffd2e85 Core: Remove bRestartRequired config hack. 2017-04-15 16:34:25 -07:00
Unknown W. Brackets
e8e65881b8 Windows: Avoid restarting completely on GPU change.
This retains the logger, avoids an annoying window open/close, and most
importantly for me: keeps the debugger attached.
2017-04-15 16:33:30 -07:00
Unknown W. Brackets
638a015ced Add a restarting flag to NativeInit/NativeShutdown.
Will be used externally.  Also cleanup some LogManager init/shutdown in
case these are called multiple times on Windows.
2017-04-15 16:30:37 -07:00
Unknown W. Brackets
bf02f7d98b Vulkan: Detect swapchain init failure.
This seems to be a driver bug, and occurs on NVIDIA when OpenGL has
previously been inited.  Or we're not cleaning something up properly...
but there's a driver error logged to debug output.
2017-04-15 16:26:26 -07:00
Henrik Rydgård
627c280031 Merge pull request #9617 from unknownbrackets/resize
Destroy FBOs only on actual resize
2017-04-15 09:41:25 +02:00
Henrik Rydgård
a4cb215644 Merge pull request #9613 from LunaMoo/config_stuff
Disable pause button when not using touch.
2017-04-14 21:47:02 +02:00
LunaMoo
372cbaac15 Disable pause button when not using touch.
Remove per-game status from some settings which shouldn't be per-game.
2017-04-14 17:11:16 +02:00
Unknown W. Brackets
98ba7afa83 Destroy FBOs only on actual resize.
As a side effect, this means going to settings won't reset all FBOs
anymore.  The behavior can still be obtained by changing render resolution
or rendering mode.

This makes resizing the window faster on Windows, and resumes quicker from
pause.
2017-04-13 23:36:17 -07:00
Unknown W. Brackets
030f803002 Remove unused parameter to DestroyAllFBOs(). 2017-04-13 23:07:21 -07:00