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ć
d876f88a89
Merge pull request #864 from olliwang/nanovg
...
Moves additional bgfx nanovg functions to a separate header file.
2016-08-05 09:14:13 -07:00
Olli Wang
c960c46564
Moves additional bgfx nanovg functions to a separate header file.
...
This commit moves the additional nanovg functions for bgfx to a separate header file, so it is possible to compile the original nanovg source files with bgfx in a custom build environment.
2016-08-05 17:26:06 +08:00
Branimir Karadžić
7de947c7c0
Updated docs.
2016-08-04 08:35:14 -07:00
Branimir Karadžić
f7060b66ee
Cleanup.
2016-08-03 21:57:56 -07:00
Branimir Karadžić
cc8d0c5fff
Added topologySortTriList.
2016-08-02 20:37:21 -07:00
Branimir Karadžić
911fb72f3a
Updated RenderDoc.
2016-08-01 17:21:17 -07:00
Branimir Karadžić
68ae67ff72
Updated ImGui.
2016-07-31 10:06:38 -07:00
Branimir Karadžić
a6cac1ceb3
Updated ImGui.
2016-07-30 21:39:51 -07:00
Branimir Karadžić
9597a366c0
Updated ImGui.
2016-07-29 19:22:25 -07:00
Branimir Karadžić
f2e46a5c65
D3D9: Fixed assert when frame buffer texture is resized.
2016-07-28 21:19:08 -07:00
Branimir Karadžić
86084dc65f
GL: Detect autogen mipmap texture format support.
2016-07-27 21:22:23 -07:00
Branimir Karadžić
c3c289d2d8
Updated Remotery.
2016-07-27 20:08:16 -07:00
Branimir Karadžić
484050ffea
Fixed build.
2016-07-26 23:24:49 -07:00
Branimir Karadžić
8541d8d16b
Updated Remotery.
2016-07-26 22:53:46 -07:00
Branimir Karadžić
2eff8e381b
Updated Remotery.
2016-07-26 22:51:30 -07:00
Branimir Karadžić
ab12529c6e
Fixed build error.
2016-07-26 20:43:21 -07:00
Branimir Karadžić
c9e0779adc
Fixed warnings.
2016-07-26 11:07:06 -07:00
attilaz
742dad2b90
non-blockig texture/vb/ib update when possible ( #856 )
...
set vertex/fragment texture only when required per program
2016-07-26 09:29:07 -07:00
Branimir Karadžić
4fbf1c0ca2
Cleanup.
2016-07-25 19:09:52 -07:00
Branimir Karadžić
c81ea08e1a
D3D11: Resolve MSAA.
2016-07-25 19:00:50 -07:00
Branimir Karadžić
fd6e6d8ddd
Cleanup.
2016-07-25 09:40:23 -07:00
attilaz
9d6364e6ee
metal ( #855 )
...
- msaa framebuffer
- capture (wip)
- read_back
- 30-picking fixes
2016-07-25 09:39:41 -07:00
Branimir Karadžić
4744a44880
Cleanup.
2016-07-24 19:49:27 -07:00
Branimir Karadžić
972a8c029e
Cleanup.
2016-07-24 17:17:12 -07:00
Branimir Karadžić
11e66f2383
Cleanup.
2016-07-24 16:45:34 -07:00
Branimir Karadžić
6c767eed9c
Cleanup.
2016-07-24 16:18:26 -07:00
Branimir Karadžić
6cd0d95adb
Renamed example to shorter name.
2016-07-24 16:08:59 -07:00
Branimir Karadžić
09e791be03
Rebuilt shaders.
2016-07-24 16:07:09 -07:00
Branimir Karadžić
5b3c9609cb
Cleanup.
2016-07-24 15:50:42 -07:00
jcherlin
f56cf4c88e
Added RSM sample. ( #854 )
...
* Added RSM sample.
2016-07-24 15:39:50 -07:00
Branimir Karadžić
b7a0030c20
GL: Added texture mip autogen.
2016-07-23 16:16:43 -07:00
Branimir Karadžić
2563382301
WIP: Added autogenerate mipmaps for render targets with mips.
2016-07-22 17:42:55 -07:00
Branimir Karadžić
08b5e9c851
Fixed mipmap chain generation for textures created with backbuffer ratio size.
2016-07-21 12:57:14 -07:00
Branimir Karadžić
e65816831f
Updated ImGui.
2016-07-20 21:32:46 -07:00
Branimir Karadžić
b7150304d3
Updated ImGui.
2016-07-18 21:18:00 -07:00
Branimir Karadžić
ce878f9180
Renaming float4_t to simd128_t.
2016-07-18 19:03:25 -07:00
Branimir Karadžić
f8e1780c2b
Updated ImGui.
2016-07-16 17:21:45 -07:00
Branimir Karadžić
894e2d77b6
Rebuilt shaders.
2016-07-16 08:25:02 -07:00
Branimir Karadžić
11f2bc3798
Merge pull request #849 from randrew/master
...
Fix issues with example 18-ibl's shaders.
2016-07-16 07:57:46 -07:00
cancel
e34fdb4893
Fix issues with example 18-ibl's shaders.
...
Change vs_ibl_skybox.sc to correctly use radians instead of degrees when
specifying field-of-view. Additionally, use u_viewRect to find the correct
aspect ratio of the viewport, instead of hard-coding to 4/3.
Change fs_ibl_skybox.sc, fixing a number of small issues and mistakes. These
mistakes would lead to incorrect lighting results, especially with metallic
materials at glancing angles.
This commit does not include the rebuilt .bin output of shaderc for these
shaders.
2016-07-16 17:05:15 +09:00
Branimir Karadžić
2401ec325a
Updated ImGui.
2016-07-14 10:42:54 -07:00
Branimir Karadžić
869c52e712
Cleanup.
2016-07-14 09:48:07 -07:00
attilaz
be61aaf968
metal: added texture blit ( #848 )
2016-07-14 09:03:32 -07:00
Branimir Karadžić
d15492315c
Updated ImGui.
2016-07-12 22:28:49 -07:00
Branimir Karadžić
0978755a85
Updated ImGui.
2016-07-12 09:59:05 -07:00
Branimir Karadžić
c97f6c41c4
Cleanup.
2016-07-10 23:41:56 -07:00
Branimir Karadžić
e5aa71db4d
Added centroid interpolation modifier.
2016-07-10 20:49:10 -07:00
Branimir Karadžić
37e233578a
Cleanup.
2016-07-10 20:20:50 -07:00
Branimir Karadžić
0144de56bf
Cleanup.
2016-07-10 11:32:20 -07:00