Commit graph

195 commits

Author SHA1 Message Date
Folkert
5b045f8a86 first stab at editor patterns 2020-12-16 13:21:45 +01:00
Folkert
0096078cd0 changes after review 2020-12-16 11:23:04 +01:00
Richard Feldman
90bf0b3ace
Merge pull request #805 from rtfeldman/parse-to-edit-ast
Parse to edit ast
2020-12-15 22:44:56 -05:00
Folkert
421e652edb Merge remote-tracking branch 'origin/trunk' into parse-to-edit-ast 2020-12-16 00:29:27 +01:00
Folkert
82bf9b3f93 more parse to Expr2 conversion 2020-12-16 00:29:12 +01:00
Folkert
aec95a61ae extend Pool and PoolVec 2020-12-16 00:28:19 +01:00
Folkert
18f3142254 return both Expr2 and ExprId (from separate functions) 2020-12-15 19:53:16 +01:00
Folkert
96a4432327 clippy on PoolStr 2020-12-15 17:01:45 +01:00
Folkert
8b289f3398 simple literals in editor ast 2020-12-15 17:00:08 +01:00
Anton-4
1f3850126e include shaders in repo 2020-12-15 15:34:39 +01:00
Anton-4
e1a0bc1563 Merge branch 'trunk' of rtfeldman/roc into ci_speedup 2020-12-15 15:16:38 +01:00
Anton-4
8bf426b6b9 don't recompile shaders unnecessarily 2020-12-15 15:00:24 +01:00
Richard Feldman
44e91bbfda
Merge pull request #801 from rtfeldman/editor_refactor
editor: refactoring orthographic projection
2020-12-14 22:19:00 -05:00
Folkert
a174137351 add PoolStr::new() 2020-12-14 23:27:24 +01:00
Anton-4
b085469602 Replaced large_enum_variant explanation with link to issue #800 2020-12-14 16:09:16 +01:00
Anton-4
0feb8a9226 editor refactoring orthographic projection 2020-12-14 15:35:10 +01:00
Anton-4
bf34fc4fe0 Merge branch 'trunk' into editor_pixel_coords 2020-12-12 19:00:34 +01:00
Anton-4
fc4d510c40 more comments and minor cleanup 2020-12-12 18:11:57 +01:00
Anton-4
ea3f15f950 forgot to submit cmd_queue 2020-12-12 17:55:11 +01:00
Anton-4
8ca09dae73 fixed errors and rect positioning 2020-12-12 13:29:43 +01:00
Anton-4
06a2dcb5b7 orthographic projection to support pixel coordinates (with errors) 2020-12-11 19:38:44 +01:00
Richard Feldman
d420beb56f Implement Pool::reserve 2020-12-09 20:34:41 -05:00
Richard Feldman
53534f5b09 Drop obsolete comment 2020-12-09 19:05:19 -05:00
Richard Feldman
7cad3eb68c Drop obsolete AccessVars 2020-12-09 08:09:45 -05:00
Richard Feldman
ed4e223b03 Drop obsolete RecordVars 2020-12-09 08:09:20 -05:00
Richard Feldman
b48a6dee28 Drop obsolete UpdateVars 2020-12-09 08:08:46 -05:00
Richard Feldman
22369e523c Use PoolStr for tag and field names 2020-12-09 08:07:35 -05:00
Richard Feldman
fdd3fd14e9 cargo fmt 2020-12-09 08:06:17 -05:00
Richard Feldman
c0a74ab10e Drop oboslete comment 2020-12-09 08:05:13 -05:00
Richard Feldman
0d0a9e677c Remove obsolete expr_and_args 2020-12-09 08:05:13 -05:00
Richard Feldman
acb2bc7092
fix field name 2020-12-09 07:53:42 -05:00
Richard Feldman
61300f782d Use cmp, per clippy 2020-12-08 23:19:05 -05:00
Richard Feldman
68cf9602e1 cargo fmt 2020-12-08 23:15:57 -05:00
Richard Feldman
91c3cf25b6 Revise how numbers are stored in editor IR 2020-12-08 23:15:21 -05:00
Richard Feldman
48dd79c5f4 Revert "Add a mmap benchmark"
This reverts commit 89f213d58f92f16227b3b0542e5a99e10874e91a.
2020-12-08 23:03:42 -05:00
Richard Feldman
a46a8d076b Add a mmap benchmark 2020-12-08 23:03:42 -05:00
Richard Feldman
bdf08ea5a6 Remove unused argument from with_capacity 2020-12-08 23:03:42 -05:00
Richard Feldman
c1356f0b68 Fix Pool implementation 2020-12-08 23:03:42 -05:00
Richard Feldman
fd47d6ee71 Have NodeId be an index, not a pointer 2020-12-08 23:03:42 -05:00
Richard Feldman
ef45e77a35 Add editor::pool 2020-12-08 23:03:42 -05:00
Richard Feldman
63e91fb01e Use 32-byte nodes in the editor IR 2020-12-08 23:03:42 -05:00
Richard Feldman
5faf73769f
Merge branch 'trunk' into editor-ir 2020-12-05 21:44:20 -05:00
Richard Feldman
7e38622ebf Don't use NodeId in Expr2, so it fits in 16B 2020-12-05 21:42:45 -05:00
Richard Feldman
31a7bfd0a2 Don't use NodeId in BucketList 2020-12-05 21:16:48 -05:00
Richard Feldman
7749c6978f Revert repr(packed) on NodeId 2020-12-05 21:16:28 -05:00
Richard Feldman
2bad387bf4 Revert "Try having BucketId be two u8s"
This reverts commit feb5b7f8b6.
2020-12-05 17:49:21 -05:00
Richard Feldman
feb5b7f8b6 Try having BucketId be two u8s 2020-12-05 17:49:16 -05:00
Richard Feldman
7e48867c9d Try out repr(packed on NodeId) 2020-12-05 17:40:27 -05:00
Richard Feldman
24332c679d Add repr(transparent) to BucketId 2020-12-05 17:40:16 -05:00
Richard Feldman
1f4f871f59 Add some more size check assertions 2020-12-05 17:40:06 -05:00