Branimir Karadžić
e0aeb630ad
Fixed render debug events colors.
2016-08-24 13:16:04 -07:00
Branimir Karadžić
4a59f19f8a
texturev: Updated help screen.
2016-08-23 23:18:41 -07:00
Branimir Karadžić
67ba6eb27c
Fixed build error.
2016-08-23 22:57:16 -07:00
Branimir Karadzic
6ca8c213d9
Cleanup.
2016-08-23 22:17:39 -07:00
Branimir Karadžić
08438fa567
texturev: Added texture array support.
2016-08-23 22:06:50 -07:00
Branimir Karadžić
37716c19a4
Updated docs.
2016-08-23 20:20:28 -07:00
Branimir Karadžić
15da3a3d5a
Fixed immutable texture array.
2016-08-23 18:20:42 -07:00
Branimir Karadžić
cd9a2a36e0
Updated ImGui.
2016-08-23 09:06:04 -07:00
Branimir Karadžić
92b11850b4
Fixing image API to deal with layers.
2016-08-22 23:16:40 -07:00
Branimir Karadžić
d6d6079da8
Updated README.md.
2016-08-22 20:29:20 -07:00
Branimir Karadžić
95cf69523a
Updated README.md.
2016-08-22 20:28:44 -07:00
Branimir Karadžić
8776bdc4ec
Updated README.
2016-08-22 20:22:53 -07:00
Branimir Karadžić
df88bc2106
Cleanup.
2016-08-22 19:42:38 -07:00
Branimir Karadžić
457996d407
D3D11: Added texture array support.
2016-08-22 15:40:00 -07:00
Branimir Karadžić
8809a190ef
Fixed calcTextureSize.
2016-08-22 14:17:08 -07:00
Branimir Karadžić
b74198e869
Updated docs.
2016-08-22 09:17:36 -07:00
Branimir Karadžić
7f4b9165f1
Cleanup.
2016-08-21 14:05:36 -07:00
Branimir Karadžić
7537b705e5
GL: Added support for texture array.
2016-08-21 14:03:16 -07:00
Branimir Karadžić
9527c756da
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-08-20 19:08:16 -07:00
Branimir Karadžić
f24dd764a3
Merge pull request #885 from stuartcarnie/va_list
...
improve inter-operability by exposing dbgTextPrintfVargs API
2016-08-20 19:07:53 -07:00
Stuart Carnie
336357db6f
improve inter-operability by exposing dbgTextPrintfVargs API
2016-08-20 19:02:56 -07:00
Branimir Karadžić
63e79499fa
Cleanup.
2016-08-20 08:10:20 -07:00
Branimir Karadžić
c98be90bf5
WIP: Texture array support.
2016-08-19 21:05:37 -07:00
Branimir Karadžić
7b59fb716a
Fixed stale VAO issue.
2016-08-18 19:02:57 -07:00
Branimir Karadžić
3ac8943e05
Removed PlatformData helpers.
2016-08-17 20:41:09 -07:00
Branimir Karadžić
939829f88c
Moved SDL and GLFW window platform hooks to entry.
2016-08-16 22:22:39 -07:00
Branimir Karadžić
ed4a06bf3a
Merge pull request #882 from ckohnert/master
...
Don't clobber existing contentView if one exists.
2016-08-15 10:57:14 -07:00
Branimir Karadžić
78c91186ac
Updated docs.
2016-08-13 13:53:48 -07:00
Stuart Carnie
8f04e3087c
Add C99 API to header ( #881 )
2016-08-13 13:52:38 -07:00
Branimir Karadžić
7671d04cac
Updated docs.
2016-08-13 13:49:27 -07:00
Branimir Karadžić
c1c7942265
Fixed issue #880 .
2016-08-12 19:24:39 -07:00
Christopher Kohnert
b2b0b23729
Don't clobber existing contentView if one exists.
...
Mainly this is a compatibility fix for GLFW, but it would apply to any custom window implementation that sets a contentView prior to initialization.
2016-08-12 14:30:27 -07:00
Branimir Karadžić
6f6f1acd07
Updated ImGui.
2016-08-11 20:22:32 -07:00
Branimir Karadžić
a488207c81
Cleanup.
2016-08-10 21:51:29 -07:00
Branimir Karadžić
2c861766e8
Switch iffy translation code to lookup table translation.
2016-08-10 20:36:21 -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
Branimir Karadžić
9f7386e53a
Rebuilt NanoVG embedded shader.
2016-08-10 10:59:07 -07:00
Olli Wang
96120970fc
Fixes the issue that mac-only methods causes iOS failed to compile. ( #875 )
...
This commit fixes #870 that it uses Mac-only methods and causes iOS failed to compile.
2016-08-10 09:13:18 -07:00
Branimir Karadžić
d7026e8f0c
Reverted embedded shader.
2016-08-09 22:54:18 -07:00
Olli Wang
b9810aca70
Updates nanovg backend to adopt premultiplied alpha. ( #873 )
...
This commit updates nanovg's bgfx backend to adopt premultiplied alpha as the default blending mode just like the original nanovg. Both the fragment shader and the `glnvg__convertPaint()` function are updated to match the original nanovg counterpart.
However, the binary file of the fragment shader is built on Mac so DirectX support is missing.
2016-08-09 22:44:04 -07:00
Stuart Carnie
6cff1b2fb7
metal: synchronize textures with READ flag ( #870 )
...
* metal: synchronize textures with READ flag
* Only necessary for desktop
2016-08-08 16:33:45 -07:00
Branimir Karadžić
dd0d563417
Fixed build.
2016-08-08 16:33:17 -07:00
Branimir Karadžić
b4cb6a352e
Fixed clang4 error.
2016-08-08 13:17:07 -07:00
Branimir Karadžić
c25a273e29
Cleanup.
2016-08-08 09:23:42 -07:00
Olli Wang
f11d954bc1
Implements nanovg's framebuffer helper functions. ( #869 )
...
This commit ports nanovg's helper functions for rendering stuff in framebuffer defined in `nanovg_gl_utils.h`. Also, a new `nvgState()` function is created for bgfx backend so it is possible to blend between framebuffers, which feature is long requested but not yet supported in original nanovg. The `nvgState()` function can be called between `nvgBeginFrame()` and `nvgEndFrame()`.
2016-08-08 08:33:37 -07:00
Branimir Karadžić
41ce24c078
Updated ImGui.
2016-08-07 10:18:18 -07:00
Branimir Karadžić
b269f61f8b
Quiet GCC bogus warning.
2016-08-06 20:07:03 -07:00
Branimir Karadžić
59fdc3c998
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-08-06 14:06:38 -07:00
Branimir Karadžić
e7a32654f4
Updated ImGui.
2016-08-06 14:06:11 -07:00
Olli Wang
ae9dddcff4
Allows to change the opaque
property of CAEAGLLayer
. ( #866 )
...
This commit gives custom `CAEAGLLayer` instance a chance to set the `opaque` property through the `style` property. Currently, the `GlContext` implementation for `CAEAGLLayer` always sets the layer's `opaque` property to `true` explicitly no matter what the original value is. Though setting the layer as opaque does help for performance, there are times this option should be turned off by decision. Now the `opaque` property is respected if setting in the `style` dictionary.
2016-08-05 11:32:30 -07:00