Branimir Karadžić
1444704901
Cleanup.
2017-03-02 19:29:34 -08:00
Branimir Karadžić
86fc54ccfc
Added ability to specify swap chain for screenshot.
2017-03-02 18:02:14 -08:00
Branimir Karadžić
edbf8572d0
Fixed MinGW build.
2017-02-19 18:15:15 -08:00
Libor Čapák
b57d8e22bd
fix sdl entry + gamecontrollerdb.txt ( #1048 )
...
* missing bx/mutex.h include
* gamecontrollerdb.txt update
2017-02-17 09:37:04 -08:00
Branimir Karadžić
094c6a95d7
Cleanup.
2017-02-16 21:07:39 -08:00
Branimir Karadžić
55e3b56314
Cleanup.
2017-02-16 20:41:22 -08:00
Branimir Karadžić
61be03a1d3
Cleanup.
2017-02-15 22:24:49 -08:00
Branimir Karadžić
42a01f6f1a
Cleanup.
2017-02-13 23:19:08 -08:00
Branimir Karadžić
bfe5a66b3e
Cleanup.
2017-02-09 19:31:19 -08:00
Branimir Karadžić
b99ebb9535
Cleanup.
2017-02-08 19:55:31 -08:00
Branimir Karadžić
b1eb4098ee
Fixed warning.
2017-02-01 21:51:53 -08:00
Branimir Karadžić
82ec67105f
Cleanup.
2017-01-23 09:42:10 -08:00
Andrew Copland
19770a8f20
Updating code to match bx changes. ( #1028 )
2017-01-22 08:52:31 -08:00
Branimir Karadžić
335c1ae320
Removing duplicated code.
2017-01-20 15:06:51 -08:00
Branimir Karadžić
14dbb67320
Fixed IFH debug flag.
2017-01-10 17:14:50 -08:00
Branimir Karadžić
c992291e94
Updating code to match bx.
2017-01-08 15:55:14 -08:00
Branimir Karadžić
1350734fbb
Link bx library.
2017-01-08 15:15:22 -08:00
Branimir Karadžić
747b6156cc
Added particles example screenshot.
2017-01-05 21:28:43 -08:00
Branimir Karadžić
3b83f53ab1
Happy New Year!
2017-01-01 00:18:41 -08:00
Branimir Karadžić
71295d783b
GLFW: Fixed uninitialized data. Issue #1009 .
2016-12-30 10:36:10 -08:00
Branimir Karadžić
2c958f4809
Cleanup.
2016-12-25 12:57:35 -08:00
Libor Čapák
5a7fb2d323
WM_CLASS(STRING) = BGFX ( #1003 )
2016-12-25 10:39:06 -08:00
Branimir Karadžić
2c5e21966f
Cleanup.
2016-12-15 10:59:57 -08:00
attilaz
f873dcbd10
metal fixes, optim ( #997 )
...
osx meamleak fix
refactored commandqueue handling to be somewhat similar to d3d12
removed slow cb sync in buffer update
2016-12-15 08:54:45 -08:00
Branimir Karadžić
e8dee2d79c
Cleanup.
2016-12-09 16:06:10 -08:00
Branimir Karadžić
dc6c1698cd
Merge branch 'master' of github.com:bkaradzic/bgfx
2016-12-08 20:45:09 -08:00
Branimir Karadžić
a5bb9be4ed
Cleanup.
2016-12-08 20:45:01 -08:00
Branimir Karadžić
76664ec514
Fixed MSVC build.
2016-12-07 22:46:54 -08:00
Branimir Karadžić
f9aab4c8bf
entry: Added file reader/writer support for current directory.
2016-12-07 22:08:20 -08:00
Branimir Karadžić
8da9e54957
Renamed bgfxdefines.h to defines.h, and bgfxplatform.h to platform.h.
2016-12-05 19:52:01 -08:00
Branimir Karadžić
7820a8ee29
Cleanup.
2016-12-03 15:40:18 -08:00
Branimir Karadžić
68fb1f5bdd
Cleanup.
2016-11-19 18:38:13 -08:00
Miodrag Milanović
7edf2f97c7
Fix UWP build ( #981 )
2016-11-18 08:57:14 -08:00
Branimir Karadžić
a96372cd69
Cleanup.
2016-11-14 21:46:59 -08:00
Branimir Karadžić
f7e2c6b291
Cleanup.
2016-11-09 22:22:27 -08:00
Angelo Geels
d79032e21b
Use m_mz in ButtonPress mouse event instead of 0 ( #962 )
2016-11-02 09:31:34 -07:00
Branimir Karadžić
2da0e00222
OVR: Fixed uninitialized session.
2016-10-15 20:54:42 -07:00
Branimir Karadžić
84e4a66c96
Cleanup.
2016-09-27 18:11:41 -07:00
Branimir Karadžić
813d145ac9
GLFW: Fixed exit.
2016-09-06 23:07:11 -07:00
Camilla Berglund
8b4f495225
GLFW: Lowered CPU use.
2016-09-05 21:41:03 +02:00
Camilla Berglund
3429fff1ba
GLFW: Implemented full GLFW backend.
2016-09-05 21:41:02 +02:00
Branimir Karadžić
0ba8b1895b
Cleanup.
2016-09-02 19:49:01 -07:00
Branimir Karadžić
79ef46e4cf
Fixed issue #890 .
2016-08-26 09:01:49 -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
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
Jean-François Verdon
3bdeea1f4b
Android mouse event injection is overcomplicated, and furthemore, bugged: it sends a mouse up event before a mouse down, and have other issues like the fact that he work with one event latter. Simplifying it and correcting it.
2016-07-04 01:55:20 +02:00
Jean-François Verdon
a9a7cbb86c
Mouse clicks should update mouse position too
2016-07-04 01:42:44 +02:00
Branimir Karadžić
10b9d079bf
Cleanup.
2016-05-22 17:20:27 -07:00
Sami Kyöstilä
516e287f24
Make it possible to reset the native window ( #796 )
...
On Android when the application goes into the background, the EGL
window surface becomes invalid. It is possible to resume rendering when
coming to the foreground by resetting and reinitializing bgfx from
scratch, but this is costly in terms of performance.
This patch provides an alternative by letting the application provide a
new native window, causing bgfx to recreate just the EGL window surface
while keeping the EGL context intact. This allows the application to
resume rendering without needing to reload textures, shaders, etc.
To test, build and run the Hello World example on Android, switch to
another app and then back again. The screen should not remain blank
after switching back.
2016-05-22 17:16:25 -07:00