Commit graph

728 commits

Author SHA1 Message Date
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
bkaradzic
7e656fa4ef Added GL 3.1 core profile shader patching. 2013-12-20 19:51:17 -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
Branimir Karadžić
86096bd3cc Merge pull request #57 from dariomanesku/master
Small update on 14-shadowvolumes.
2013-11-20 19:03:55 -08:00
Dario Manesku
aa1219b8b4 Using better data structures. 2013-11-20 20:28:12 +01:00
Dario Manesku
6e290a3c9b Supressing clang compiler warning. 2013-11-19 23:35:34 +01:00
bkaradzic
8c609d77c8 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-18 20:46:12 -08:00
bkaradzic
f912469a63 Merge branch 'master' of github.com:bkaradzic/bgfx 2013-11-18 20:44:21 -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
333b164278 Cleanup. 2013-11-17 22:26:15 -08:00
bkaradzic
32fe192101 Cleanup. 2013-11-17 20:57:38 -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
40c9aa78d8 Fixed VS2008 build. 2013-11-14 19:10:34 -08:00
bkaradzic
fab2ef534c Using language compliant header guards. 2013-11-14 19:10:10 -08:00
Dario Manesku
e432a37396 Small refactor. 2013-11-13 19:11:34 +01:00
Dario Manesku
0381c60b6d Data structures sepatared for aligned memory access. 2013-11-13 17:53:44 +01:00
Dario Manesku
d7647a4cb7 Small optimization. 2013-11-13 17:04:21 +01:00
Dario Manesku
c0c62570ea Removed trailing whitespaces. 2013-11-12 22:31:44 +01:00
Dario Manesku
494fc01f23 Performance optimizations and SIMD support. 2013-11-12 22:31:44 +01:00
Dario Manesku
2d91c114c2 Removed duplicate edges from platform mesh. 2013-11-12 22:18:42 +01:00
bkaradzic
53adb1dae4 Fixed 14-shadowvolume build for Android. 2013-11-09 10:06:06 -08:00
bkaradzic
08ebd5523d Updated 08-update example. 2013-11-08 22:10:31 -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
Dario Manesku
a2030866cd Updated screenshot. 2013-11-07 07:12:25 +01:00
Dario Manesku
eb37d42888 Binary shaders updated. 2013-11-06 19:36:26 +01:00
Dario Manesku
55f0be0761 Fixed reflection in 13-stencil. 2013-11-06 19:36:10 +01:00
Dario Manesku
9ee7d760a7 Fixed resource cleanup. 2013-11-06 19:06:50 +01:00
Dario Manesku
fd764ec261 Cleanup. 2013-11-06 19:06:49 +01:00
Dario Manesku
d7b69b1ce9 Minor fix. 2013-11-06 19:06:49 +01:00
Dario Manesku
3c0e4c68b3 Small refactor regarding shadow volume mtx computation. 2013-11-06 19:06:48 +01:00
Dario Manesku
46c8e1056a Cleanup. 2013-11-06 19:06:48 +01:00
bkaradzic
96ead5cfeb Fixed warning: operation on ‘currentDirection’ may be undefined. 2013-11-06 19:06:47 +01: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
Dario Manesku
e216e35ecd Meshes rebuilded with --packnormal 1. 2013-10-25 18:31:58 +01:00
Dario Manesku
cdd6cb1a86 Max light and instance count are now preprocessor constants. 2013-10-25 18:20:25 +01:00
Dario Manesku
ad0cdd6f1c Tightening memory usage for shadow volumes. 2013-10-25 18:20:24 +01:00
Dario Manesku
4cb2ab30f2 Cleanup. 2013-10-25 18:20:24 +01:00
Dario Manesku
b48850a989 Added special allocator for shadow volumes data. 2013-10-25 18:20:23 +01:00
Dario Manesku
96743e3a5b Cleanup. 2013-10-25 18:20:23 +01:00
Dario Manesku
0c9ed73476 Small optimization. 2013-10-25 18:20:22 +01:00
Dario Manesku
64b2e96772 Added named variables for fov, aspect, near/far plane. 2013-10-25 18:20:22 +01:00
Dario Manesku
3db3f02dc6 Got rid of unnecessary things. 2013-10-25 18:20:21 +01:00
bkaradzic
48c477d0ac Updated screenshots. 2013-10-23 22:48:16 -07:00
bkaradzic
c99d145347 Added FontAwesome to 10-font example. 2013-10-23 20:32:48 -07:00
bkaradzic
8144613c94 Cleanup. 2013-10-20 19:30:58 -07:00
bkaradzic
ff21c42797 Cleanup. 2013-10-20 13:11:41 -07:00
bkaradzic
2d62896623 Updated shaders for example 13-stencil. 2013-10-20 12:47:58 -07:00
Dario Manesku
cd31dbfb13 Cleanup. 2013-10-20 21:26:04 +01:00
Dario Manesku
19f36716f7 Fixed lightning problem. 2013-10-20 21:22:19 +01:00
bkaradzic
3dc932d599 Cleanup. 2013-10-20 11:34:28 -07:00
bkaradzic
def41a0901 Fixed 64-bit warnings. 2013-10-18 23:45:34 -07:00
bkaradzic
fe53e02b7c Cleanup. 2013-10-18 23:08:57 -07:00
bkaradzic
49e14b2a54 Cleanup. 2013-10-18 23:05:33 -07:00
bkaradzic
e12c84c2e6 OSX: Fixed compile error. 2013-10-18 09:53:06 -07:00
bkaradzic
bd5fec510c Updated example mesh. 2013-10-18 08:41:31 -07:00
bkaradzic
9859472bab Added new examples to premake script. Added missing files. 2013-10-17 23:45:58 -07:00
bkaradzic
7f7687d582 Added new shaders. 2013-10-17 22:43:47 -07:00
Dario Manesku
48aa0079ae Added examples 13-stencil and 14-shadowvolumes 2013-10-18 07:18:31 +01:00
bkaradzic
6f3a18a805 Added delayed load for GLES dlls on Windows. 2013-10-10 22:57:42 -07:00
bkaradzic
f440f160f9 Exposed renderer capabilities. 2013-10-10 18:29:57 -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
083ada2fbd Replaced custom allocator handling. 2013-09-16 21:40:30 -07:00
bkaradzic
f84081b0ad Added texture compression test. 2013-09-09 23:17:17 -07:00
bkaradzic
cacff49d99 Cleanup. 2013-09-08 23:14:34 -07:00
bkaradzic
983f1e6f9a GL: When using ARB_texture_swizzle don't swizzle image to BGRA8. 2013-09-08 23:03:14 -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
333ff8500d Added imageRgba8Downsample2x2 utility function and updated 07-callback to demonstrate how to use it to generate mip maps. 2013-08-21 22:51:50 -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
c9de4a1f19 12-lod: Fixed size of imgui. 2013-08-08 00:04:03 -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
640c61fe45 Cleanup. 2013-08-06 21:09:02 -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
b1901ae776 Fixed instancing. 2013-07-25 23:13:48 -07:00
bkaradzic
538796302f iOS: Fixed aspect ratio in examples. 2013-07-22 21:24:20 -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
b6e4c79f77 slightly better default param values 2013-05-22 19:23:24 +02: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
3df72de750 refactor sdf sample completely to show a big scrollable, rotable and scalable text 2013-05-22 17:20:23 +02:00
Jeremie Roy
748e2e395f add typewriter font and sherlock holmes text 2013-05-22 17:19:26 +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
383efbed99 Fixed shader to output alpha 1.0. 2013-05-20 20:45:22 -07:00