sephiroth99
235f58d757
Add missing include for std::find
2015-12-30 17:42:18 -05:00
sephiroth99
058ae01568
Add default case which ignores other mouse buttons
2015-12-30 17:42:18 -05:00
Ben Vanik
5f61c6ad07
Adding icon.
2015-12-27 11:09:19 -08:00
Ben Vanik
484972db30
Fixed mutation of vectors during iteration.
2015-12-27 10:48:38 -08:00
Ben Vanik
0e58208add
Dropping elemental-forms and swapping out with imgui.
...
Too much code for such little use. This should simplify porting.
2015-12-26 20:25:24 -08:00
Dr. Chat
b49114bad6
GLContext: Keep track of robust access support for WasLost
2015-12-22 15:53:51 -06:00
Dr. Chat
a4f6e60e20
Blitter::Draw assert on zero src texture
2015-12-22 15:44:51 -06:00
Dr. Chat
30eda6909f
GLContext::WasLost - Determines if we lost the context due to a TDR or another outstanding event.
2015-12-20 21:13:51 -06:00
Dr. Chat
0c60cc5f48
Fix GLContext::AssertExtensionsPresent not clearing the context after use
2015-12-20 20:55:04 -06:00
Ben Vanik
7419e7eb4a
Trace dump tool, for dumping pngs (and in the future more stuff).
2015-12-13 11:59:14 -08:00
Ben Vanik
ec113275dc
Making texture swizzles dynamic. Seems to fix some color swap issues.
...
And probably exposes many more ;)
2015-12-07 22:39:33 -08:00
sephiroth99
e8296a8608
ui/gl: GLContext: access directly class member
...
In ::EndSwap, dc_ class member was accessed through a function. Access
it directly like it is done elsewhere in the class.
It is also the only place where it is used, so remove the function in
question.
2015-11-30 22:59:30 -05:00
Ben Vanik
65130edaa1
First pass ShaderTranslator base type, able to disasm in msft style.
2015-11-28 16:19:04 -08:00
Ben Vanik
6a546ebe4d
Shuffling spirv code so it's not tied to xe::gpu.
...
Will make it easier to use in standalone apps.
2015-11-24 19:49:05 -08:00
Ben Vanik
1956b8708e
Fixing include orders and whitelisting others.
...
Will be broken until clang SVN 253772 is available on travis/snapshots.
2015-11-21 11:34:46 -08:00
Dr. Chat
3efc7f339a
Make sure texture swizzles match before performing a copy
2015-11-14 22:34:34 -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
ca5e8fa073
Adding a way to get an hmodule.
2015-11-09 13:59:06 -08:00
Ben Vanik
65e0e907d8
Normalizing the name of the GL window demo.
2015-11-08 19:11:44 -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
e16fa28822
Fixing elemental clipping.
2015-11-07 11:09:24 -08:00
Ben Vanik
91229de429
Making window demo graphics API-specific.
2015-11-07 10:53:07 -08:00
Ben Vanik
f065872241
Adding window demo.
2015-11-07 10:37:46 -08:00
Ben Vanik
fdf59fec5f
Moving elemental to immediate drawer.
2015-11-07 09:52:57 -08:00
Ben Vanik
d4356b8cfa
Removing unused buffers.
2015-11-05 23:08:22 -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
Ben Vanik
ee92f75a84
Updating to the latest clang-format. Make sure to update yourselves!
2015-09-22 08:26:19 -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
3ac83b16c8
Fix double window destroy.
2015-09-07 09:41:44 -07:00
Ben Vanik
fa9c681c7c
Implicit Window::MakeReady on context set.
2015-09-07 09:29:07 -07:00
Ben Vanik
ec7c74d04c
Ref count elemental.
2015-09-07 09:26:36 -07:00
Ben Vanik
539f69f368
Multi-window GL contexts.
2015-09-07 09:08:54 -07:00
Ben Vanik
5411b67e05
Only register window class once.
2015-09-07 09:08:38 -07:00
Ben Vanik
3e66afeb3a
Don't steal focus on mouse move.
2015-09-07 09:08:27 -07:00
Ben Vanik
855ab7c040
Fixing set_bordered name.
2015-09-07 09:08:19 -07:00
Ben Vanik
a1a996c1e6
Shrinking UI elements in the debugger.
2015-09-06 20:49:20 -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
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
8dd59d07ac
Was about to update microprofile, but the new version is meh.
2015-08-29 09:41:14 -07:00
Dr. Chat
c50cc1cb84
Lint. One line of lint.
2015-08-18 19:13:36 -05:00
Dr. Chat
f5104af0a2
Whoops, fix AND masks
2015-08-18 19:00:57 -05:00
Dr. Chat
38064acd51
UI KeyEvent previous state and repeat count
2015-08-18 18:45:35 -05:00
Ben Vanik
8b0d4fb51c
Linux tweaks.
2015-08-18 14:18:00 -07:00
Ben Vanik
03142614ec
elemental-forms is mostly style-clean.
2015-08-09 12:07:07 -07:00