John Godgames
bcec142d3e
Fixes DXT1 Alpha issues in certain games
...
https://www.opengl.org/wiki/S3_Texture_Compression#DXT1_with_1-bit_Alpha
2015-11-20 05:10:28 +01:00
Dr. Chat
9ff8aa96e7
Disable GL_CULL_FACES when drawing rectangle lists.
2015-11-17 22:20:43 -06:00
Dr. Chat
f50e2ab10c
Trace Viewer: Display a file picker if the user doesn't supply a file on the command line.
2015-11-15 09:15:20 -06:00
Ben Vanik
b970b970f0
Removing another scalar component swap from #273 .
2015-11-12 15:53:16 -08:00
Ben Vanik
3d2a5b2495
Reverting depth clear restriction in #330 .
...
The comment is still true: games seem to need more clears.
2015-11-12 14:15:59 -08:00
Ben Vanik
e858f87e3e
Reverting component changes from #273 .
2015-11-12 14:14:37 -08:00
Dan Weatherford
2fda17cf3c
Fix relative constant fetch on second source operand of shader instruction
...
The sense for this test was backwards, causing AppendSrcReg to read the wrong
const_n_rel_abs flag if the first operand was not a constant fetch.
2015-11-11 17:13:48 -06: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
d8fa54ffc4
Fixing super class call in gl4 cp.
2015-11-09 20:28:09 -08:00
Ben Vanik
5834a42ef3
Dependency injection for apu/gpu/hid.
2015-11-08 15:02:24 -08:00
Ben Vanik
9a6c5c5c74
95% of trace viewer now gpu backend agnostic.
2015-11-08 14:05:37 -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
b26f4a5719
Moving imgui input to a shared place.
2015-11-07 12:42:44 -08:00
Ben Vanik
4af6c41740
Moving profiling.h to base - UI could be separated for cleanliness.
2015-11-07 12:31:07 -08:00
Ben Vanik
f065872241
Adding window demo.
2015-11-07 10:37:46 -08:00
Ben Vanik
4c2257a29d
Moving imgui to the new ImmediateDrawer.
2015-11-05 23:03:02 -08:00
Ben Vanik
c631b965d7
Adding generic immediate mode drawing API and migrating microprofile.
...
Future changes will move elemental-forms and imgui to the common API as
well.
2015-11-05 21:36:05 -08:00
Dr. Chat
9baeef02e0
Allow rect lists to fall through if they don't match the expected format
2015-11-04 05:51:34 -06:00
Dr. Chat
c4165a235c
Fix rectangle list fragment shader for right-aligned vertices.
2015-11-03 21:32:25 -06:00
Dr. Chat
22629c3ef5
Use a slightly better flag name for drawing all framebuffers
2015-09-25 18:54:28 -05:00
Dr. Chat
9f2cf96f8a
Add a flag to copy color targets and depth targets to the screen on swap
2015-09-25 18:30:39 -05:00
Ben Vanik
3fc1d02a09
Suspend some host threads that make guest callbacks.
2015-09-21 21:24:26 -07:00
Ben Vanik
5d033f9cb3
A new debugger.
...
Lots of bugs/rough edges/etc - issues will be filed.
Old-style debugging still works (just use --emit_source_annotations to get
the helpful movs back and --break_on_instruction will still fire).
2015-09-20 21:31:05 -07:00
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
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
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
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
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
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