Commit Graph
23447 Commits
Author SHA1 Message Date
Greg V bbf2dcdb21 Check for Wayland headers in CMake 2017-12-26 16:09:31 +03:00
Greg V 52234dae91 Remove VULKAN_STATIC 2017-12-26 16:09:31 +03:00
Greg V f4d76c840c Support Vulkan on any Unix
In particular, it works FreeBSD
2017-12-26 16:09:31 +03:00
Greg V f3783bdb44 Add support for Vulkan on Wayland 2017-12-26 16:09:27 +03:00
Henrik Rydgård baa4ceadd8 Merge pull request #10446 from unknownbrackets/ir-break
irjit: Allow continuing from mips break
2017-12-25 22:38:35 +01:00
Henrik Rydgård ffa48cb4fc Merge pull request #10447 from unknownbrackets/update-vram
Remove "read framebuffers to memory" FBO auto-download
2017-12-25 22:37:48 +01:00
Unknown W. Brackets ebce6da223 UI: Remove auto-download options.
See previous commit removing actual functionality.
2017-12-25 11:20:26 -08:00
Unknown W. Brackets 025a806ab4 GPU: Remove FBO auto-download hack.
See #6261.  This should be replaced now with block transfer detection,
which is faster and doesn't cause crashes.

Games that previously required this setting should use block transfer
instead.  If that doesn't work, it's a bug.
2017-12-25 11:17:59 -08:00
Unknown W. Brackets 8c2edd432b irjit: Allow continuing from mips break.
Some games currently generate break instructions, and can be played
otherwise.  Should be fixed, but let's not hard crash.
2017-12-25 10:21:22 -08:00
Henrik Rydgård 4b04a6db3c Merge pull request #10443 from unknownbrackets/win-focus
Windows: Track minimize as lost focus
2017-12-25 10:23:20 +01:00
Unknown W. Brackets a37a8ca4f0 GPU: Add quick method for debugging.
Helps when you want to bail out to the debugger quickly.
2017-12-24 18:05:44 -08:00
Unknown W. Brackets f5b2a6601e UI: Fix graphics API display on start.
Since it's a std::string return, it's a temporary, so returning it as a
pointer may drop the value.
2017-12-24 18:04:18 -08:00
Unknown W. Brackets 8c1c0e1897 Windows: Track minimize as lost focus.
It makes sense if we have the other feature.  Fixes #9918.
2017-12-24 18:03:28 -08:00
Henrik Rydgård 9b909b4158 Merge pull request #10440 from unknownbrackets/vulkan-leak
Vulkan: Decimate the texture allocator
2017-12-24 22:54:13 +01:00
Henrik Rydgård 1c9e970b37 Merge pull request #10441 from unknownbrackets/softgpu-bbox
Software: Execute bounding box tests
2017-12-24 22:53:04 +01:00
Henrik Rydgård 138cd9e851 Merge pull request #10442 from unknownbrackets/depth-clear
GPU: Reduce depth blits when not updated
2017-12-24 22:52:35 +01:00
Unknown W. Brackets 0956fa3ff6 GPU: Reduce depth blits when not updated.
If the game initially clears the depth in a buffer, but then never uses
that depth again, don't keep blitting depth.

Improves #8538, by preventing the depth blits in this case.
2017-12-24 11:52:15 -08:00
Unknown W. Brackets 206979fed6 Software: Execute bounding box tests.
Fixes #10148.
2017-12-24 11:05:52 -08:00
Unknown W. Brackets a7b3a1eb96 Vulkan: Decimate the texture allocator.
Thin3D wasn't calling Begin/End, which lead to leaks eventually and OOM.

Was causing softgpu to crash.
2017-12-24 10:39:42 -08:00
Henrik Rydgård 46c468f3fe Merge pull request #10435 from unknownbrackets/debugger
Fix issues with GE debugger prim preview
2017-12-23 12:09:44 +01:00
Unknown W. Brackets 3c5816e2aa GE Debugger: Allow enable/disable of prim preview. 2017-12-23 02:16:43 -08:00
Unknown W. Brackets c55db7a496 GE Debugger: Keep prim preview on pan/zoom. 2017-12-23 01:57:03 -08:00
Unknown W. Brackets a32ccd3eb8 GE Debugger: Fix preview when zooming.
Before, the coordinates were only right when scaled to fit.  When you
zoomed in and panned, it would show in the wrong place because it wasn't
accounting for the flipped backbuffer.
2017-12-23 01:31:04 -08:00
Henrik Rydgård 0de5053a42 Merge pull request #10432 from unknownbrackets/debugger
GE Debugger: Fix some crashes while stepping
2017-12-22 21:51:46 +01:00
Unknown W. Brackets 2031b2ef98 GE Debugger: Fix some crashes while stepping.
Mostly on Vulkan, but possibly on other backends.
2017-12-22 12:29:08 -08:00
Henrik Rydgård 7f4da9b567 Merge pull request #10431 from unknownbrackets/debugger
GE Debugger: Save with alpha for PNGs
2017-12-22 09:43:20 +01:00
Unknown W. Brackets 554a85e6d8 GE Debugger: Save with alpha for PNGs. 2017-12-21 23:47:49 -08:00
Henrik Rydgård c3ac0659bd Merge pull request #10430 from unknownbrackets/hwtess
Add another restriction for GL HW tessellation
2017-12-22 08:11:38 +01:00
Henrik Rydgård 4478c2ceb2 Merge pull request #10429 from unknownbrackets/debugger
Allow exporting previews in the GE debugger
2017-12-22 08:11:09 +01:00
Unknown W. Brackets c5897a1c5c GPU: Cleanup some feature flags usage. 2017-12-21 18:50:41 -08:00
Unknown W. Brackets 510f9652a0 GLES: Improve HW tess requirements validation.
We also need texelFetch of some kind, seen in reporting.
2017-12-21 18:44:47 -08:00
Unknown W. Brackets b56aceb227 Core: Allow more formats for screenshot.
This allows depth and stencil formats too, so we can use for debugger
export.
2017-12-21 16:39:01 -08:00
Unknown W. Brackets 092cbc2343 GE Debugger: Allow image export from previews.
This allows exporting textures and half-drawn surfaces.
2017-12-21 15:45:52 -08:00
Unknown W. Brackets 79dc857527 Core: Refactor screenshot saving.
So we can reuse the actual saving.
2017-12-21 15:44:49 -08:00
Henrik Rydgård 9f02e9c4f0 Android cmake fix 2017-12-22 00:02:46 +01:00
Henrik Rydgård 9679964b85 Merge pull request #10428 from jbeich/bsd
SDL fails to build without Vulkan
2017-12-21 22:58:38 +01:00
Jan Beich d4984ab991 SDL: unbreak on more non-Vulkan platforms
SDL/SDLMain.cpp:160:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'?
        SDL_SysWMinfo sysInfo; //Will hold our Window information
        ^~~~~~~~~~~~~
        SDL_SysWMmsg

SDL/SDLMain.cpp:433:2: error: unknown type name 'SDL_SysWMinfo'; did you mean 'SDL_SysWMmsg'?
        SDL_SysWMinfo sys_info{};
        ^~~~~~~~~~~~~
        SDL_SysWMmsg

SDL/SDLMain.cpp:440:2: warning: expression result unused [-Wunused-value]
        Window x11_window = sys_info.info.x11.window;
        ^~~~~~
2017-12-21 21:31:26 +00:00
Henrik Rydgård 4d1c8ae979 Merge pull request #10427 from unknownbrackets/gl-pack-len
Use GL_PACK_ROW_LENGTH where possible
2017-12-21 22:13:10 +01:00
Unknown W. Brackets 8e2682d93c GLES: Reduce conversion buf size if possible.
No need to use the stride for the temp buf.  May avoid issues if the
driver crashes when reading outside the FBO.
2017-12-21 12:02:45 -08:00
Unknown W. Brackets 30871bfcd1 GLES: Avoid buffer on GLES2 for h=1 / CLUT. 2017-12-21 11:52:11 -08:00
Unknown W. Brackets 78ebe942ab Vulkan: Cleanup unused code. 2017-12-21 11:43:05 -08:00
Unknown W. Brackets 75aa65908c GLES: Pack without stride where possible.
This may possibly help #10425 in case the behavior is different when going
over width when reading pixels.
2017-12-21 11:41:53 -08:00
Henrik Rydgård fe45a059b5 SDL: Fix OpenGL init again. Fixes #10424 2017-12-21 17:36:00 +01:00
Henrik Rydgård 99f8c19d6a Merge pull request #10413 from hrydgard/x11-vulkan-init
SDL/X11 Vulkan init
2017-12-21 14:52:01 +01:00
Henrik Rydgård f73ec4608e Build Vulkan on all platforms, won't be used if not supported. 2017-12-21 14:13:55 +01:00
Henrik Rydgård 9007abddbf Get Vulkan going on Linux 2017-12-21 11:02:11 +01:00
Henrik Rydgård 7f758d52dc Statically link a vulkan loader on Linux. Use to to init vulkan on X11. Unfortunately, it's broken. 2017-12-21 11:02:11 +01:00
Henrik Rydgård 6d6ad3ed14 Cleanups in PCMain.cpp 2017-12-21 10:52:48 +01:00
Henrik Rydgård ea387b2a48 WIP vulkan on linux stuff 2017-12-21 10:48:00 +01:00
Henrik Rydgård c27d64f273 Merge pull request #10423 from psyke83/gles2_ctx_fix
SDL: really try lower GL profiles & add GLES context support
2017-12-20 20:42:30 +01:00