Commit Graph

1163 Commits

Author SHA1 Message Date
michael tesch
babdfd5bf8 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-17 21:03:32 +02:00
michael tesch
a55d77b2d2 added node write support, good enough for debugging 2016-06-17 21:03:19 +02:00
michael tesch
3eac0ebc78 make sure TEXTURE0 is active when available 2016-06-16 21:16:18 +02:00
Michael Tesch
38e0c0ab12 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-16 18:08:19 +02:00
Michael Tesch
77a03fea93 cleanup tabs in sdl port, check if got requested window size 2016-06-16 18:07:56 +02:00
michael tesch
75b0f9eead Merge commit '71e10af' into demo_sdl2 2016-06-16 17:30:30 +02:00
michael tesch
71e10afbe8 fix includes for apple and gles2 2016-06-16 17:28:00 +02:00
Michael Tesch
50086f3228 remove dependency on c++ stdlib 2016-06-16 17:06:37 +02:00
Michael Tesch
b634125e60 simpler solution to no-bitmap case 2016-06-16 16:54:48 +02:00
Michael Tesch
8f002b05e6 use TBDebugOut especially for printing debug output with no parameters 2016-06-16 16:35:13 +02:00
Michael Tesch
3c3f47ef85 added default white texture to GL renderer 2016-06-16 16:31:53 +02:00
Michael Tesch
924baf414c regression, fix for strange TBDebugPrint definition 2016-06-16 14:31:32 +02:00
Michael Tesch
a3ea918a58 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-16 14:22:38 +02:00
Michael Tesch
1285f152ea cleanup debug output 2016-06-16 14:22:21 +02:00
michael tesch
789c28d096 Merge branch 'master' of github.com:fruxo/turbobadger into demo_sdl2 2016-06-16 13:02:23 +02:00
michael tesch
41c3b0b52f Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-16 12:59:54 +02:00
michael tesch
0e179e4257 let window resize 2016-06-16 12:59:51 +02:00
Emil Segerås
9094e47080 Merge pull request #78 from mgerhardy/patch-2
Fixed typo in CMakeLists.txt
2016-06-16 12:48:29 +02:00
Michael Tesch
b2ce28e72f formatting reversion, remove cruft comment 2016-06-16 12:20:33 +02:00
Michael Tesch
63c3ca1e65 fix from @mgerhardy to SDL, remove iostream dependence 2016-06-16 12:09:58 +02:00
Martin Gerhardy
c95d61db42 Fixed typo in CMakeLists.txt 2016-06-16 12:09:49 +02:00
Michael Tesch
d7bb6ad083 remove emacs file vars 2016-06-16 11:59:25 +02:00
Emil Segerås
93bf92a09b Define factory for TBWindow. Fixes #72 2016-06-15 21:39:15 +02:00
Michael Tesch
6df6e49179 disable assert() to run, add debug for fopen fails 2016-06-14 20:29:27 +02:00
Michael Tesch
809190d1e8 added config option for constexpr support and cleanup cmakefile spaces 2016-06-14 17:29:57 +02:00
Michael Tesch
e908f6dfb6 enable double buffer 2016-06-14 17:29:21 +02:00
michael tesch
a5552c08ba Merge branch 'master' of github.com:fruxo/turbobadger into demo_sdl2 2016-06-13 19:44:20 +02:00
Michael Tesch
24bd67ec87 fixed build on linux+GL3 2016-06-13 18:05:56 +02:00
Emil Segerås
483ec58f5c Use ibeam cursor for edit fields. Fixes #77 2016-06-12 16:36:47 +02:00
Emil Segerås
7ade1a1490 Clamp opacity before use. 2016-06-10 21:16:04 +02:00
Emil Segerås
e55540f648 Fixed outdated comment 2016-06-10 21:13:58 +02:00
Emil Segerås
1259d8b71f Removed warning 2016-06-10 21:11:15 +02:00
Emil Segerås
c1dd7f8964 Plugged memory leak in TBFontEffect.
Render returned new buffer in data8 which was never freed.
TBFontGlyphData is just passing around pointers and doesn't own data.
2016-06-10 21:06:56 +02:00
michael tesch
1160242301 remove some cruft 2016-06-10 01:19:48 +02:00
michael tesch
7dc22d774b cleanup sdl port, move timer stuff into tb_system_sdl
update some configuration options so that tb can be configured
as a git submodule from an external CMakeLists.txt
2016-06-10 01:05:50 +02:00
michael tesch
256ba72708 fix typo in config variable 2016-06-09 22:52:52 +02:00
michael tesch
ee35214bef system implementation for sdl 2016-06-09 22:36:42 +02:00
michael tesch
a5a59f520d added TB_TARGET_CUSTOM to disable automatic target defines 2016-06-09 22:20:32 +02:00
michael tesch
f488593749 fix needs return value 2016-06-09 22:14:00 +02:00
michael tesch
a2cb4fc03e fix typo 2016-06-09 22:13:12 +02:00
michael tesch
6e64019368 more configurable from external project 2016-06-09 22:10:46 +02:00
michael tesch
6980aaa02c added config options for gl3 and gles renderers 2016-06-08 22:14:28 +02:00
michael tesch
c4d22be914 define for sdl2 clipboard 2016-06-07 21:25:36 +02:00
michael tesch
334334a366 check that GL renderer defines make sense 2016-06-07 21:24:10 +02:00
michael tesch
3ccd635824 Merge branch 'demo_sdl2' of github.com:tesch1/turbobadger into demo_sdl2 2016-06-07 21:18:31 +02:00
michael tesch
60111e2d9e minor GL3 & SDL cleanup 2016-06-07 21:18:23 +02:00
michael tesch
39c9984774 fixed continuous update by moving redraw into SDL_USEREVENT handling 2016-06-07 20:17:31 +02:00
Michael Tesch
ec03727f51 comment out debug stmts 2016-06-07 19:27:23 +02:00
michael tesch
d348ae154e Merge branch 'master' of github.com:fruxo/turbobadger into demo_sdl2 2016-06-05 02:19:59 +02:00
michael tesch
45b78a3e86 dont default to GL3 2016-06-05 02:18:39 +02:00