Commit graph

2076 commits

Author SHA1 Message Date
Keavon Chambers
848228dd45 Add rustfmt.toml and enable auto formatting (Fixes #7) 2020-07-12 16:20:28 -07:00
Keavon Chambers
c49c00100e Add Apache 2 license 2020-07-12 13:58:50 -07:00
Keavon Chambers
386a823493 Rename last remaining data type to GuiXml 2020-07-12 02:46:11 -07:00
Gabriel Majeri
7918f71c1d Add docs for GUI system 2020-07-12 12:20:53 +03:00
Keavon Chambers
642c7ffd00 Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1) 2020-07-11 19:01:48 -07:00
Keavon Chambers
58992ba8ad Simplification and comments for XML parser 2020-07-10 02:37:55 -07:00
Keavon Chambers
ba9caf941c Create readme 2020-07-10 02:35:29 -07:00
Keavon Chambers
f32f39d5a6 Rename GUI Layout to Layout System 2020-06-10 14:01:50 -07:00
Keavon Chambers
559833be8e Layout language AST building now complete with recursive parsing referenced XML files 2020-05-31 22:02:41 -07:00
Keavon Chambers
0c7e6bc883 Implement abstract syntax tree parsing of XML layout 2020-05-27 04:08:52 -07:00
Keavon Chambers
decff5681b Rename ComponentLayout to GuiLayout 2020-05-25 22:45:42 -07:00
Keavon Chambers
870ce74743 Rename ParsedLayoutNode to LayoutParsedNode 2020-05-25 22:24:54 -07:00
Keavon Chambers
f8025b15ea Add parsing of XML layout files into a ParsedLayoutNode tree 2020-05-25 22:08:27 -07:00
Keavon Chambers
474b2b39f9 Add basic layouts for XML-based GUI system 2020-05-24 21:22:16 -07:00
Keavon Chambers
e72ab7b000 Draw commands are now built by a GuiNode traversing its children 2020-05-23 22:44:35 -07:00
Keavon Chambers
6e0883e9b6 Move pipeline name and bind groups to DrawCommand 2020-05-23 15:43:55 -07:00
Keavon Chambers
8fb1a703af Remove unused code 2020-05-23 12:47:36 -07:00
Keavon Chambers
a9859b4bb4 Refactor to generalize pipeline drawing sequence 2020-05-23 12:36:47 -07:00
Keavon Chambers
9a60ba54fe Add bind group caching 2020-05-11 00:38:01 -07:00
Keavon Chambers
59cb448872 Caching for resources is now used instead of ignored 2020-05-04 03:01:56 -07:00
Keavon Chambers
38b36ed4c6 Code cleanup and creation of GuiTree 2020-05-03 01:34:14 -07:00
Keavon Chambers
d64d4d881a Remvoe old cache implementations 2020-05-02 22:35:14 -07:00
Keavon Chambers
f4900dd919 Refactor resource caches and use it with textures now 2020-05-02 22:34:23 -07:00
Keavon Chambers
2ab74f7ba1 Fix coordinate system so it renders like before wgpu upgrade 2020-05-02 17:46:34 -07:00
Keavon Chambers
323a951362 Update wgpu from 0.4 to 0.5 (currently it's not rendering) 2020-05-02 14:44:28 -07:00
Keavon Chambers
b30ee294a6 Window with textured polygon 2020-04-26 00:28:13 -07:00