Commit Graph

116 Commits

Author SHA1 Message Date
rdb 47496068d3 Show materials with only base color applied properly 2018-09-09 20:56:37 +02:00
rdb 886e1c2f16 general: fix many compilation warnings in GCC 8 2018-06-19 00:37:28 +02:00
Sam Edwards b2bfb31114 general: Remove `using std::*` from headers
Also remove most `using namespace std;` statements. The only one that remains is in py_panda.h.

Closes #350
Closes #335
2018-06-14 16:04:49 +02:00
Sam Edwards e2b4353800 general: Replace NULL (and 0 as pointer) with C++11 nullptr
Exceptions to this replacement are:
- .c files
- Headers included by a .c file
- stb_image.h
- dr_flac.h
- Strings
- Comments
2018-06-03 16:35:13 -06:00
rdb db5dd98d33 general: further warning fixes, use -Wno-unused-variable if NDEBUG
Disabling unused variable checking is needed in NDEBUG builds because of the heavy use of temporary variables in asserts.
2018-05-30 22:51:04 +02:00
rdb f3aaa12adc tinydisplay: support texture clear, gracefully handle 0x0 textures 2018-01-26 14:31:40 +01:00
rdb 48c811e112 cull: remove GeomMunger stored on CullableObject 2017-07-03 11:47:59 +02:00
rdb 68be3c6dfe More efficient light handling; sort lights by highest priority first 2017-05-15 16:59:44 +02:00
rdb 8c914a2855 Work towards ABI stability wrt allocation. Let MemoryHook take advantage of dlmalloc's internal bookkeeping. 2017-02-17 13:02:01 +01:00
rdb 4381412d23 Merge branch 'release/1.9.x' 2016-09-28 00:14:21 +02:00
rdb 2e9394eba7 Fix tinydisplay texture errors on shutdown 2016-09-27 22:38:03 +02:00
rdb 2eba4dea9b Change handling of unsupported render mode so that behaviour can be shared among renderers 2016-07-20 15:59:42 +02:00
rdb 18874fa151 Replace PN_int/uint types with stdint.h types, since all compilers we support have them.
Plus, we already had code that relied on them being available anyway.
2016-05-11 00:27:58 +02:00
rdb 2bf886fc5b Add premultiplied alpha mode, for convenience 2016-03-02 17:55:34 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb a359ef8a0b Clamp colors to 0-1 range in tinydisplay 2015-08-20 21:04:32 +02:00
Ed Swartz d1106953b2 Let user know why p3tinydisplay doesn't load texture 2015-06-02 13:20:01 -05:00
rdb 8a5452b0b6 Support sampler states in tinyGL renderer 2014-12-12 20:32:36 +01:00
rdb 95d85819b0 Separate out sampler state from texture, support sampler objects, support LOD min/max/bias 2014-12-12 15:58:45 +01:00
rdb 31a71c990d Fix issues with OS X 10.9 compilation, fix issues uncovered by clang 2014-10-12 18:45:37 +00:00
rdb 32a9e4d9ed Add support for sRGB framebuffers and blending to tinydisplay renderer. 2014-10-08 11:34:41 +00:00
rdb d792c93026 Overhaul stereo FBOs in Panda making it more reliable, fix MRT bugs, disable auto-GLSL profile choosing on AMD, add max_color_targets (not yet implemented) 2014-04-04 08:45:49 +00:00
David Rose f615e0beeb fix some stereo-fbo and cube map issues, introducing DisplayRegion::set_target_tex_page() 2013-12-06 23:45:40 +00:00
David Rose 3a75ebde9a DepthOffsetAttrib::min_value, max_value 2012-02-17 19:11:22 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose cd79af53fe dx9 shader support from zhao 2011-09-28 18:42:58 +00:00
David Rose 6872488839 stereo/multiview textures 2011-08-08 18:55:26 +00:00
David Rose 87ebb4f32c fix GeomVertexRewriter::set_row() problem with empty data; add GeomVertexReader/Writer::set_row_unsafe(); fix some compiler warnings 2011-06-17 18:57:04 +00:00
David Rose ee1f03abe7 move subprocess_window into new WindowHandle structure 2009-10-01 19:10:14 +00:00
David Rose d05d89a5e4 texture-minfilter etc. 2009-03-30 20:00:42 +00:00
David Rose 7af1350e4e pass GraphicsEngine through to constructors 2009-02-25 23:04:45 +00:00
David Rose 0f634524be X zoom window 2009-02-24 00:49:22 +00:00
David Rose e4709607c3 color mask 2009-02-21 19:42:44 +00:00
David Rose 25ce8c30e4 fix projected shadows 2009-02-13 20:06:06 +00:00
David Rose 6ded005ea4 fix for big-endian machines 2009-02-13 19:21:00 +00:00
David Rose 1a4a978b3a dump texture ram between frames, not during a frame 2009-02-04 16:30:28 +00:00
David Rose 1aa39d8088 rename TinyGL -> TinyPanda 2009-02-02 19:05:58 +00:00
David Rose df3fe996b9 add DisplayRegion::set_incomplete_render() 2009-01-26 20:40:48 +00:00
David Rose 27064ac98e support FT_default 2009-01-21 23:12:07 +00:00
David Rose 8d96071d4b support texture wrap modes 2009-01-21 22:38:42 +00:00
David Rose b27ecfeaf5 slightly simpler handing of ram images 2009-01-15 01:11:33 +00:00
David Rose b37a30fe63 add support for libsquish 2009-01-12 23:29:55 +00:00
David Rose a32fe74070 3-stage multitexture 2008-12-27 02:21:22 +00:00
David Rose a9825fe78f texgen 2008-12-27 01:42:50 +00:00
David Rose 28e082c7ea more tweaks to depth bits 2008-12-13 01:29:17 +00:00
David Rose 81fbb04fbf depth offset 2008-12-11 02:29:09 +00:00
David Rose 4d09989995 fix prepare_scene 2008-12-10 21:37:08 +00:00
David Rose 8417ef11a7 better multitex properties 2008-12-10 19:20:28 +00:00
David Rose 76f94669d0 multitexture tinydisplay 2008-12-10 02:28:13 +00:00
David Rose c7f9706553 fix crash with identity state 2008-11-24 21:42:22 +00:00