Commit Graph

39 Commits (4ce6e663bfc3415d2f38fbcbf75807529b44b42e)

Author SHA1 Message Date
Benjamin Stigsen 546c388b02
gg: renaming drawing functions (#12913) 2021-12-23 13:31:25 +02:00
Larpon 047f059fb8
examples: use `fontstash` wrapper calls (#12718) 2021-12-06 23:39:43 +03:00
penguindark 89eb5425cd
examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736) 2021-12-06 09:53:46 +02:00
Delyan Angelov 852d85b3a9
gg: cleanup the minimal gg program more 2021-11-07 09:16:49 +02:00
Delyan Angelov 32b74dd348
gg: simplify the minimal gg application even more with `context.user_data = context` 2021-11-06 18:24:19 +02:00
Larpon 09cc0c7247
gg: use sgl.begin_points for pixels + improve pixels example (#12085) 2021-10-07 10:46:57 +03:00
yuyi 108a01d65f
fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
Delyan Angelov 5010d18f27 examples: use double buffering for mandelbrot.v, to remove flickering on m1 2021-09-10 19:46:10 +03:00
Delyan Angelov fa0983128f
examples: add a mandelbrot viewer example 2021-09-10 18:59:39 +03:00
penguindark f1cba44154
examples: add a gg drag'n'drop example (#11403) 2021-09-05 16:14:38 +03:00
Larpon e85311c2ba
gg: change draw_cubic_bezier* call signatures for speed and to match *_poly (#11323) 2021-08-27 16:52:05 +03:00
Larpon 833bf2cf15
gg: add cubic Bézier curves + examples (#11286) 2021-08-24 06:35:27 +03:00
Benjamin Stigsen 70a658a265
gg: set_pixels() (#11236) 2021-08-20 01:14:25 +03:00
Delyan Angelov 0d12d55295
gg: allow customisation of the image format in gg.new_streaming_image 2021-07-26 11:05:16 +03:00
Daniel Däschle ad3835b598
parser: deprecate short struct init (#10842) 2021-07-20 11:17:08 +03:00
Delyan Angelov 05284c45a6
examples: fix x,y dimensions 2021-07-16 22:51:20 +03:00
Delyan Angelov b2391424d9
examples: add examples/gg/random.v demonstrating how to stream images/pixels 2021-06-24 17:45:14 +03:00
Delyan Angelov f18265e6a8
gg: remove obsolete usages of `use_ortho: true` 2021-06-24 11:15:12 +03:00
Larpon 19b4504072
examples: add a gg timer example, drawing the result coming from a worker thread (#10065) 2021-05-10 11:30:24 +03:00
Lukas Neubert dee733aae4
fmt: reset const field align after multi line exprs (#9916) 2021-04-29 02:17:37 +03:00
Lukas Neubert 16e79bc3ca
tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
Alexander Medvednikov 711e309eef gg: bring back native rendering on macos 2021-04-14 03:59:34 +03:00
Lucas Hernán Tarche 7813ecbb75
gg: add draw_convex_poly/2 and draw_empty_poly/2 methods (#8487) 2021-02-01 18:18:23 +02:00
Larpon afddcda7a3
examples: make raven text run on android, fix text scaling (#8394) 2021-01-29 12:13:06 +02:00
Delyan Angelov 3a357d9718
gg: add examples/gg/stars.v 2021-01-04 12:19:05 +02:00
Delyan Angelov 8b2e704741 examples: make `v -prod build-examples` pass without warnings/errors 2020-10-18 09:48:13 +03:00
Delyan Angelov b22711ef33 examples/gg/rectangles.v: add missing logo.png picture 2020-08-05 19:56:01 +03:00
Alexander Medvednikov ecaccafd31 gg: image cache 2020-08-05 16:00:24 +02:00
Alexander Medvednikov f3ebd3a6e7 gg: fix image rendering 2020-08-05 03:15:40 +02:00
Alexander Medvednikov 60c642f42d gg: clean up draw_image() 2020-08-04 01:26:56 +02:00
Alexander Medvednikov 79b70006e6 examples: simplify gg/rectangles.v 2020-08-02 17:01:10 +02:00
Alexander Medvednikov 48f1f814d2 gg: minor fixes 2020-07-06 20:40:54 +02:00
Alexander Medvednikov ebb4935703 examples: simpify text rendering examples 2020-07-06 19:55:49 +02:00
Alexander Medvednikov 13a7ce9e69 gg: GG => Context 2020-06-04 20:26:18 +02:00
Alexander Medvednikov 6b6c9d6738 gg: make the Sokol based gg the default 2020-06-04 16:05:15 +02:00
Alexander Medvednikov 4e51867612 make v build-examples work: part 1 2020-06-02 16:09:41 +02:00
Alexander Medvednikov dd34e65398 gg: sokol fixes and text rendering benchmark 2020-05-30 12:52:27 +02:00
Tim Basel 3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
Alexey a5c0d89c71
examples: reorganize 2020-03-21 09:47:38 +01:00