Commit Graph

51 Commits

Author SHA1 Message Date
Nikita Mounier
bb8b8fd0c0
Update examples / benchmarks. 2022-04-12 00:07:53 +00:00
Anton-4
ace5b066f8 fixed high mem+CPU usage for gui-example and editor 2022-04-01 09:41:13 +02:00
Anton-4
c04b5c9c04
Removed iced label 2022-03-09 18:45:44 +01:00
Anton-4
71ad4b4ab7
fixed large memory consumption
Reducing MAX_QUADS to 1,000 reduced memory consumption to 43MB
2022-03-09 18:05:04 +01:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Derek Gustafson
1c9e0c57bf
Make RocDecs display properly in webrepl. 2022-03-06 11:52:25 -05:00
Richard Feldman
d7b3a3f943
Format examples/gui 2022-02-25 23:19:24 -05:00
Richard Feldman
bec1fec695
Work around https://github.com/rtfeldman/roc/issues/2586 2022-02-25 23:07:23 -05:00
Richard Feldman
5cf0aa9899
Work around https://github.com/rtfeldman/roc/issues/2585 2022-02-25 23:06:52 -05:00
Richard Feldman
b21fdca968
Change some styles in examples/gui/Hello.roc 2022-02-25 22:38:58 -05:00
Richard Feldman
bab5be4e67
Implement ReferenceCount for RocElem 2022-02-24 21:38:07 -05:00
Richard Feldman
b85e79e6bc
Drop some obsolete code 2022-02-24 21:37:58 -05:00
Richard Feldman
130b6108af
Revert "Reproduce monomorphization crash"
This reverts commit 181fcb97f7.
2022-02-24 00:18:53 -05:00
Richard Feldman
181fcb97f7
Reproduce monomorphization crash 2022-02-24 00:18:34 -05:00
Richard Feldman
4de6ad4afb
Drop unused field 2022-02-24 00:07:44 -05:00
Richard Feldman
39229013ea
Delete some obsolete comments 2022-02-23 21:36:05 -05:00
Richard Feldman
7f1f22f81a
Delete some obsolete gui example platform stuff 2022-02-23 21:34:12 -05:00
Richard Feldman
5fa5a15d44
Drop an obsolete comment 2022-02-23 21:27:18 -05:00
Richard Feldman
66057b6643
Make Hello World gui example more legible 2022-02-23 21:22:22 -05:00
Richard Feldman
4168fc7c6e
Drop some unused code 2022-02-23 21:13:37 -05:00
Richard Feldman
716a0cc8c9
Replace RgbaTup with repr(c) Rgba struct 2022-02-23 21:12:42 -05:00
Richard Feldman
5b7acf8b4f
Make Row and Col work 2022-02-23 20:36:37 -05:00
Richard Feldman
90a25efbd8
Store button styles in Button 2022-02-23 08:35:09 -05:00
Richard Feldman
f1b7c7383f
Store rect colors and borders in FillRect 2022-02-23 08:19:39 -05:00
Richard Feldman
e5b4133a8e
Draw Drawables in reverse order 2022-02-23 08:16:44 -05:00
Richard Feldman
380f367530
Introduce Drawables 2022-02-23 08:11:50 -05:00
Richard Feldman
be3bdae36c
Render a more reasonable-looking button 2022-02-23 00:23:52 -05:00
Richard Feldman
5b92eb87ec
First button ever rendered! 2022-02-22 21:42:15 -05:00
Richard Feldman
4399a6dfee
Pass RocButton all the way to rendering 2022-02-22 21:42:14 -05:00
Richard Feldman
683b505e3a
Get Button and Text working 2022-02-22 21:42:14 -05:00
Richard Feldman
56e3fc4169
Make Elem recursive 2022-02-20 20:30:42 -05:00
Richard Feldman
5f78e9320b
Pass a tag to the gui host 2022-02-20 20:07:07 -05:00
Anton-4
50928d8578
don't use position name twice to prevent collision on macos metal 2022-02-19 17:06:18 +01:00
Anton-4
b1245ffd7f
update to wgpu master to fix M1 shader issues 2022-02-19 14:07:19 +01:00
Anton-4
7548f97221
changed whole pipeline to work with quads 2022-02-15 15:48:48 +01:00
Anton-4
3346eb4f2c
update wgpu, winit and wgpu_glyph 2022-02-12 13:55:21 +01:00
Anton-4
59a0c47038
succesfull rendering of multi-level rects and texts 2022-02-12 11:55:29 +01:00
Anton-4
51d86f101f
display example text on screen 2022-02-11 20:15:09 +01:00
Richard Feldman
9efd352d43
Add Http.roc to examples/gui 2022-02-07 23:51:26 -05:00
Richard Feldman
f81fbabf12
Avoid stack overflow in the compiler
(reverting this reproduces a stack overflow in the compiler!)
2022-02-07 00:13:24 -05:00
Richard Feldman
5a9d76e16f
Add Elem.translate, Elem.list, and Elem.lazy 2022-02-07 00:09:45 -05:00
Richard Feldman
38145b363f
s/tea/gui 2022-02-06 10:49:12 -05:00
Richard Feldman
9871065a3a
Add hello-gui to .gitignore 2022-02-06 08:41:15 -05:00
Richard Feldman
720d727873
Cover missing variant in match 2022-02-06 08:40:38 -05:00
Richard Feldman
d74499c356
Don't use obsolete effects syntax 2022-02-06 08:29:40 -05:00
Richard Feldman
c786d3c855
Reproduce outstanding Arc references panic
To reproduce: cargo run examples/gui/Hello.roc
2022-02-06 07:43:37 -05:00
Richard Feldman
4668a6a1b2
Move Elem and Action to examples/gui 2022-02-06 07:39:16 -05:00
Richard Feldman
26e018c45c
Reproduce a monomorphization panic 2022-02-06 07:39:16 -05:00
Richard Feldman
f8fc9cf577
Reproduce code gen crash 2022-02-06 07:39:16 -05:00
Richard Feldman
ff8937b142
s/hello-rust/hello-gui 2022-02-06 07:39:15 -05:00