Commit Graph

18 Commits

Author SHA1 Message Date
Branimir Karadžić
374fe6f845 Updated NanoVG. 2016-09-08 21:19:47 -07:00
Branimir Karadžić
8809a190ef Fixed calcTextureSize. 2016-08-22 14:17:08 -07:00
Branimir Karadžić
a488207c81 Cleanup. 2016-08-10 21:51:29 -07:00
Olli Wang
1804ba77c1 Updates nanovg to support global composite operation. (#877)
This commit updates bgfx's NanoVG codebase to adapt the latest NanoVG commit since I've implemented blending support for the original NanoVG and there is no need of `nvgState()` anymore.
2016-08-10 20:15:31 -07:00
Olli Wang
fa73aa4b09 Adds iOS device's Retina screen support for nanovg. (#865)
This commit fixes the bug that the bgfx does not respect the `devicePixelRatio` parameter passed to nanovg's `nvgBeginFrame()` function. The problem is caused by the `bgfx::setViewRect()` call defined in the `nvgRenderViewport()` function, as it should take size in consideration of the `devicePixelRatio` value.

However, this commit does not fix nanovg's example app because currently there is no easy way to pass the scale value to the `ExampleNanoVG::update()` method as it calls `nvgBeginFrame()`.
2016-08-05 09:50:02 -07:00
Branimir Karadžić
e46135da8c Added ability to programmatically capture frame with RenderDoc. 2016-06-02 18:46:43 -07:00
Branimir Karadžić
21518f201f texturec: Preserve precision of input texture. 2016-06-02 16:38:26 -07:00
Branimir Karadžić
46822b242a Updated NanoVG. 2015-12-05 11:00:11 -08:00
Branimir Karadžić
f5d9c28f03 Fixed clang warning. 2015-11-23 19:05:52 -08:00
Branimir Karadžić
2e6ac0ca49 Silence -Wshadow warning in stb_image. 2015-04-04 16:23:50 -07:00
Branimir Karadžić
81d6876067 Cleanup. 2015-03-31 09:44:51 -07:00
Dario Manesku
4360841989 Imgui can be now downscaled to fit small resolution screens. 2015-03-16 13:59:28 +01:00
Branimir Karadzic
d54063bfd5 Fixed GCC/Clang warnings. 2014-11-17 08:33:14 -08:00
Branimir Karadžić
ff44d73480 Updated NanoVG and Blendish. 2014-11-16 18:59:17 -08:00
Branimir Karadžić
2b147081c4 Changed imguiSlider argument. 2014-06-29 21:53:23 -07:00
bkaradzic
0ca66108b4 Fixed GCC errors. 2014-04-27 18:22:07 -07:00
bkaradzic
5b31ef54a2 Fixed compile error. 2014-04-27 08:49:09 -07:00
Branimir Karadžić
1cda6159c7 Added 20-nanovg example. 2014-04-26 23:50:11 -07:00