Triang3l
44e4849e1a
Merge branch 'master' into vulkan
2020-11-16 23:17:50 +03:00
Sandy Carter
382dd8860f
[threading] Change thread names to suit pthread
...
Shorten names to 16.
Rename Win32 to Windowing.
Shorten GraphicsSystem thread names due to 16 length limit of pthread.
Without this change, both show up as GraphicsSystem.
Remove redundant "Worker" and "Thread" from names.
Remove redundant thread handle from thread name.
2020-11-15 11:12:05 -06:00
Triang3l
886129cefa
[Vulkan] Immediate drawer textures
2020-09-26 22:10:02 +03:00
gibbed
a48bb71c2f
Overhaul logging.
2020-04-07 16:09:41 -05:00
gibbed
5bf0b34445
C++17ification.
...
C++17ification!
- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
Triang3l
cde092ece1
[D3D12] Persistent shader and PSO storage
2020-03-21 19:22:19 +03:00
Jonathan Goyvaerts
c1af632562
Replace all gflag implementations with cvar implementations
2019-08-03 02:34:07 +02:00
Margen67
896ac4a682
Update documentation.
...
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
gibbed
ba7dc6b2d7
[GPU] Improve readability of initialization errors and remove references to OpenGL.
2018-07-01 16:50:03 -05:00
DrChat
1d4fa80eac
[GPU] Fixup ringbuffer log2_size (which specifies size in qwords)
...
Save microengine init packets
2018-04-08 15:50:36 -05:00
DrChat
702a8732c8
[GPU] Free the command processor in the destructor rather than on shutdown
...
Fixes a race condition: TDR followed by WriteRegister will cause a crash. It's okay to continue writing to the command processor (it may be setup again later).
2018-02-28 15:19:02 -06:00
DrChat
22929182e6
[GPU] Update the docs of a few registers
2018-02-16 18:33:01 -06:00
DrChat
09b3a07e3c
Support rendering windowless (tested on the Vulkan backend)
2017-12-19 16:05:36 -06:00
DrChat
b5d647d540
[Vulkan] Better handling of device lost events (present fatal error dialog)
2017-12-18 14:27:00 -06:00
DrChat
aaf281351d
Format all code with new clang-format
2017-12-14 20:44:43 -06:00
Dr. Chat
283b7bc1b4
GPU: Change ReadRegister/WriteRegister constants to be consistent with other numberings.
2017-07-04 20:47:22 -05:00
Dr. Chat
9dc740dcc0
GraphicsSystem: Properly support register file reads/writes, and fill in some unknown registers
2017-06-11 13:00:31 -05:00
Dr. Chat
27c16b1936
GPU: Fix incorrectly calculating the primary ringbuffer's size
2016-06-16 21:30:06 -05:00
sephiroth99
a442bb50b4
Prevent undefined behaviour with thread_safe_gl enabled.
...
CreateOffscreenContext already calls ClearCurrent. When it is done twice,
the global GL mutex is unlocked a second time, and undefined behavour
happens. In this particular case, a deadlock occured; unlocking the already
unlocked mutex locked it.
2016-02-11 23:50:11 -05:00
Dr. Chat
6997970d52
GraphicsSystem Save/Restore
2015-12-29 13:09:41 -08:00
Ben Vanik
6b92c1a01e
Moving GPU flags to graphics_system.cc so all graphical exes get them.
2015-12-27 10:21:11 -08:00
Ben Vanik
6c95ca1cdb
Moving graphics context creation around to hide actual creation.
...
Makes it easier to support APIs that don't have a concept of sharing.
2015-11-10 17:38:57 -08:00
Ben Vanik
5834a42ef3
Dependency injection for apu/gpu/hid.
2015-11-08 15:02:24 -08:00
Ben Vanik
b5a18b5462
Factoring out a lot of reusable GPU code from gl4/.
2015-11-08 11:54:36 -08:00
Ben Vanik
e5fbf840d2
Shuffling kernel/.
2015-09-06 18:07:52 -07:00
Ben Vanik
a478658b2c
Re-disabling GPU interrupt log.
2015-09-01 20:24:19 -07:00
Ben Vanik
f5e374f9b5
Changing the way the global lock works. Some things are better, I think.
...
Regressions are likely.
2015-09-01 09:45:32 -07:00
Ben Vanik
b7203c2989
Logging to with a ringbuffer. Much faster.
2015-08-29 18:06:30 -07:00
Ben Vanik
756d414386
Prep for split libraries.
2015-07-16 22:26:34 -07:00
Ben Vanik
15c17459be
Massive refactoring of xenia::ui and GL swap behavior.
...
This seems to dramatically improve most games (especially with
--vsync=false), though it may cause swap issues with others.
New code should be easier to port, and enables elemental-forms to be
drawn for any emulator UI.
2015-07-12 22:04:17 -07:00
Ben Vanik
9efccc5f4a
Removing dependencies on MainWindow.
2015-07-01 08:02:22 -07:00
Ben Vanik
8c69a4df09
Cleaning up apu/ and renaming -private files to _flags.
...
Part of #296 .
2015-06-27 11:25:56 -07:00
Ben Vanik
883126d497
Simplifying GPU creation.
...
Part of #296 .
2015-06-27 09:11:03 -07:00
Ben Vanik
41cee3d337
Switching vsync to custom thread.
2015-05-25 21:12:27 -07:00
Ben Vanik
f88bf33b4f
Moving threads to XHostThread and making shutdown not crash.
2015-05-19 22:20:49 -07:00
Ben Vanik
e3220f7ae6
Code cleanup: moving poly/ into xenia/base/
2015-05-02 03:42:51 -07:00
Ben Vanik
99816056be
Code cleanup: removing poly.h
2015-05-02 02:29:26 -07:00
Ben Vanik
30f7effa73
Code cleanup: removing common.h
2015-05-02 01:25:59 -07:00
Ben Vanik
6486299496
--flush_stdout to disable flushing.
2015-03-22 11:49:13 -07:00
Ben Vanik
130c11a2ca
GPU recording (--trace_gpu=file) and playback (gpu-trace-viewer file).
2015-02-20 07:47:06 -08:00
Ben Vanik
29719b8f4d
Cleaning up some line ending issues.
2015-02-09 14:10:23 -08:00
Ben Vanik
00e4a4fe1b
Fix #include format.
2015-01-31 22:49:47 -08:00
Ben Vanik
dfba5943da
Hide invalid interrupt dispatches.
2015-01-07 22:54:50 -08:00
Ben Vanik
f8325512d7
GL4 command processor.
2014-12-31 19:26:54 -08:00
Ben Vanik
577ab0a4f1
Main window, empty GPU files.
2014-12-31 19:26:53 -08:00
Ben Vanik
a4141e84ce
Sigh.
2014-11-08 11:38:07 -08:00
Ben Vanik
21b6c93db0
Tweaking GPU callbacks.
2014-11-08 10:13:08 -08:00
Ben Vanik
fdab788017
Removing PAL.
2014-08-16 21:19:21 -07:00
Ben Vanik
f2a9fa3bf9
XECOUNT to countof.
2014-08-16 17:58:33 -07:00
Ben Vanik
01f0b14250
Removing xe_thread_t.
2014-08-16 01:36:45 -07:00