Commit Graph

445 Commits

Author SHA1 Message Date
Ben Vanik
e5fbf840d2 Shuffling kernel/. 2015-09-06 18:07:52 -07:00
Ben Vanik
790ce8aee1 Switch back to std:: muteces. mutices. mutexen. 2015-09-06 13:34:08 -07:00
Ben Vanik
3c96b6fa0a DANGER DANGER. Switching to global critical region.
This changes almost all locks held by guest threads to use a single global
critical region. This emulates the behavior on the PPC of disabling
interrupts (by calls like KeRaiseIrqlToDpcLevel or masking interrupts),
and prevents deadlocks from occuring when threads are suspended or
otherwise blocked.
This has performance implications and a pass is needed to ensure the
locking is as granular as possible. It could also break everything
because it's fundamentally unsound. We'll see.
2015-09-06 09:30:54 -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
b1afab5bb7 Switching to old depth buffer clear style. 2015-08-29 22:13:19 -07:00
Dr. Chat
3d684ac304 Fixup the premake files 2015-08-29 22:04:12 -05:00
Dr. Chat
f2b2a22687 Add gflags to projects that need it only 2015-08-29 21:16:57 -05:00
Ben Vanik
b7203c2989 Logging to with a ringbuffer. Much faster. 2015-08-29 18:06:30 -07:00
Ben Vanik
8b0d4fb51c Linux tweaks. 2015-08-18 14:18:00 -07:00
Ben Vanik
ad090a40eb Fixing misuse of std::chrono. 2015-08-18 10:18:30 -07:00
Ben Vanik
a92566dfc5 More style. 2015-08-07 21:29:03 -07:00
Ben Vanik
5e08889d93 More style cleanup. 2015-08-06 20:17:01 -07:00
Ben Vanik
e6461f326c Some xb style cleanup. 2015-08-05 22:06:20 -07:00
Ben Vanik
ec326119cf Replacing beaengine in mmio handler with custom decoder.
Fixes #358.
2015-08-04 08:25:42 -07:00
Ben Vanik
cb701fcb7c Latest linter. 2015-08-01 04:08:59 -07:00
Ben Vanik
abf50b477e Making shutdown clean. 2015-07-25 12:56:37 -07:00
Ben Vanik
a98fa47081 Merge pull request #361 from DrChat/misc_fixes
Misc fixes
2015-07-21 20:22:00 -07:00
Dr. Chat
e6eb21f6ac %s 2015-07-21 22:20:54 -05:00
Dr. Chat
dda00b604b Don't try to use an invalid file! 2015-07-21 22:14:28 -05:00
Ben Vanik
8126b12340 Plumbing frontbuffer_ptr around (but not using it yet). 2015-07-21 19:43:36 -07:00
Ben Vanik
7df2692822 Manual merge of part of #336. 2015-07-21 19:43:16 -07:00
Ben Vanik
2215d4707d Manual merge of #330. 2015-07-21 19:42:54 -07:00
Ben Vanik
2f1d49aa32 xenia-gpu mostly clang clean. 2015-07-19 21:48:47 -07:00
Ben Vanik
5bd7833e87 More clang fixes. xenia-kernel is clean. 2015-07-19 21:29:06 -07:00
Ben Vanik
91d7acf59e Fixing some particularly bad /W4. 2015-07-18 23:04:21 -07:00
Ben Vanik
e0eb85bbbc Switching to premake. Probably with disasterous consequences. 2015-07-18 16:00:01 -07:00
Ben Vanik
756d414386 Prep for split libraries. 2015-07-16 22:26:34 -07:00
Sinoxan
0cdff21582 Removing unnecessary unsigned checks. 2015-07-16 19:01:11 +01:00
Ben Vanik
ecd4af10c9 Fixing some clang warnings/errors. 2015-07-15 23:26:58 -07:00
Ben Vanik
f520d3a2a4 Run with latest clang-format. 2015-07-15 22:44:30 -07:00
Ben Vanik
fefaa31cd8 Switching a few types to their platform-agnostic versions. 2015-07-15 22:09:19 -07:00
Ben Vanik
d89bad7380 Removing uses of Sleep/SwitchToThread/etc. 2015-07-13 21:54:24 -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
raven02
0f7f2f2491 gl4: swap high and low 16 bits within a 32 bit word using SSE intrinsics 2015-07-04 00:35:48 +08:00
Ben Vanik
9efccc5f4a Removing dependencies on MainWindow. 2015-07-01 08:02:22 -07:00
Ben Vanik
4732378ba9 Removing NV command list path, as it's unused and untested. 2015-07-01 07:36:12 -07:00
Ben Vanik
0ebee76bfe Moving common GL code out of gpu/. 2015-07-01 07:29:14 -07:00
Ben Vanik
d6136c6f3f Skeleton debugger project.
Progress on #316.
2015-06-30 15:50:52 -07:00
Ben Vanik
6c571ccfc5 Change rect lists to tri lists instead of strips.
Progress on #304.
2015-06-30 07:35:08 -07:00
Ben Vanik
e80c149492 Fixing button repeat in trace viewer. 2015-06-29 13:16:32 -07:00
Ben Vanik
1106029afc _wfopen -> xe::filesystem::OpenFile.
Progress on #305.
2015-06-28 17:33:46 -07:00
Ben Vanik
0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -07:00
Ben Vanik
74a710e8d4 Reverting interlaced types until we know what they are. 2015-06-27 12:17:37 -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
sephiroth99
3cac71322c gl4: fix glsl version detection when there is no vendor specific info 2015-06-27 13:19:50 -04:00
Ben Vanik
883126d497 Simplifying GPU creation.
Part of #296.
2015-06-27 09:11:03 -07:00
Ben Vanik
dd41f01c41 Latest imgui.
Fixes #286.
2015-06-26 19:32:08 -07:00
Ben Vanik
3b42b7b694 Verifying GLSL version and ARB_bindless_texture support.
Fixes #289.
2015-06-26 17:22:13 -07:00
Ben Vanik
4ffaac6d6f --gl_debug flag. 2015-06-26 17:22:13 -07:00