Commit graph

239 commits

Author SHA1 Message Date
Dario Manesku
15a9282cc9 Change camera view only on right click. 2014-02-14 07:50:20 +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
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
b5f1a4fcf9 Fixed Linux build. 2014-01-19 00:28:17 -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
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
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
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
2e0952bbec Fixed GCC warning. 2013-12-29 15:03:51 -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
336bea5849 Fixed memory leak. 2013-12-21 23:37:35 -08:00
bkaradzic
e3959838b3 Updated to OSX 10.9 and Xcode5. 2013-12-20 16:41:53 -08:00
bkaradzic
433a29d7d6 Use sdcard for loading data for Android examples. 2013-12-09 22:36:13 -08:00
bkaradzic
8c2b39efe2 Fixed warnings. 2013-12-07 10:45:15 -08:00
bkaradzic
dee588dfba OSX/iOS: Updated to Xcode5. 2013-12-07 10:19:54 -08:00
bkaradzic
9fd378b5d9 Fixed GCC warnings. 2013-12-02 20:09:03 -08:00
bkaradzic
9487ab6b5f Fixed GCC warnings. 2013-11-29 22:23:04 -08:00
bkaradzic
04f348c2ea OSX: Moved NSOpenGLContext creation to the main thread that created NSWindow. Fixes occasional GL_INVALID_FRAME_BUFFER_OPERATION error on DrawElements. 2013-11-18 20:43:17 -08:00
bkaradzic
2563c271b0 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-17 20:43:00 -08:00
bkaradzic
a4df646179 Fixed fmin/fmax CRT library name collision. 2013-11-17 20:42:29 -08:00
bkaradzic
367279e2e5 OSX: Removed dependency on SDL2. 2013-11-17 20:14:57 -08:00
bkaradzic
fab2ef534c Using language compliant header guards. 2013-11-14 19:10:10 -08:00
bkaradzic
b584873b50 Added ability to specify arbitrary source pitch when uploading textures.
Added reference weldVertices implementation.
2013-11-07 23:00:53 -08:00
bkaradzic
6a6404f73d Removed nonsense code. 2013-10-31 22:47:06 -07:00
bkaradzic
f0c9c14f93 Updated fpumath. 2013-10-31 21:49:15 -07:00
bkaradzic
48c477d0ac Updated screenshots. 2013-10-23 22:48:16 -07:00
bkaradzic
6f3a18a805 Added delayed load for GLES dlls on Windows. 2013-10-10 22:57:42 -07:00
bkaradzic
781c9cda5b Examples: Fixed resource leaks warnings. 2013-10-06 20:30:44 -07:00
bkaradzic
5f35341abf Fixed alloc/free mismatch with tinystl::string. 2013-10-06 19:32:35 -07:00
Josh Simmons
6c5c7786ca Handle exit message from window manager on Linux 2013-10-05 14:41:22 +10:00
bkaradzic
df1dfdc872 Added isValid check function for handles. 2013-09-29 21:33:50 -07:00
bkaradzic
ab969f0a1a Enable tinystl by default. 2013-09-22 21:40:17 -07:00
bkaradzic
a5948679ca Removed context static inialization. 2013-09-20 22:13:58 -07:00
bkaradzic
9d59e31f6a Fixed warning. 2013-09-04 21:41:01 -07:00
bkaradzic
1da64571d9 Fixed MinGW build. 2013-08-30 22:31:40 -07:00
bkaradzic
b36a26528a Added fclamp and fsaturate. 2013-08-26 22:37:56 -07:00
bkaradzic
c8ac5690ba Cleanup. 2013-08-16 22:29:55 -07:00
bkaradzic
dfd17b1d79 Fixed clang warning. 2013-08-14 21:18:42 -07:00
bkaradzic
24c894ea90 Shuffling entry stuff. 2013-08-14 21:08:46 -07:00
bkaradzic
e92eb7504b Added SDL2 entry point. 2013-08-12 20:47:41 -07:00
bkaradzic
d265b9b0d4 Examples: Added ability to turn off debug text. 2013-08-09 21:33:28 -07:00
bkaradzic
3e6f682c30 Fixed resource leak in font examples. 2013-08-08 22:18:19 -07:00
bkaradzic
d5bc94454e Don't mess with include order on Linux. 2013-08-07 23:16:30 -07:00
bkaradzic
386323e9a6 Added missing include. 2013-08-07 23:11:20 -07:00
bkaradzic
5a2f097fcc Fixed Linux build. 2013-08-07 23:03:09 -07:00
bkaradzic
2f72afca65 Fixed iOS and OSX builds. 2013-08-07 22:50:01 -07:00
bkaradzic
d07ededcaf Fixed NaCl build. 2013-08-07 22:01:46 -07:00
bkaradzic
4c4c2eb5cb examples-common: Reogranized sources. Added command interpreter and input bindings support. 2013-08-07 21:45:56 -07:00
bkaradzic
f7fe163f2b Cleanup. 2013-08-06 21:04:28 -07:00
bkaradzic
bac2073b76 Added support for per primitive scissor. 2013-07-27 15:27:54 -07:00
bkaradzic
d927f59bd8 Cleanup. 2013-07-21 21:53:20 -07:00
bkaradzic
a17be960c6 Cleanup. 2013-07-21 20:56:12 -07:00
bkaradzic
41dfddf424 Cleanup. 2013-07-21 15:38:44 -07:00
bkaradzic
bf22ffaae1 iOS stuff. 2013-07-21 14:44:53 -07:00
bkaradzic
851ab7fde5 Fixed OSX build. 2013-07-10 23:18:16 -07:00
bkaradzic
ea5201d07e Fixed imgui program leak. 2013-07-10 21:15:27 -07:00
bkaradzic
daab00e816 Cleanup. 2013-06-24 23:38:14 -07:00
bkaradzic
bd508cc502 Fixed memory leak when font fails to load. 2013-06-24 23:21:53 -07:00
bkaradzic
17f6071018 Added flip handedness matrix helper functions. 2013-06-24 21:27:58 -07:00
bkaradzic
1e6c8000c7 Rebuilt font embedded shaders. 2013-06-07 22:49:25 -07:00
bkaradzic
9c005e40ba Linux/AMD: Fixed font shaders. 2013-06-07 22:45:02 -07:00
bkaradzic
a330a141dd Fixed GCC warning. 2013-06-03 23:58:18 -07:00
bkaradzic
375f17060a DX11/GL: Fixed font subpixel issues. 2013-06-03 23:16:02 -07:00
bkaradzic
52511156ac Cleanup. 2013-05-30 21:16:09 -07:00
bkaradzic
18c4e37d66 Cleanup. 2013-05-30 20:43:27 -07:00
bkaradzic
ed9761e9c9 Cleanup. 2013-05-29 23:21:19 -07:00
bkaradzic
32b95cace3 Cleanup. 2013-05-29 23:12:05 -07:00
bkaradzic
b8a69a700b Cleanup. 2013-05-29 22:47:19 -07:00
bkaradzic
af842a1c68 Cleanup. 2013-05-29 21:53:19 -07:00
bkaradzic
18f2e82362 Added include path to common. Renamed math to fpumath. 2013-05-23 22:07:54 -07:00
bkaradzic
fc9dc6a3cd Moved matrix functions to math.h 2013-05-22 23:06:13 -07:00
bkaradzic
4a2bfcfbeb Cleanup. 2013-05-22 21:34:21 -07:00
bkaradzic
e49810bc29 Fixed 64-bit warning. 2013-05-22 19:53:17 -07:00
Jeremie Roy
65b08cc523 Merge remote-tracking branch 'refs/remotes/bgfx_bkaradzic/master'
Conflicts:
	examples/common/font/text_buffer_manager.cpp
2013-05-22 17:22:48 +02:00
Jeremie Roy
f1042b3f6f add Text metrics helper 2013-05-22 17:16:11 +02:00
Jeremie Roy
60e51ea707 make sure pen position always refers to top left + remove measureText + append substring 2013-05-22 17:15:58 +02:00
Jeremie Roy
c13e53153f add max advance to fontInfo 2013-05-22 17:13:17 +02:00
bkaradzic
aeb414d238 Fixed 64-bit warnings. 2013-05-21 21:58:24 -07:00
Jeremie Roy
292b021e0e add functionality to measure text without rendering it 2013-05-21 14:45:14 +02:00
bkaradzic
bed490bd53 Cleanup. 2013-05-18 22:12:40 -07:00
bkaradzic
816efcd934 Removed unused member variables. 2013-05-17 23:06:08 -07:00
Jeremie Roy
700c263042 fix issue with uv packing (and mingw issue) 2013-05-18 00:11:54 +02:00
Jeremie Roy
be925b64c4 remove "m_" from POD struct members in cube_atlas 2013-05-17 23:47:08 +02:00
Jeremie Roy
565d0ca543 add missing functionality to show an atlas face 2013-05-17 23:42:59 +02:00