Branimir Karadžić
290295136b
Added bx::Location, and removed allocator macros.
2023-04-23 19:19:22 -07:00
Francis Hart
403c4da2e0
Fix compiler warnings for nanovg wrapper ( #3048 )
...
* Fix compiler warnings for nanovg wrapper
Code for the nanovg wrapper was generating compiler warnings for
implicit casts from int32_t to uint16_t. These casts are unavoidable
due to how bgfx and nanovg APIs use different types for texture
width/height.
* Fix compiler warning from nanovg fontstash.h
This fixes some warnings for signed/unsigned comparsion
coming from the nanovg fontstash.h header.
2023-02-27 18:33:29 -08:00
Francis Hart
caa637dbd5
Expose nvgCreateBgfxTexture() helper function ( #3046 )
...
The nvgCreateBgfxTexture() helper function is already implemented in
the nanovg wrapper library, so its useful to expose this function
to the user.
Also expose the NVG_IMAGE_NODELETE flag so this can be passed to the
nvgCreateBgfxTexture() function, to indicate that the caller retains
ownership of the bgfx texture.
2023-02-27 07:10:53 -08:00
Бранимир Караџић
466c6a4e95
Happy New Year!
2023-01-14 10:05:12 -08:00
luzpaz
e7936efa6a
Fix typos ( #2839 )
...
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,struc,unknwn,utput`
2022-07-12 14:21:31 -07:00
Бранимир Караџић
aaba3b3a5e
Cleanup.
2022-06-20 04:39:25 -07:00
SnapperTT
498d0b6e54
Update nanovg_bgfx.cpp ( #2823 )
...
Fix the transient vertex buffer's overflow assert being fired. Now if the tvb is overflowed a warning is emitted and the draw is skipped
2022-06-20 04:37:59 -07:00
Бранимир Караџић
4581f14cd4
Happy New Year!
2022-01-15 11:59:06 -08:00
Martijn Courteaux
078666d373
Allow to create a nvg texture from a BGFX texture. ( #2548 )
2021-06-25 13:29:51 -07:00
Branimir Karadžić
f569fe32a6
Rebuilt all embedded shaders.
2021-06-06 14:51:46 -07:00
Branimir Karadžić
35b7bacfb9
Rebuilt embedded shaders.
2021-02-25 19:33:34 -08:00
Бранимир Караџић
af49c5d264
Happy New Year!
2021-01-14 15:53:49 -08:00
MooZ
d65dac2000
Shaderc OpenGL fixes. ( #2317 )
...
* Reworked profile cli argument.
* Added missing GLSL profile.
* Fixed essl shader preambule.
* Fixed uniform "parsing" and hlsl profiles.
* Reworked hlsl profiles.
* Fixed missing extension for gl_FragDepth.
* Cleanup.
* Removed version preamble and reverted shadow samplers translation.
* Fixed HLSL profile tests.
2020-12-28 11:24:49 -08:00
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