Commit Graph
22028 Commits
Author SHA1 Message Date
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
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
Henrik Rydgård aa2b4a2bf2 Merge pull request #9610 from unknownbrackets/pause-button
UI: Respect the pause button display setting
2017-04-13 09:11:51 +02:00
Unknown W. Brackets 989f19f83f UI: Respect the pause button display setting.
As of 22782b6, the setting stopped working.  It can be useful for Windows
touch devices.  Fixes #9609.
2017-04-12 22:09:05 -07:00
Henrik Rydgard d2172c73d6 Update lang submodule 2017-04-13 01:10:17 +02:00
Henrik Rydgård 0cb4344da1 Merge pull request #9603 from unknownbrackets/fb-resize
Fix framebuffer size flopping back and forth
2017-04-12 09:54:03 +02:00
Henrik Rydgård 81c3c7c41e Merge pull request #9602 from unknownbrackets/touch-mismatch
Windows: Correct touch id mismatch
2017-04-12 09:48:30 +02:00
Unknown W. Brackets 5a7ad5b176 Fix largest framebuf size in throughmode.
This was probably always meant to be <=, since it logically makes sense
for them to be equal.

Might fix cases of resizing down a framebuf in throughmode, where viewport
isn't as good a heuristic.
2017-04-12 00:20:50 -07:00
Unknown W. Brackets 088ced7261 Fix framebuffer size flopping back and forth.
If block transfers are keeping it larger, keep it larger.
2017-04-12 00:19:02 -07:00
Unknown W. Brackets 587e5f7e7a Windows: Cleanup type conversion in touch.
This should help if we have uneven DPI.
2017-04-11 18:53:00 -07:00
Unknown W. Brackets 994e99c94d Windows: Fix mismatch on multitouch finger up.
Fixes buttons "sticking".
2017-04-11 18:48:40 -07:00
Henrik Rydgård c899882034 Fix issues with software GPU on D3D11 2017-04-11 12:53:11 +02:00
Henrik Rydgård 56c3753bb4 Merge pull request #9583 from sum2012/lang
Update lang
2017-04-10 17:11:13 +02:00
Henrik Rydgård fa64241cfc Merge pull request #9588 from SeeK-ntr0py/master
Linux: Added support for Hidromancer gamepad device driver
2017-04-10 10:07:05 +02:00
seek-ntr0py 2c8c3c391e Linux: Added support for Hidromancer gamepad device driver 2017-04-09 22:51:21 -07:00
Henrik Rydgård a85b76e671 Merge pull request #9585 from unknownbrackets/gpu-clear
Skip VRAM clears when no download has been made
2017-04-10 00:51:01 +02:00
Unknown W. Brackets 4a8c661c00 Skip downloads of cleared VRAM.
If we've just cleared VRAM, make sure we don't also download that clear.
2017-04-09 15:19:06 -07:00
Unknown W. Brackets fe07b14a22 Cleanup 16-bit VRAM clearing. 2017-04-09 15:12:56 -07:00
Unknown W. Brackets 70d17d1bc7 Track flags to reduce unnecessary VRAM zeroing.
If we haven't downloaded to RAM since the last zero, no need to zero
again.  This is the most common case.
2017-04-09 15:10:07 -07:00
sum2012 9c1aba21ce Update lang 2017-04-09 20:08:26 +08:00