Branimir Karadžić
877fa25d5b
cleanup.
2015-02-03 22:24:40 -08:00
Branimir Karadžić
de81071969
Cleanup.
2015-01-31 22:28:51 -08:00
Branimir Karadžić
220f57a767
18-ibl init diffuse color wheel open.
2015-01-31 19:45:18 -08:00
Branimir Karadžić
a8accf4f98
Removed test window.
2015-01-31 19:28:10 -08:00
Branimir Karadžić
0c77794e24
Updated to ocornut-imgui v1.30.
2015-01-31 19:08:13 -08:00
Branimir Karadžić
6506add5a9
Added embedded font to imgui.
2015-01-23 23:02:56 -08:00
Branimir Karadžić
bbeb0a3ffe
Updated to latest ocornut imgui.
2015-01-22 21:01:09 -08:00
Branimir Karadžić
0516b5603b
Added max anisotropy reset flag.
2015-01-21 20:39:42 -08:00
Branimir Karadžić
a7756b8d7a
Merge branch 'master' of cane:bkaradzic/bgfx
2015-01-20 21:42:01 -08:00
Branimir Karadžić
f6fe2de941
Cleanup.
2015-01-20 21:41:51 -08:00
Branimir Karadžić
6cb953af14
Rename bx::swap to bx::xchg.
2015-01-20 00:04:30 -08:00
Branimir Karadžić
76b317256e
Fixed compile warning.
2015-01-19 23:35:49 -08:00
Branimir Karadžić
d5bea0e7fd
Cleanup.
2015-01-19 22:15:50 -08:00
Branimir Karadžić
501d260c3f
Added scissor for ocornut-imgui.
2015-01-19 20:34:54 -08:00
Branimir Karadžić
9e52b1d6d9
imgui: Added ocornut imgui initialization into existing imgui.
2015-01-19 17:16:59 -08:00
Branimir Karadžić
8cd9ecfd18
Cleanup.
2015-01-18 12:58:56 -08:00
Branimir Karadžić
9e34736c49
Moved ocornut-imgui from ProDBG source to examples-common.
2015-01-16 22:41:37 -08:00
Attila Kocsis
d3d304e008
Fix issue #229 : Mouse movement does not work on OSX/Macbook Pro properly
2015-01-15 19:58:33 +01:00
Attila Kocsis
1fac08f3ef
added separate ios/osx Xcode project generation
...
added ios/osx bundle resource loading
added info.plist for iOS Xcode examples
Xcode now uses only Universal target ( should use 'Standard' as it is default in Xcode projects - this will require modification of genie)
2015-01-14 19:50:45 +01:00
Branimir Karadžić
bb96d76c0a
Added discard framebuffer resources after use.
2015-01-11 18:00:08 -08:00
Branimir Karadžić
ff7f967c1b
Removed _BIT suffix from BGFX_CLEAR_* flags.
2015-01-10 21:39:45 -08:00
Branimir Karadžić
7db31fc7fa
Cleanup.
2015-01-07 22:36:36 -08:00
Branimir Karadžić
4b1b62e6bd
Fixed MinGW build from Linux.
2015-01-04 16:23:00 -08:00
Branimir Karadžić
649d7f74d2
Updated copyright year.
2015-01-02 14:43:11 -08:00
Branimir Karadžić
c25dd466be
Updated copyright year.
2015-01-01 15:04:46 -08:00
Branimir Karadžić
7d81db60e1
Cleanup.
2014-12-31 16:33:05 -08:00
Branimir Karadžić
c6efb167ba
Added index buffer compression support.
2014-12-31 16:11:07 -08:00
Branimir Karadžić
527adf3c28
Android: Added gamepad support.
2014-12-29 13:53:44 -08:00
Dario Manesku
5c77bc941f
Changed imguiTabs() active color to be consistent with imguiButton().
2014-12-29 08:48:43 +01:00
Dario Manesku
7b03d93336
Added 1px offset to imguiBorderButton() to fix DX9 drawing problem.
2014-12-29 08:48:43 +01:00
Branimir Karadžić
9d83a5307c
Fixed example 24-nbody with OVR.
2014-12-28 10:12:24 -08:00
Branimir Karadžić
0a594cdb91
Android: Added input handling.
2014-12-25 18:27:27 -08:00
Branimir Karadzic
c8a112d71e
X11: Relax polling input.
2014-12-25 09:27:51 -08:00
Branimir Karadžić
857a2b18f1
Android: Fixed GLES3+ build.
2014-12-23 23:32:36 -08:00
Dario Manesku
528756610b
Added imguiGetWidgetW().
2014-12-24 02:34:06 +01:00
Dario Manesku
67c69d3ba2
Fixing scissor for nvg elements.
2014-12-24 02:34:05 +01:00
Branimir Karadzic
558707e0d8
Cleanup.
2014-12-23 10:57:48 -08:00
Branimir Karadžić
798dd30e9f
Cleanup.
2014-12-22 20:14:48 -08:00
stanlo
99ec87c9db
Update nbody example
2014-12-22 16:36:18 -08:00
Branimir Karadzic
9b2ca73de4
x11: Added gamepad support.
2014-12-21 13:35:11 -08:00
Branimir Karadžić
e1a7daf38a
Win: Capture mouse when mouse button is down.
2014-12-20 19:07:01 -08:00
Branimir Karadzic
0d20d7e6c8
Added gamepad guide button.
2014-12-20 10:38:40 -08:00
Branimir Karadžić
3de8b63457
Fixed crash when xinput is not present.
2014-12-19 22:37:31 -08:00
Branimir Karadžić
83f151f71b
Added 24-nbody compute shader example.
2014-12-19 21:09:58 -08:00
Branimir Karadžić
f46b91db84
Cleanup.
2014-12-18 21:39:38 -08:00
Branimir Karadžić
35ff06d577
Added gamecontrollerdb.
2014-12-17 21:30:11 -08:00
Branimir Karadžić
6315743251
SDL: Added connect/disconnect gamepad events.
2014-12-17 21:25:00 -08:00
Branimir Karadžić
cdc0c01503
Added XInput support.
2014-12-17 21:07:40 -08:00
Branimir Karadzic
510bc9e344
Cleanup.
2014-12-15 21:08:55 -08:00
Branimir Karadžić
b7cd5ae62d
Cleanup.
2014-12-15 20:59:22 -08:00
Branimir Karadžić
73a227cefd
SDL2: Added gamepad support.
2014-12-15 20:58:54 -08:00
Dario Manesku
6ad5c8eb2c
Preventing mouse scroll multiple areas at once and scroll bar scissor problem fixed.
2014-12-14 03:02:32 +01:00
Dario Manesku
a9a2895132
Added 1px to scissor area.
2014-12-14 03:02:31 +01:00
Dario Manesku
815312466c
Draging scroll bars with mouse now behaves more properly.
2014-12-14 03:02:31 +01:00
Dario Manesku
f448f18ae4
Removed code duplication by merging drawRect() and drawRoundedRect().
2014-12-14 03:02:31 +01:00
Branimir Karadžić
40f68757f8
Cleanup.
2014-12-11 00:00:07 -08:00
Branimir Karadžić
3ccf3f70bb
Cleanup.
2014-12-10 22:44:00 -08:00
Attila Kocsis
4a7a9bc4a3
fixed crash on iOS
2014-12-10 22:38:50 +01:00
Branimir Karadžić
3fca947ad0
Updated README.
2014-12-06 18:19:20 -08:00
Branimir Karadžić
878cbd41bd
shaderc: Added shader strip.
2014-12-05 20:28:15 -08:00
Branimir Karadžić
254efb5a3d
Added bgfx::dbgTextImage API for drawing directly into debug text buffer.
2014-12-04 20:32:19 -08:00
Branimir Karadžić
584a32038f
Cleanup.
2014-12-04 19:56:19 -08:00
Branimir Karadzic
38f340b540
Fixed issue #197 .
2014-12-01 08:21:13 -08:00
Branimir Karadžić
7dd1e263b8
Merge pull request #189 from dariomanesku/master
...
Imgui updates.
2014-11-22 23:06:21 -08:00
Dario Manesku
8777b44e59
NVG now flushes on imguiEndArea().
2014-11-23 01:17:51 +01:00
Dario Manesku
eb2fd71664
Added imguiSetCurrentScissor().
2014-11-23 01:07:58 +01:00
Dario Manesku
116f2179a4
Adding _size parameter for imguiColorWheel.
2014-11-23 00:44:38 +01:00
Dario Manesku
5c5464c381
Making imguiTabs look better when disabled.
2014-11-23 00:13:38 +01:00
Dario Manesku
07b9760583
Turning on nvg scissor in imguiScroll.
2014-11-23 00:12:31 +01:00
Mike Popoloski
7b2f725645
Fixing compile error. It seems like these should be fabs instead of abs anyway...
2014-11-22 17:12:00 -05:00
Dario Manesku
0d19fe5750
Making imguiCollapse more aesthetically pleasing.
2014-11-22 21:11:31 +01:00
Dario Manesku
1e2bdaf13a
Making imguiImageChannel properly handle newly introduced _enabled parameter.
2014-11-22 20:26:34 +01:00
Dario Manesku
dd06ab01e1
Added _enabled parameter for imguiImage.
2014-11-22 19:51:20 +01:00
Dario Manesku
e126781412
Making imgui scroll behave properly.
2014-11-22 19:51:19 +01:00
Branimir Karadzic
36e02361d1
Fixed bad include path.
2014-11-20 16:51:14 -08:00
Branimir Karadžić
cf7b1542d2
Merge pull request #187 from SmilyOrg/patch-2
...
Fix for crash with too many lines / vertices
2014-11-20 16:48:32 -08:00
Branimir Karadžić
2e24c7cc3e
Merge pull request #186 from SmilyOrg/patch-1
...
Fix for convexFill crash when path fillCount is 0
2014-11-20 16:47:53 -08:00
Miha Lunar
e5da24f490
Fix for crash when too many lines / vertices
...
When a lot of lines are being drawn, this can overflow the vertex buffer, causing a crash in `nvgRenderFlush`. While the underlying code handles this case in an okay manner (truncating the vertex buffer instead of crashing), the `nvgRenderFlush` code is missing a check for this case, causing it to think it has more space than was allocated.
I tried to fix it with multiple buffers as mentioned in #160 , however it seems more complex than it appears. This fix just makes it truncate the output according to the actual allocated amount of bytes in the vertex buffer, so it doesn't crash at least.
2014-11-21 00:57:33 +01:00
Miha Lunar
6c6a550fd6
Fix for convexFill crash when path fillCount is 0
...
In our situation, the crash happened due to the view dimensions being reset to 0x0 after minimizing the window. This translated to fillCount of a path ending up at 0, which makes `fan` crash as it computes number of tris to -2 of fillCount. Since `numTris` is unsigned, this could lead to terrible things, but luckily it crashes soon.
There might be a cleaner fix for this further up the call stack, but this is a good solution in the meanwhile.
2014-11-21 00:39:04 +01:00
Dario Manesku
b9bd605edc
Added overload for imguiTabs() and fixed va_arg warning.
2014-11-20 18:43:27 +01:00
Dario Manesku
950ceee749
Fixing drawing problem.
2014-11-20 18:25:22 +01:00
Branimir Karadzic
00d5f1adcb
Fixed clang warning.
2014-11-19 21:07:32 -08:00
Dario Manesku
7d2ef49435
Changed imguiTabs() api. Now you can set additional 'enabled' flag per tab.
2014-11-19 16:21:02 +01:00
Branimir Karadžić
6c7589c0c9
Cleanup.
2014-11-17 21:35:53 -08: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ć
24df14f9f3
Cleanup.
2014-11-16 09:47:48 -08:00
Branimir Karadžić
8cca656df6
Cleanup.
2014-11-16 00:06:25 -08:00
Branimir Karadžić
616c0ed408
Cleanup.
2014-11-15 22:03:57 -08:00
Branimir Karadžić
283be1f42d
Cleanup.
2014-11-15 17:19:14 -08:00
Branimir Karadžić
a4b3c2ae36
Added 23-vectordisplay shaders and screenshot.
2014-11-15 17:00:51 -08:00
Branimir Karadzic
c805b36cba
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-11-15 16:11:21 -08:00
Branimir Karadzic
57715c3cc9
Added 23-vectordisplay example.
2014-11-15 16:10:44 -08:00
Branimir Karadžić
307b0df945
Updated README.
2014-11-15 15:48:24 -08:00
Mike Popoloski
48bfab3713
Fixing compile errors on MSVC.
2014-11-15 15:52:14 -05:00
Mike Popoloski
893035af65
Merge branch 'master' of https://github.com/bkaradzic/bgfx
2014-11-15 13:32:22 -05:00
Mike Popoloski
2148c54572
Adding WinRT entrypoint for examples.
2014-11-14 08:23:31 -05:00
Dario Manesku
8e578b3d37
Fixing imgui mouse scroll.
2014-11-14 11:27:17 +01:00
Branimir Karadžić
545978d661
Cleanup.
2014-11-12 22:16:19 -08:00
Branimir Karadžić
e147e7b2e6
OVR: Added rendering without distortion.
2014-11-12 21:26:28 -08:00
Dario Manesku
9cc92fd2e1
Cleanup unused code.
2014-11-11 02:27:13 +01:00
Dario Manesku
aa6c92ff40
Fixing inputGetChar().
2014-11-11 02:09:39 +01:00
Dario Manesku
c7bd2c5e67
Making imguiCube() align better.
2014-11-10 22:36:38 +01:00
Dario Manesku
be0ec20d79
Cleanup.
2014-11-10 22:36:37 +01:00
Dario Manesku
ea4d52ff46
Added click event for imguiImage().
2014-11-10 22:36:36 +01:00
Dario Manesku
9605583491
Collapse switch for imguiColorWheel() is now always enabeld.
2014-11-10 22:36:36 +01:00
Branimir Karadzic
43b9802b48
Fixed Linux build.
2014-11-10 09:08:26 -08:00
Mike Popoloski
0163c2420f
Fixing compile errors from freetype header when building for WinRT.
2014-11-09 18:26:10 -05:00
Branimir Karadžić
0f48d59a01
Fixed typo.
2014-11-09 11:55:45 -08:00
Branimir Karadzic
7f2f523c43
Fixed compile error.
2014-11-08 22:09:31 -08:00
Branimir Karadžić
31efb2991f
Updated to OVR 0.4.3. Added support for event char to read keyboard text input.
2014-11-08 20:57:47 -08:00
Branimir Karadžić
3576434c2b
Fixed cubemap shader.
2014-11-03 22:52:36 -08:00
Branimir Karadžić
c400562d61
HMD fixes.
2014-11-03 19:11:08 -08:00
Branimir Karadžić
d3b49ffc68
Cleanup.
2014-11-02 00:24:58 -07:00
Branimir Karadžić
a2153729be
Added HMD recenter support. Updated examples to support HMD.
2014-11-02 00:06:18 -07:00
Branimir Karadžić
f6cf4df3d3
Added OculusVR support.
2014-10-28 22:08:55 -07:00
Branimir Karadžić
62abe9db5e
Cleanup.
2014-10-25 19:16:24 -07:00
Branimir Karadžić
208a348ab2
Fixed compile errors. Added default part of view debug name. Added example how to use view debug name.
2014-10-25 18:07:51 -07:00
Branimir Karadžić
3947174959
Android: Removed status bar.
2014-10-24 20:33:56 -07:00
Branimir Karadzic
7a829583ce
Removed _USE_MATH_DEFINES.
2014-10-23 21:10:44 -07:00
Branimir Karadzic
d0a89ff95d
Removed unused headers.
2014-10-17 22:52:14 -07:00
Branimir Karadzic
46ec4e390c
Fixed clang build.
2014-10-17 09:45:45 -07:00
Branimir Karadžić
5e39e3b16a
clang on VS201x.
2014-10-16 19:54:29 -07:00
Branimir Karadžić
1a765e9646
Cleanup.
2014-10-14 21:36:05 -07:00
Branimir Karadžić
7fa124eeab
Fixed alignment macro.
2014-10-13 21:31:18 -07:00
Branimir Karadžić
8f6495be0b
SDL2: Fixed args.
2014-10-12 16:41:15 -07:00
Branimir Karadžić
8dc34db44a
SDL2: Fixed mouse button.
2014-10-12 14:04:06 -07:00
Branimir Karadžić
cd2d643522
Cleanup.
2014-10-12 11:51:58 -07:00
Branimir Karadzic
42c9dafd03
Cleanup.
2014-10-12 11:41:04 -07:00
Branimir Karadžić
8abed27c0c
Added SDL2_DIR when using --with-sdl GENie config.
2014-10-12 09:58:06 -07:00
Branimir Karadzic
e063661e95
SDL2: Moved renderer to main thread. Added --with-sdl GENie option.
2014-10-11 21:55:24 -07:00
Branimir Karadzic
12c3508aa2
Fixed clang warning.
2014-10-11 20:59:46 -07:00
Branimir Karadžić
757df73eb5
SDL2: Added multiwindow support to entry_sdl.
2014-10-11 20:42:42 -07:00
Branimir Karadžić
4a1a31b538
Updated glsl-optimizer.
2014-10-11 12:32:43 -07:00
Branimir Karadžić
7dd004b82b
NaCl: Fixed compile error due to quad
define in sys/types.h.
2014-10-10 23:36:03 -07:00
Dario Manesku
48ce6bb5ff
Added custom mtxProj() call to properly handle OGL NDC.
2014-10-06 07:25:33 +02:00
Dario Manesku
ba9651cb57
18-ibl now makes use of clickable imguiCube().
2014-10-06 07:25:32 +02:00
Dario Manesku
d25990487e
Added return value for imguiCube().
2014-10-06 07:25:31 +02:00
Branimir Karadžić
657234f002
Fixed comments.
2014-10-05 00:18:07 -07:00
Branimir Karadžić
cc16fa3aa3
Fixed imguiCube scissor.
2014-10-04 18:11:10 -07:00
Branimir Karadžić
c9614914fd
Rebuilt imgui cubemap shader.
2014-10-03 20:07:38 -07:00
Branimir Karadzic
51268e11a0
Added lod to imgui cubemap shader.
2014-10-03 14:19:39 -07:00
Branimir Karadžić
096f9d2bf9
Cleanup.
2014-10-02 21:35:32 -07:00
Branimir Karadžić
e037b7cc7b
Added missing shader.
2014-10-02 21:29:14 -07:00
Dario Manesku
45a54db6f5
Added imguiCube().
2014-10-03 05:32:22 +02:00
Branimir Karadzic
b9d509763e
Fixed compile error.
2014-10-02 20:10:12 -07:00
Branimir Karadzic
0aba867510
x11: Create/destroy window code.
2014-10-02 19:52:43 -07:00
Branimir Karadzic
8dab207b36
OSX: Fixed window resize.
2014-10-01 20:25:56 -07:00
Branimir Karadžić
1b5454bd51
Fixed 22-windows example.
2014-09-30 22:20:16 -07:00
Branimir Karadžić
bb9a35e809
Win: Don't let OS destroy window. Fixes issue #162 .
2014-09-30 19:04:24 -07:00
Branimir Karadzic
2850924e95
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-09-28 13:36:30 -07:00
Branimir Karadzic
af86d1b02d
OSX: Added more key translation.
2014-09-28 13:36:23 -07:00
Branimir Karadžić
80f2044a7c
Cleanup.
2014-09-28 11:03:47 -07:00
Dario Manesku
e051ed4feb
Removed bgfx::*Mask() API.
2014-09-27 20:43:28 +02:00
Dario Manesku
9a42955f6e
Added _originBottomLeft parameter for imguiImage().
2014-09-27 20:43:28 +02:00
Dario Manesku
651b5b6fb5
Reordering imgui functions.
2014-09-27 20:43:27 +02:00
Branimir Karadžić
fc371fc24c
Removing use of setView*Mask API.
2014-09-27 11:31:04 -07:00
Miha Lunar
78746c8972
Merged fixed allocation for paths from nanovg
2014-09-25 13:23:51 +02:00
Branimir Karadzic
22614cf946
x11: Post size event when initializing window.
2014-09-24 21:05:48 -07:00
bkaradzic
e60863e301
Fixed warning: array subscript is of type 'char' [-Wchar-subscripts].
2014-09-24 16:06:11 -07:00
Daniel Collin
874790838c
Added inital mouse and keyboard support for OSX
2014-09-24 22:25:16 +02:00
Branimir Karadžić
f4c7f69ed7
Added swap chain caps.
2014-09-23 20:35:39 -07:00
bkaradzic
dd5492c29a
OSX: Clear window after initialization.
2014-09-23 08:11:25 -07:00
Branimir Karadžić
3d3a725812
DX9: Fixed swap chain depth creation.
2014-09-22 23:00:42 -07:00
Branimir Karadžić
59ba895727
Windows: Clear window after initialization.
2014-09-22 22:03:41 -07:00
Branimir Karadzic
e0ab81d387
x11: Clear window after initialization.
2014-09-22 20:37:49 -07:00
Branimir Karadžić
de3d152b9c
Added multiple windows example.
2014-09-22 19:34:10 -07:00
Branimir Karadžić
892262f419
Fixed Blendish warnings.
2014-09-21 19:34:28 -07:00
Branimir Karadžić
c40cf1f4f5
Updated Blendish to latest.
2014-09-21 19:34:02 -07:00
Branimir Karadžić
f5c0ba3850
Updated Blendish to latest.
2014-09-21 19:32:21 -07:00
bkaradzic
981429d3a1
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-09-21 09:53:02 -07:00
bkaradzic
205b2a37ab
Fixed SDL2 entry.
2014-09-21 09:52:55 -07:00
Dario Manesku
60f3b73d01
Fixing scroll bug that was introduced with the previous imgui commit.
2014-09-21 12:28:11 +02:00
Dario Manesku
3a1b16f8a5
Major imgui update. Imgui area and scroll are now separated. Also there are other minor aditions and improvements.
2014-09-20 21:39:12 +02:00
bkaradzic
98c62f2687
Fixed iOS entry.
2014-09-19 10:37:52 -07:00
bkaradzic
5ae9de7482
Fixed OSX entry.
2014-09-19 10:33:13 -07:00
Branimir Karadzic
72892c7179
Fixed x11.
2014-09-19 08:57:35 -07:00
Branimir Karadžić
2111974c80
Multiple window support WIP.
2014-09-18 22:32:33 -07:00
Branimir Karadžić
c627e55451
Fixed issue #149 .
2014-09-13 21:23:23 -07:00
Branimir Karadžić
eec4ae9847
Fixing paths.
2014-09-10 21:48:08 -07:00
bkaradzic
529b9274a5
Cleanup.
2014-09-03 00:29:54 -07:00
Branimir Karadžić
889af211fe
Updated MRT examples to use MRT clear API.
2014-09-01 13:24:30 -07:00
Branimir Karadžić
24fd1e4868
Cleanup.
2014-08-28 20:33:31 -07:00
bkaradzic
931d7f3196
Fixed clang warning.
2014-08-27 20:10:39 -07:00
Branimir Karadžić
ae9da4b2a6
Fixed alignment.
2014-08-25 19:32:20 -07:00
Branimir Karadzic
8cadf56148
Cleanup.
2014-08-24 18:55:18 -07:00
Branimir Karadžić
140e990ab4
Added RaspberryPi platform.
2014-08-24 17:41:41 -07:00
Branimir Karadžić
612eb2f7ed
Fixed uniform leak at shutdown.
2014-08-23 10:37:34 -07:00
bkaradzic
660f86065f
Fixed compile errors.
2014-08-22 19:29:54 -07:00
m.milanovic@levi9.com
5aaddfccb9
Use tinystl/unordered_map instead of c++11 only implementation
2014-08-22 16:35:30 +02:00
m.milanovic@levi9.com
1baf1c0734
Fixed one more undefined defines errors.
2014-08-22 16:32:13 +02:00
Branimir Karadžić
74c19cce1b
Cleanup.
2014-08-21 22:29:08 -07:00
Branimir Karadžić
8cbc06e7bf
Cleanup.
2014-08-20 21:54:44 -07:00
Branimir Karadžić
ed883bec36
Fixed SAL define and MinGW standard library argument collision.
2014-08-20 21:48:17 -07:00
Branimir Karadžić
9941475010
Fixed initializer order warning.
2014-08-20 21:39:56 -07:00
Dario Manesku
b7177c9f5e
Cleanup.
2014-08-18 21:26:08 +01:00
Dario Manesku
7ec6e06fee
Removed flipV from 14-shadowvolumes example.
2014-08-18 20:18:48 +01:00
Branimir Karadžić
35a349ad68
Rebuilt shaders.
2014-08-17 23:31:46 -07:00
Branimir Karadžić
66890595b9
Added serialization for vertex decl attribute enums. Binary format changes. Rebuilt all meshes and shaders.
2014-08-17 17:20:15 -07:00
Branimir Karadžić
d33717ef48
Moved mesh files to assets directory.
2014-08-16 20:27:36 -07:00
bkaradzic
c56b7ad261
Fixed GCC warnings.
2014-08-15 19:14:17 -07:00
bkaradzic
3e6605a2c5
Cleanup.
2014-08-15 15:03:17 -07:00
Branimir Karadžić
20906bda03
Replaced embedded missing texture with procedural texture.
2014-08-13 19:48:58 -07:00
Dario Manesku
ef4c57b7a9
Added macro definitions for imguiTabs() parameters.
2014-08-12 22:04:56 +01:00
Dario Manesku
63d7db800c
Added imgui getters for widgetX and widgetY.
2014-08-12 21:41:24 +01:00
Dario Manesku
eec6e82c29
SetWindowTitle() on Windows now changes start menu title as well.
2014-08-12 21:30:20 +01:00
Dario Manesku
2701efa60a
Reverting back imguiLabel() spacing parameters.
2014-08-12 21:22:23 +01:00
Dario Manesku
b5abdcb24b
Tuning up imguiInput().
2014-08-12 21:22:23 +01:00
Dario Manesku
83587d51d0
Draw parameters fixup for imguiTabs().
2014-08-12 21:22:23 +01:00
Dario Manesku
e4a067efe6
Fixing border pixel scissor.
2014-08-12 21:22:22 +01:00
Dario Manesku
f3fb007471
Fixed imgui scroll value handling on window resize.
2014-08-12 21:22:22 +01:00
Dario Manesku
7225bba1a1
Tuning imgui spacing parameters.
2014-08-12 21:22:21 +01:00
Dario Manesku
677ef2d6c5
Exposing optional imguiButton() color parameter.
2014-08-12 21:22:21 +01:00
Dario Manesku
d64a62866a
Imgui scroll fix for variable scrollable area height.
2014-08-12 21:22:20 +01:00
Dario Manesku
9715d6fab4
Added macro constants for default imgui parameters.
2014-08-12 21:22:20 +01:00
Dario Manesku
3f25e22df2
Removed imguiImageSwizzle() and added imguiImageChannel().
2014-08-12 21:22:20 +01:00
Dario Manesku
6e69a02906
Added optional parameter for imguiInput().
2014-08-12 21:18:53 +01:00
Dario Manesku
4501e17f4b
Added optional parameter for imguiEndScrollArea().
2014-08-12 21:18:52 +01:00
Dario Manesku
762c423b42
Added optional parameter for imguiButton().
2014-08-12 21:18:52 +01:00
Dario Manesku
c2b0ee89cb
Reordering imguiBeginScrollArea() parameters.
2014-08-12 21:18:52 +01:00
Dario Manesku
06d6176392
Added overload for imguiTabs() with look customization parameters.
2014-08-12 21:18:51 +01:00
Dario Manesku
fcc642483f
Added imguiLabel() overload.
2014-08-12 21:18:51 +01:00
Dario Manesku
0c7dea6cb3
Minor imgui fixes.
2014-08-12 21:18:50 +01:00
Dario Manesku
6388d1a657
Added optional _r (corner radius) parameter for imguiBeginScrollArea().
2014-08-12 21:18:50 +01:00
Dario Manesku
a7cc06499b
Fine tuning imguiScrollArea sizes.
2014-08-12 21:18:50 +01:00
Dario Manesku
20f09a01a9
Fixing imguiTabs() indentation problem.
2014-08-12 21:18:49 +01:00
Dario Manesku
b18e29a930
Added optional parameters for imguiIndent().
2014-08-12 21:18:49 +01:00
Branimir Karadžić
c89c5d2ca9
Cleanup.
2014-08-11 22:02:46 -07:00
Branimir Karadžić
376668a4b6
Rebuilt shaders.
2014-08-11 20:36:42 -07:00
Branimir Karadžić
91715c7b06
Cleanup.
2014-08-10 12:17:34 -07:00
Branimir Karadžić
e71791a02c
Display example executable name in window title.
2014-08-10 10:31:24 -07:00
Dario Manesku
65f5faceec
Making setWindowTitle() on Windows thread safe.
2014-08-10 16:53:14 +01:00
Dario Manesku
2b01f8a874
Function setWindowTitle() now returns void.
2014-08-10 16:53:14 +01:00
Dario Manesku
1c16d97c27
Fixing imgui scroll area scissoring.
2014-08-10 16:53:14 +01:00
Dario Manesku
9f31587b09
Added optional _height param for imguiSeparator() and imguiSeparatorLine().
2014-08-10 16:53:13 +01:00
Dario Manesku
b9af3544ad
Added imguiTabs().
2014-08-10 16:53:13 +01:00
Dario Manesku
6e3f21f062
Added imguiBorderButton().
2014-08-10 16:53:12 +01:00
Dario Manesku
1f884a588e
Added imguiImageSwizzle().
2014-08-10 16:53:12 +01:00
Dario Manesku
1391939151
Fixed drawText() to handle NULL or empty string.
2014-08-10 16:53:11 +01:00
Dario Manesku
52afe0f433
Using imguiCollapse instead of imguiButton for imguiColorWheel.
2014-08-10 16:53:11 +01:00
Branimir Karadzic
c94e5122d6
Fixed GCC warning.
2014-08-06 09:47:12 -07:00
Branimir Karadžić
f492d7d113
Mouse wheel fix.
2014-08-05 23:09:04 -07:00
Branimir Karadžić
8935d3009a
Mouse wheel fix.
2014-08-05 22:37:47 -07:00
Branimir Karadžić
d18eb84263
Updated mouse wheel message.
2014-08-05 22:03:45 -07:00
Dario Manesku
5b49aea07a
Unused local variable problem fixed.
2014-08-06 04:20:40 +01:00
Branimir Karadžić
0098be04d7
Added mouse wheel handling.
2014-08-05 21:13:50 -07:00
Branimir Karadžić
d536bb8c72
Fixed compile error.
2014-08-05 19:46:40 -07:00
Dario Manesku
2dd6b60d7e
Cleanup.
2014-08-06 01:50:23 +01:00
Dario Manesku
78ea520d7d
Exposing entry::KeyState to the user.
2014-08-06 01:50:23 +01:00
Dario Manesku
0baa2d46e6
Cleanup.
2014-08-06 01:50:22 +01:00
Dario Manesku
c143dba942
Added imguiInput().
2014-08-06 01:50:22 +01:00
Dario Manesku
f1a7e1696d
Added setWindowTitle().
2014-08-06 01:50:22 +01:00
Branimir Karadžić
e782f2f873
Fixed preprocessor bug that trucnates macro arguments to first character when concatenating them.
2014-07-28 20:15:01 -07:00
bkaradzic
2b2c7857e8
Updated README.
2014-07-26 12:46:32 -07:00
Branimir Karadžić
2db00e3351
DX9: Fixed texture lod.
2014-07-12 16:41:51 -07:00
Dario Manesku
81c3875b9a
Added create/set font for imgui.
2014-07-12 11:25:41 +01:00
Dario Manesku
ba8bdc572b
Added lod parameter for imguiImage().
2014-07-12 10:18:49 +01:00
Branimir Karadžić
607470f559
Updated 20-nanovg screenshot.
2014-07-08 20:42:10 -07:00
Branimir Karadžić
b1e202ef84
Cleanup.
2014-07-08 19:44:13 -07:00
Dario Manesku
101c2c3ba0
Added Blendish to 20-nanovg.
2014-07-08 20:57:05 +01:00
Dario Manesku
76ea9ca61c
Cleanup.
2014-07-07 22:23:17 +01:00
Dario Manesku
dde03c6bee
Added _enabled param for imguiBeginScrollArea().
2014-07-07 20:53:36 +01:00
Dario Manesku
ef7289c0a6
Changed imguiImage() default _align param.
2014-07-07 20:53:35 +01:00
Branimir Karadžić
3b3120c04d
Cleanup.
2014-07-06 22:14:20 -07:00
Dario Manesku
4957d23322
Added other alignment options for imguiImage().
2014-07-05 04:33:00 +01:00
Branimir Karadžić
bbdd156e3e
Cleanup.
2014-07-04 21:03:43 -07:00
Dario Manesku
44b84ab800
Added ImguiImageAlign::CenterIndented.
2014-07-05 01:50:11 +01:00
Dario Manesku
7c4d69b0a1
Added imguiImage().
2014-07-05 01:10:49 +01:00
Branimir Karadžić
f9b17cc0ec
Removed tokenizecmd.
2014-06-30 22:46:54 -07:00
Branimir Karadžić
b610a10217
Cleanup.
2014-06-29 22:20:31 -07:00
Branimir Karadžić
2b147081c4
Changed imguiSlider argument.
2014-06-29 21:53:23 -07:00
Branimir Karadžić
dc8b073172
Cleanup.
2014-06-28 21:56:10 -07:00
Branimir Karadžić
f412b8bc90
IMGUI: Fixed scroll area scissor.
2014-06-28 18:17:30 -07:00
Branimir Karadžić
ddda9e29b0
Cleanup.
2014-06-28 17:22:11 -07:00
Branimir Karadžić
167ec3e1bc
Cleanup.
2014-06-28 11:54:30 -07:00
Branimir Karadžić
167a6717c5
Cleanup.
2014-06-27 21:47:33 -07:00
Branimir Karadžić
d1b6cc762c
Display PPAPI version on startup.
2014-06-25 21:17:21 -07:00
Branimir Karadžić
0d8a51fe05
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-06-23 20:10:00 -07:00
Branimir Karadžić
24d54b972e
Cleanup.
2014-06-23 20:08:08 -07:00
Dario Manesku
4cc0d8e777
Added setViewRect inside nanovg.
2014-06-23 07:59:09 +01:00
Dario Manesku
1bff2388f9
Added imguiColorWheel to 18-ibl.
2014-06-23 07:47:14 +01:00
Dario Manesku
36714f7bcf
Cleanup.
2014-06-23 07:22:23 +01:00
Dario Manesku
a64762de1d
Cleanup.
2014-06-23 07:06:13 +01:00
Dario Manesku
fbe9ecce12
Added option for imguiColorWheel to respect or ignore indentation.
2014-06-23 06:52:49 +01:00
Dario Manesku
5084649832
Added imguiColorWheel().
2014-06-23 06:34:42 +01:00
Dario Manesku
48cbaf20ce
Fixed scrollbar in imgui.
2014-06-23 06:34:42 +01:00
Dario Manesku
8c815f2f95
Added imguiReserve().
2014-06-23 06:34:41 +01:00
Branimir Karadžić
0dde534598
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-06-08 20:57:55 -07:00
Branimir Karadžić
0728b91bfa
Workaround C4127 MSVC level 4 warning.
2014-06-08 20:57:39 -07:00
Andrew Copland
82ad57e3fc
defining round function isn't required for vs2013 or newer.
2014-06-08 19:03:06 +01:00
Branimir Karadžić
c4b040a382
Cleanup.
2014-06-01 12:01:50 -07:00
Branimir Karadžić
1c917de7f9
Added C99 compatible header.
2014-05-31 00:18:45 -07:00
Branimir Karadžić
4f908ee911
Updated 07-callback example.
2014-05-27 20:05:13 -07:00
Branimir Karadžić
02e549bfec
Moved fpumath to bx.
2014-05-26 19:31:37 -07:00
Branimir Karadžić
92190fcbbf
Cleanup.
2014-05-26 17:28:28 -07:00
Branimir Karadžić
816860d38e
Added AABB overlap test.
2014-05-26 16:55:46 -07:00
Dario Manesku
01c764d060
Fixed sin(y) sign in mtxRotateXY().
2014-05-26 22:28:50 +01:00
Branimir Karadžić
b0d204c344
Added ability to choose renderer backend in runtime.
2014-05-26 14:09:26 -07:00
Branimir Karadžić
5cb963e9fd
Updated README.
2014-05-23 21:24:55 -07:00
bkaradzic
c4a01b4456
Fixed warnings.
2014-05-21 20:51:14 -07:00
Branimir Karadžić
8cede52d91
Added 21-deferred example.
2014-05-21 20:33:12 -07:00
Branimir Karadžić
65cd3169db
Cleanup.
2014-05-20 21:15:48 -07:00
Branimir Karadžić
1d82b0c07b
Cleanup.
2014-05-19 22:08:35 -07:00
Branimir Karadžić
f91addf88a
GL: Fixed HDR example.
2014-05-19 20:31:23 -07:00
Branimir Karadžić
84f38ee954
Cleanup.
2014-05-14 21:34:34 -07:00
bkaradzic
e29be87bd2
Cleanup.
2014-05-14 20:57:37 -07:00
Branimir Karadžić
bba2ef8031
Added predefined uniforms for inverted view/proj/viewproj matrices.
...
shaderc: Added raw shader support.
shaderc: Fixed uniform types.
2014-05-10 20:51:54 -07:00
Branimir Karadžić
ac925b00c8
Cleanup.
2014-05-03 15:18:28 -07:00
Branimir Karadžić
6dc6dd6148
Simplified allocator interface.
2014-05-01 10:15:41 -07:00
Branimir Karadžić
9970637bb4
Fixed 02-metaballs.
2014-05-01 10:09:47 -07:00
Branimir Karadžić
bf9ed535fc
Updated README.
2014-04-30 22:27:30 -07:00
Branimir Karadžić
bc399eb317
Added SDF.
2014-04-30 21:57:05 -07:00
Branimir Karadžić
5dca5791c5
Fixed half texel offset in NanoVG for DX9.
2014-04-29 19:52:42 -07:00
Branimir Karadžić
c3afa94320
Fixed pixel ratio.
2014-04-28 23:25:24 -07:00
Branimir Karadžić
ed955ed149
Fixed VS2012 compile error.
2014-04-28 19:45:49 -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
Branimir Karadžić
27c2a6e83b
Fixed changed function.
2014-04-26 23:49:06 -07:00
Branimir Karadžić
c8442ebb40
Cleanup.
2014-04-16 22:24:31 -07:00
Branimir Karadžić
e39d280a31
Fixed 10-font example.
2014-04-16 22:11:14 -07:00
Branimir Karadžić
b09059c421
Merge pull request #88 from sgraham/win-cursor
...
Use NULL as instance when loading predefined icon/cursor
2014-04-16 21:18:42 -07:00
Scott Graham
69ad8504b0
Use NULL as instance when loading predefined icon/cursor
2014-04-16 21:03:36 -07:00
Branimir Karadžić
27f12fb738
Cleanup.
2014-04-16 19:51:25 -07:00
Branimir Karadžić
bc36c29f2a
Added ability to retrieve uniforms used by shader.
2014-04-15 19:10:56 -07:00
Branimir Karadžić
36b3ccabfa
Removed unused uniform.
2014-04-13 00:00:41 -07:00
Branimir Karadžić
f1a1212efc
Fixed texture formats for iOS.
2014-04-12 21:25:38 -07:00
Branimir Karadžić
78475a30e6
Added ability to set start vertex when setting vertex buffer.
2014-04-10 22:09:17 -07:00
Branimir Karadžić
ea34b9476c
Fixed GL texture sampler state. Issue#85
2014-04-09 21:23:27 -07:00
Attilaz
e2151d628c
iOS
...
- set window size from screen size
- touch input ( WIP: it is not too responsive )
- file path set for resource loading
2014-04-06 14:58:21 +02:00
Branimir Karadžić
92c57b739f
01-cubes: fixed aspect ratio when window size changes.
2014-03-30 18:57:06 -07:00
Branimir Karadžić
85c5172a29
Changed GLES macro to use version number.
2014-03-29 23:12:15 -07:00
bkaradzic
32ca63bd93
Cleanup.
2014-03-29 19:58:24 -07:00
Branimir Karadžić
f436f79c10
Simplified API, removed difference between vertex and fragment shaders.
2014-03-29 19:42:57 -07:00
Branimir Karadžić
6afa55381a
Updated glsl-optimizer.
2014-03-29 16:26:01 -07:00
Branimir Karadžić
0f1f324033
Cleanup.
2014-03-27 22:29:39 -07:00
Branimir Karadžić
e807a26c07
Removed debug code.
2014-03-27 21:36:43 -07:00
Branimir Karadžić
4cabbe37d6
Fixed draw buffers.
2014-03-27 21:35:14 -07:00
Branimir Karadžić
72aa38a5fa
Added 19-oit example.
2014-03-26 22:01:22 -07:00
Branimir Karadžić
5b87eece6f
Added missing files.
2014-03-26 09:21:37 -07:00
bkaradzic
cb17cc449e
Updated drawstress example.
2014-03-17 20:16:35 -07:00
Branimir Karadžić
aa9f65e377
Fixed error.
2014-03-16 16:58:22 -07:00
bkaradzic
fa9b650b37
Added entry for asmjs.
2014-03-16 16:49:59 -07:00
Branimir Karadžić
e24c3f42b3
Cleanup.
2014-03-12 22:32:27 -07:00
Branimir Karadžić
beb73905d0
Fixed 14-shadowvolumes depth texture flag to be buffer only.
2014-03-09 21:21:53 -07:00
Branimir Karadžić
538ef12446
Free imgui font memory after init.
2014-02-25 20:19:13 -08:00
Branimir Karadžić
a4e189a366
Cleanup.
2014-02-24 21:47:00 -08:00
Branimir Karadžić
6eee3cca63
Added shadow samplers and updated example 15-shadowmaps-simple to use them.
2014-02-24 21:44:12 -08:00
Branimir Karadžić
70796a4f41
Simplified shadowmaps-simple example.
2014-02-22 13:36:31 -08:00
Branimir Karadžić
0e81c0b2aa
Fixed 08-update example.
2014-02-20 22:04:50 -08:00
Branimir Karadžić
fa875b9d8c
Added 18-ibl screenshot.
2014-02-14 09:41:45 -08:00
Branimir Karadžić
e125cb0c20
Updated README.
2014-02-14 00:16:23 -08:00
Dario Manesku
b354a817db
Refactor.
2014-02-14 07:56:50 +01:00
Dario Manesku
1f58f4b874
Fixed halfTexel problem on dx9.
2014-02-14 07:51:34 +01:00
Dario Manesku
15a9282cc9
Change camera view only on right click.
2014-02-14 07:50:20 +01:00
Dario Manesku
9bb2440d86
Added 18-ibl example.
2014-02-14 07:50:19 +01:00
Dario Manesku
7259e94c2f
Cleanup.
2014-02-14 07:50:16 +01:00
Branimir Karadžić
771909c988
Fixed issue #74 .
2014-02-13 22:13:19 -08:00
Branimir Karadžić
557dcef3dd
Updated glsl-optimizer.
2014-02-10 23:06:13 -08:00
Branimir Karadžić
e7b42f13c6
Updated copyright year.
2014-02-10 22:18:39 -08:00
Branimir Karadžić
9ff1d0c513
Updated copyright year.
2014-02-10 22:07:04 -08:00
bkaradzic
877621105d
Added MRT support.
2014-02-05 23:07:11 -08:00
bkaradzic
8c27ed5962
SDL: Fixed clang warnings.
2014-01-30 20:31:49 -08:00
Dario Manesku
e27d75a690
Small fix.
2014-01-30 19:44:37 +01:00
Dario Manesku
950bba4d54
Added free look camera for 13-stencil.
2014-01-30 19:44:14 +01:00
Dario Manesku
95978c2632
Updated binary shaders.
2014-01-30 19:29:45 +01:00
Dario Manesku
e038e136f5
Refactor.
2014-01-30 19:24:03 +01:00
Dario Manesku
d68e48c1b7
Refactor.
2014-01-30 18:36:40 +01:00
Dario Manesku
de1d5e48ed
Added free look camera for 14-shadowvolumes.
2014-01-30 18:20:06 +01:00
bkaradzic
47ce754e16
Merge branch 'master' of github.com:bkaradzic/bgfx
2014-01-24 22:38:43 -08:00
bkaradzic
f48511147a
Fixed SDL entry mouse messages.
2014-01-24 21:49:15 -08:00
bkaradzic
7f004af0d6
Fixed GCC warning.
2014-01-20 23:43:09 -08:00
bkaradzic
b25a7cc9ff
Fixed C4244 warnings.
2014-01-20 22:07:08 -08:00
bkaradzic
2c05b90792
Embedded shaders and font into 17-drawstress.
2014-01-19 22:34:58 -08:00
bkaradzic
e8075dc367
Using renderFrame to setup thread creation behavior.
2014-01-19 14:58:05 -08:00
bkaradzic
9d1deb534a
Cleanup.
2014-01-19 00:31:11 -08:00
bkaradzic
b5f1a4fcf9
Fixed Linux build.
2014-01-19 00:28:17 -08:00
bkaradzic
f08ce4fdaa
Added 17-drawstress example.
2014-01-18 23:43:16 -08:00
bkaradzic
59a76342f2
Replaced static const values with defines.
2014-01-18 22:21:10 -08:00
bkaradzic
804bd01b01
Added imguiChoose function.
2014-01-18 20:07:00 -08:00
bkaradzic
924cb614c2
Cleanup.
2014-01-13 21:48:42 -08:00
bkaradzic
881c598dc8
Resized screenshots.
2014-01-13 20:39:33 -08:00
bkaradzic
4061d19963
Updated screenshots.
2014-01-13 20:36:33 -08:00
bkaradzic
0ed2edc7b3
Updated shaders and README.
2014-01-13 20:17:56 -08:00
Dario Manesku
658552be7e
Copyright dates updated.
2014-01-13 23:45:18 +01:00
Dario Manesku
098ef114d2
Added screenshots.
2014-01-13 22:16:09 +01:00
Dario Manesku
24d32d57d6
Trailing whitespaces removed.
2014-01-13 22:16:09 +01:00
Dario Manesku
6f5119a933
Added binary shaders.
2014-01-13 22:16:08 +01:00
Dario Manesku
5594e9af8c
Added 15-shadowmaps-simple and 16-shadowmaps.
2014-01-13 22:16:07 +01:00
Dario Manesku
c01085856c
Added packHalfFloat().
2014-01-13 22:16:07 +01:00
Dario Manesku
530790970d
Fixed cube mesh normals.
2014-01-13 22:16:06 +01:00
Dario Manesku
c827dad22a
Added camera.
2014-01-13 22:16:00 +01:00
bkaradzic
1f228a172b
Increased BGFX_CONFIG_MAX_DRAW_CALLS to 64K.
2014-01-12 21:43:47 -08:00
bkaradzic
7d61b3eafa
Removed unused files.
2014-01-02 09:20:58 -08:00
bkaradzic
2e0952bbec
Fixed GCC warning.
2013-12-29 15:03:51 -08:00
bkaradzic
d1117f34b5
Added support for different RT depth stencil formats.
2013-12-29 11:43:44 -08:00
bkaradzic
6005ebda2b
Added platform name defines.
2013-12-24 21:30:28 -08:00
bkaradzic
a1294a4d5d
Fixed MinGW64 compile errors.
2013-12-24 20:18:49 -08:00
bkaradzic
48a48d9bf5
Fixes for MinGW GCC 4.8.1.
2013-12-23 22:36:30 -08:00
bkaradzic
336bea5849
Fixed memory leak.
2013-12-21 23:37:35 -08:00