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
a92566dfc5
More style.
2015-08-07 21:29:03 -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
883126d497
Simplifying GPU creation.
...
Part of #296 .
2015-06-27 09:11:03 -07:00
Ben Vanik
f88bf33b4f
Moving threads to XHostThread and making shutdown not crash.
2015-05-19 22:20:49 -07:00
Ben Vanik
30f7effa73
Code cleanup: removing common.h
2015-05-02 01:25:59 -07:00
Ben Vanik
727ffaa122
Various fixes and utilties.
2015-05-02 00:26:03 -07:00
Ben Vanik
41174b0e64
Hacktastic GPU trace viewer; textures, shaders, state, etc.
2015-03-01 12:26:11 -08:00
Ben Vanik
07c592942f
Simple UI for frame seeking.
2015-02-21 11:19:00 -08:00
Ben Vanik
5227fe72b5
RequestSwap to force a swap from the GL thread.
2015-02-21 11:18:22 -08: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
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
a0eebf8898
Removing old run loop/ref/core/etc.
2014-12-31 19:26:51 -08:00
Ben Vanik
244e8a8745
Removing the last of XEDECLARECLASS.
2014-08-20 22:50:10 -07:00
Ben Vanik
fdab788017
Removing PAL.
2014-08-16 21:19:21 -07:00
Ben Vanik
01f0b14250
Removing xe_thread_t.
2014-08-16 01:36:45 -07:00
Ben Vanik
6e76c169d6
Proper(ish) VdSwap - fixes a bunch of things.
...
Caching is working a bit better, now.
2014-06-08 21:24:29 -07:00
Ben Vanik
295910c3d8
Initial refactoring of gpu/.
...
Runs too fast - now there are ringbuffer wrapping issues.
2014-06-08 11:23:55 -07:00
Ben Vanik
0e3854555d
Pure dynamic MMIO access. Prep for more complex GPU memory management.
2014-06-01 23:36:18 -07:00
gibbed
b6c831c7ec
Wait for graphics driver to complete initialization before continuing.
2014-01-24 23:00:05 -08:00
Ben Vanik
7969349126
Fixing some shutdown code.
2014-01-02 18:58:44 -08:00
Ben Vanik
fdb6a5cfa3
Initial Alloy implementation.
...
This is a regression in functionality and performance, but a much better
foundation for the future of the project (I think). It can run basic
apps under an SSA interpreter but doesn't support some of the features
required to do real 360 apps yet.
2013-12-06 22:57:16 -08:00
Ben Vanik
b7ffd46319
Massive refactoring of all code + audio skeleton.
...
This should make it easier to find files and (in the future) split things
up into separate libraries.
It also changes around emulator initialization to make it a little more
difficult to do things out of order and a little more sensible as to when
real init work happens.
Also adding a skeleton audio system/driver and reworking CPU register
access to be more extensible.
2013-10-23 20:42:24 -07:00
Ben Vanik
fbea5a6394
Making the GPU counter a vblank counter, not a timer.
2013-10-20 02:00:51 -07:00
Ben Vanik
37065255a2
Dispatching interrupts.
2013-10-19 12:50:26 -07:00
Ben Vanik
90bc6ad1a8
Interrupts fire on the right 'thread', ringbuffer work,
2013-10-19 11:50:01 -07:00
Ben Vanik
cc12f0b96a
Periodically fire interrupts.
2013-10-13 11:06:13 -07:00
Ben Vanik
6e4fb87992
D3D11 window up and spinning.
2013-10-11 20:23:58 -07:00
Ben Vanik
651954ccae
Starting to drive command buffer actions down to a graphics driver.
2013-10-06 21:09:58 -07:00
Ben Vanik
91f62918f6
Adding vblank interrupt.
2013-09-25 00:46:09 -07:00
Ben Vanik
ba16a0d847
Trying to setup writeback and add basic secondary command execution.
2013-06-01 03:08:31 -07:00
Ben Vanik
5b0fa8f17e
Basic ringbuffer worker. Super hacky, not yet writing back to CPU.
2013-06-01 01:13:44 -07:00
Ben Vanik
ef0032ecff
Wiring up register read/write from JIT -> GPU.
2013-05-31 21:23:26 -07:00
Ben Vanik
2cecc02787
Skeleton GPU files.
2013-05-27 21:45:55 -07:00