Commit Graph

139 Commits

Author SHA1 Message Date
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
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
b1afab5bb7 Switching to old depth buffer clear style. 2015-08-29 22:13:19 -07: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
abf50b477e Making shutdown clean. 2015-07-25 12:56:37 -07:00
Ben Vanik
8126b12340 Plumbing frontbuffer_ptr around (but not using it yet). 2015-07-21 19:43:36 -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
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
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
6c571ccfc5 Change rect lists to tri lists instead of strips.
Progress on #304.
2015-06-30 07:35:08 -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
raven02
f41c500c43 gl4: minor read format fix 2015-06-26 22:27:59 +08:00
Ben Vanik
fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
raven02
1fb2ccb552 Add back the comment and we can check it again in future 2015-06-22 09:22:31 -07:00
raven02
68e12a4664 typo fix 2015-06-22 09:07:55 -07:00
raven02
d2de2bf652 gl4 : clear depth and stencil seperately using the DSA version 2015-06-22 09:04:34 -07:00
raven02
abda769c45 gl4: more color formats 2015-06-19 06:11:42 -07:00
sephiroth99
d708e2899f gl4: command_processor: fix locations in geometry shader header
The vertex shader outputs VertexData at location 1. Similarly, the pixel
shader's VertexData input is at location 1.

The geometry shader has both its input and output of VertexData at
location 0. Change it to location 1 so it matches the interface of
the other two shaders.
2015-06-18 02:01:36 -04:00
Ben Vanik
a446d9c64a No need for thread-local shader translator as all reqs come from GPU CP. 2015-06-07 16:13:04 -07:00
gibbed
cc79934fee Added k_16_16_16_16. 2015-06-06 18:10:17 -05:00
Ben Vanik
954b67df78 Adding readback color format. 2015-06-02 22:46:53 -07:00
Ben Vanik
c4ef5d4eb8 Allow AllocFixed of unreserved ranges. 2015-05-29 21:47:19 -07:00
gibbed
35bea36fc4 Added a magic value to XE_SWAP packets to make it obvious if there's an opcode collision. 2015-05-29 15:59:56 -05:00
Ben Vanik
8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
Ben Vanik
41cee3d337 Switching vsync to custom thread. 2015-05-25 21:12:27 -07:00
Ben Vanik
e3ddcd44e7 Minor fixes and fixing thread names. 2015-05-25 21:10:28 -07:00
Ben Vanik
7cabcad69e f5 now also clears cached framebuffers/targets. 2015-05-25 14:58:46 -07:00
Ben Vanik
5cfb69434c Modules using object_ref. 2015-05-25 00:51:27 -07:00
Ben Vanik
fff1a7c132 Switching std::thread to XThread and hosting in object_refs. 2015-05-25 00:51:26 -07:00
Ben Vanik
f88bf33b4f Moving threads to XHostThread and making shutdown not crash. 2015-05-19 22:20:49 -07:00
Ben Vanik
147a70b9c1 Rewriting memory manager. 2015-05-17 00:16:56 +01:00
gibbed
c5c312eb8f ColorFormat::k_16_16_FLOAT support, maybe. 2015-05-12 06:51:32 -05:00
Ben Vanik
d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00
Ben Vanik
d76998915a Code cleanup: moving poly logging to xenia 2015-05-02 01:59:50 -07:00
Ben Vanik
30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik
ec84a688e9 Starting to properly attribute virtual vs. physical memory accesses. 2015-03-29 11:11:35 -07:00
Ben Vanik
ab90e0932b Minor tweaks for crazy shaders. 2015-03-28 18:13:21 -07:00
Ben Vanik
7677d6ea9f Depth range. 2015-03-22 15:30:36 -07:00
Ben Vanik
8cfcea2309 32_32_F render target format. 2015-03-22 15:30:18 -07:00
Ben Vanik
f8db3774cb Hiding draw batch flush scope. 2015-03-22 11:41:46 -07:00
Ben Vanik
11b0c076bd Adding basic short-term vb reuse, removing index counting.
Regression for some games (that don't size their fetches), massive
improvement for others.
2015-03-22 11:35:23 -07:00