Commit Graph

145 Commits

Author SHA1 Message Date
Hugo Amnov
b48b084d25
Vulkan cleanup for Webgpu (#2127)
* Harmonize and simplify Vulkan SPIRV bindings mappings

* Handle Vulkan V-flip properly

* Update Embedded shaders
2020-05-03 13:54:30 -07:00
Бранимир Караџић
b3d1460368 Cleanup. 2020-04-10 21:11:18 -07:00
Бранимир Караџић
82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Oliver Collyer
aeb77dde38 Overloaded nvgluCreateFramebuffer functions
Added overloaded nvgluCreateFramebuffer functions for creating a framebuffer that automatically mirrors the size of the back buffer
2020-01-05 08:43:53 -08:00
Leandro Freire
1db46f4fe6 Rename variables and constants 2019-08-17 12:32:16 -07:00
Leandro Freire
855623e153 Rename VertexDecl to VertexLayout 2019-08-13 18:42:01 -07:00
Бранимир Караџић
73362c3989 Rebuilt shaders. 2019-08-10 10:26:00 -07:00
Martijn Courteaux
6c6f43cff0 Fixed gather after cleanup in 49bd00e. 2019-08-04 16:58:25 -07:00
Branimir Karadžić
b0f0514f86 Rebuilt embedded shaders. 2019-01-22 21:02:34 -08:00
Бранимир Караџић
3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
Бранимир Караџић
a54f8a3f81 Renamed UniformType enum Int1 to Sampler. 2019-01-11 14:14:17 -08:00
Mathieu-Andre Chiasson
5be52bb925 upgraded nanovg to the latest. 2018-12-27 21:52:01 -05:00
Branimir Karadžić
83b1ece243 Rebuilt shaders. 2018-09-19 20:35:53 -07:00
Branimir Karadžić
4433b5bcdc Separating sampler flags from texture creation flags. 2018-08-20 17:12:26 -07:00
Branimir Karadžić
0c405fc256 shaderc: Fixed SPIRV uniform offsets. 2018-04-14 10:30:00 -07:00
Branimir Karadžić
45918a4e81 Updated shaders. 2018-04-12 20:45:33 -07:00
Branimir Karadžić
ab46f3f353 Rebuild embedded shaders. 2018-04-11 21:14:22 -07:00
Branimir Karadžić
5ecd605107 Updated shaders. 2018-03-17 21:56:54 -07:00
Branimir Karadžić
b4229e4a17 Cleanup. 2018-03-01 17:30:28 -08:00
Branimir Karadžić
15485134f7 Updated nanovg. 2018-03-01 09:05:54 -08:00
Branimir Karadžić
584b8b34f0 Added support for independent RGB channel write control. 2018-02-13 12:35:23 -08:00
Branimir Karadžić
e38c7bfaec Updated embedded shaders. 2018-01-13 11:55:27 -08:00
Branimir Karadžić
f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić
f88c44a835 Cleanup. 2017-11-28 08:44:47 -08:00
Branimir Karadžić
e7bcae2dfd Cleanup. 2017-11-27 19:44:27 -08:00
Branimir Karadžić
c6e5062067 Rebuilt shaders. 2017-10-01 23:08:08 -07:00
Branimir Karadžić
6dabea4ddc Updated embedded shaders. 2017-09-01 21:28:21 -07:00
Branimir Karadžić
7c9b2b7257 API change: Simplified destroy functions to use overload resolution. 2017-07-17 22:29:43 -07:00
Branimir Karadžić
3e212b519f Moving code around and renaming files. 2017-07-15 21:01:08 -07:00
Branimir Karadžić
236ef4b875 Fixed shader binary truncation. Issue #1170. 2017-06-20 20:34:41 -07:00
Branimir Karadžić
6910ddba9e WIP: Adding more sort key modes. 2017-06-14 18:10:42 -07:00
Branimir Karadžić
6a6c5e3af9 Cleanup. 2017-06-10 22:31:59 -07:00
Branimir Karadžić
07d799f72e Renamed constants to new style. 2017-06-09 21:57:08 -07:00
Olli Wang
ed99f83093 Fixes texture format for NanoVG framebuffer. (#1147)
* Fixes pixel format for iOS.

* Fixes texture format of nanovg framebuffer.
2017-06-04 09:53:19 -07:00
Branimir Karadžić
c0f37bc121 Fixed #1136 premultiplied alpha. 2017-05-24 21:15:08 -07:00
Branimir Karadžić
54411a2b5d Fixed issue #1136 cont. 2017-05-24 08:55:45 -07:00
Branimir Karadžić
1e3f8e2965 Fixed issue #1136. 2017-05-20 17:15:19 -07:00
Branimir Karadžić
68c6b46a65 Exposed vertex stream argument to API. 2017-05-14 11:48:59 -07:00
Branimir Karadžić
c689fa3498 Cleanup. 2017-04-20 22:12:41 -07:00
Branimir Karadžić
9128c4f374 Fixed NanoVG. 2017-04-12 20:53:58 -07:00
Branimir Karadžić
610055fbb0 Rebuilt shaders, removed unused shaders. 2017-04-11 19:46:40 -07:00
Branimir Karadžić
8ce85d2462 Added bimg dependency. 2017-04-03 22:42:27 -07:00
Branimir Karadžić
8b94c13e32 shaderc: Parse in/out correctly. 2017-04-03 17:53:14 -07:00
Branimir Karadžić
e492eb5132 Image code cleanup, preparing for split into new lib. 2017-04-01 14:54:18 -07:00
Branimir Karadžić
0aa79d3ac4 Cleanup. 2017-03-25 21:04:58 -07:00
Olli Wang
b761d1240c Allows to set view id of NanoVG’s framebuffer manually.
This commit changes the `nvgluCreateFramebuffer()` function to not assign a view id automatically as it would easily reach the limit of `uint8_t`. Instead, a new `nvgluSetViewFramebuffer()` function is created to allow users to assign the view id manually as mentioned in #1095.
2017-03-26 11:03:52 +08:00
Branimir Karadžić
837d92159a Rebuilt shaders. 2017-03-24 20:29:24 -07:00
jdryg
b23af90947 nvgRenderUpdateTexture() was reading past the end of the data buffer. 2017-03-24 11:59:16 +02:00
Olli Wang
6c02e359bd Updates NanoVG to the latest commit.
This commit pulls more changes that was not included in #1088.
2017-03-24 00:14:01 +08:00
Branimir Karadžić
7f847d9af0 Cleanup. 2017-03-22 19:19:35 -07:00