Commit Graph

31 Commits (59ed4be49aa5af5a0fb9927fba6ccb3403969556)

Author SHA1 Message Date
Alexander Medvednikov 59ed4be49a all: update copyright year 2022-01-04 12:21:12 +03:00
playX b482da74e9
gg: move code using C types to c.v files, add js.v files (#12873) 2021-12-17 15:22:09 +02:00
Delyan Angelov 1313dcf601
gg: fix leak in draw_image_with_config 2021-10-17 19:46:34 +03:00
Delyan Angelov 576664e31f
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v 2021-08-12 22:42:42 +03:00
FireRedz a8905e2788
gg: add a `color` field to gg.DrawImageConfig (#11158) 2021-08-12 11:11:38 +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
shadowninja55 7c0be629ab
checker: prohibit fixed array to fixed array assignment where elem_typ is a pointer (#10775) 2021-07-15 08:38:03 +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
KJ Lawrence 79879128b6
gg: add `rotate` to `DrawImageConfig` (#10521) 2021-06-20 08:01:41 +03:00
KJ Lawrence b0caadae31
gg: add new draw_image_with_config method (#10428) 2021-06-15 18:30:35 +03:00
Uwe Krüger d26ac5692e
all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00
spaceface 73352583e7
ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
Larpon 8caabf0e9e
sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
Delyan Angelov c0e2b9b1e2
ci: fix some of `v test-cleancode` 2 2021-04-05 20:55:03 +03:00
Andréas Livet c4e389be41
gg: make Rect struct fields public (#9518) 2021-03-30 09:39:07 +02:00
Andréas Livet 603012be94
gg: add draw_image_part (#9277) 2021-03-13 08:39:10 +02:00
Alexander Medvednikov d991712b3c gg: native rendering mode on macOS 2021-01-23 10:25:43 +01:00
Lukas Neubert ac2c3847af
all: update copyright to 2019-2021 (#8029) 2021-01-18 13:20:06 +01:00
Delyan Angelov 3a357d9718
gg: add examples/gg/stars.v 2021-01-04 12:19:05 +02:00
Alexander Medvednikov 0d43ff2453 parser: fix `for i, mut val in vals {; examples: vfmt flappybird 2020-12-27 12:02:18 +01:00
Alexander Medvednikov 576396cf20 gg: fix cached images loaded from memory 2020-12-12 23:30:41 +01:00
Delyan Angelov 8b2e704741 examples: make `v -prod build-examples` pass without warnings/errors 2020-10-18 09:48:13 +03:00
Alexander Medvednikov c781a5f245 gg: draw_triangle(); draw_image_flipped() 2020-09-20 03:47:32 +02:00
Alexander Medvednikov 9e12095111 gg: image: return an optional instead of panic(); darwin: fix nsstring() 2020-08-22 17:09:30 +02:00
Alexander Medvednikov 40d91cc23b gg: handle bad image index 2020-08-18 01:08:58 +02:00
Alexander Medvednikov 9800cf1e7b checker: improve array errors; gg: remove unused imports 2020-08-12 03:54:17 +02:00
Alexander Medvednikov ecaccafd31 gg: image cache 2020-08-05 16:00:24 +02:00
Alexander Medvednikov 67aafd03c6 gg: fix image rendering 2020-08-05 14:34:28 +02:00
Delyan Angelov 7b1944c2da gg: simplify the image_cache 2020-08-05 08:46:20 +03:00
Delyan Angelov 221a777a80 gg: cache sokol C.sg_image handles 2020-08-05 08:09:25 +03:00
Alexander Medvednikov f3ebd3a6e7 gg: fix image rendering 2020-08-05 03:15:40 +02:00