1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

36 Commits

Author SHA1 Message Date
Larpon
41b9b2988a
examples: add port of simple triangle sokol sample (#13298) 2022-01-27 21:16:00 +02:00
Larpon
3e9c1c1a3a
sokol: rename sapp consts, remove sapp prefix (#13083) 2022-01-07 18:01:07 +02:00
Larpon
214853c373
sokol: small fixes to screenshot functions and docs (#13055) 2022-01-06 14:11:40 +02:00
Larpon
3ae4513e2e
sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) (#13044) 2022-01-05 18:23:14 +02:00
Larpon
4d4398fa8a
sokol: type alias all gfx structs (#13014) 2022-01-02 20:36:01 +02:00
Larpon
2210f89ea3
sokol: type alias all sapp structs (#12962) 2021-12-26 13:02:51 +02:00
Delyan Angelov
0021fbbaa9
gg: support VGG_STOP_AT_FRAME=120 VGG_SCREENSHOT_FOLDER=. VGG_SCREENSHOT_FRAMES=10,20,30 ./v -d gg_record run examples/gg/bezier_anim.v (#12767) 2021-12-08 22:38:33 +02:00
Delyan Angelov
045579fd8a
parser: use the [has_globals] module attribute, remove the parser global_enabled_mods whitelist (part 2) 2021-11-16 11:44:36 +02:00
Alexander Medvednikov
45534b512b time: move pure V function from time.c.v 2021-10-19 16:03:45 +03:00
Larpon
5bfa3d5530
sokol: add screenshot function to OpenGL based backends (#12169) 2021-10-13 21:22:58 +03:00
penguindark
e4bd2306da
sokol: upgrade to latest version, add program icon support (#11559)
* updated sokol_gfx.h to the last version: 16d7b2e

* merged sokol_app and update enums.v

* added missing icons structs

* try to fixing Mac keyboard problems

* added v patch marker to sokol_app.h

* upgrade for sokol_gl.h, sokol_fontstash.h

* manage sgl_load_default_pipeline

* added load_default_pipeline() for sokol coherence

* vfmt sapp_structs.c.v

Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-09-21 09:55:06 +03:00
Alexander Medvednikov
ab3adf3346 checker: no longer allow automatic dereferncing in a = b 2021-09-09 20:21:01 +03:00
penguindark
63ff5690ff
sokol.sapp,gg: add support for drag & drop events (#11359) 2021-09-01 09:21:27 +03:00
penguindark
8dcb27a11d
sokol: expose the toggle_fullscreen and is_fullscreen functions (#11339) 2021-08-30 17:10:14 +03:00
Delyan Angelov
576664e31f
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v 2021-08-12 22:42:42 +03:00
Ben-Fields
8a097293a8
sokol: define a pixel color format (#10951) 2021-07-25 17:27:07 +03:00
crthpl
9eee6631cc
sokol: add mouse locking (#10684) 2021-07-06 20:43:41 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +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
Alexander Medvednikov
1716e8dd04 gg: byteptr fixes 2021-04-04 18:05:01 +03:00
Alexander Medvednikov
d991712b3c gg: native rendering mode on macOS 2021-01-23 10:25:43 +01:00
joe-conigliaro
14887304d8
sokol: allow submodules to be built by themselves (add required imports) 2020-12-07 16:16:21 +11:00
Henrixounez
c324169af0
all: remove intermediate handling for both global definition syntaxes (#6546) 2020-10-03 15:41:45 +02:00
Alexander Medvednikov
c781a5f245 gg: draw_triangle(); draw_image_flipped() 2020-09-20 03:47:32 +02:00
Delyan Angelov
3efa670d6a sokol: add new mouse_dx and mouse_dy fields (fix for Android multitouch) 2020-08-24 23:01:14 +03:00
Alexander Medvednikov
542b149290 sokol: fix examples and remove copy pasta 2020-08-23 07:47:50 +02:00
spaceface777
c1651bd271
gg: fixes and Android support (#6161) 2020-08-19 07:10:42 +02:00
Alexander Medvednikov
fb7ca56d87 gg: minor fixes 2020-06-04 19:57:16 +02:00
Alexander Medvednikov
9bcbb3868f gg: migrate to sokol; examples: update tetris 2020-06-01 12:57:08 +02:00
Alexey
54226e74cf
sokol: add missing C prefixes 2020-04-16 15:53:34 +02:00
Alexander Medvednikov
eed7c91e87 move compiler tests from compiler/ to v/ 2020-03-27 18:01:46 +01:00
lydiandy
3c0b73c2d6
sokol: fixes 2020-02-24 18:02:22 +01:00
Alexander Medvednikov
9f4661391d v2: simplify the type system; an initial version of the V interpreter 2020-02-02 07:56:18 +01:00
Delyan Angelov
24d34a4f2c sokol: fix building of examples and ci tests 2020-01-17 20:05:45 +01:00
Alexander Medvednikov
62481e88f3 sokol and fontstash modules 2020-01-16 20:45:52 +01:00