Commit Graph

96 Commits

Author SHA1 Message Date
Sam Edwards 4695557a5d general: Don't require BUILDING_* for static builds 2018-08-31 23:54:32 -06:00
rdb b836a60adb cull: remove unused variable declarations 2018-08-03 22:59:04 +02:00
rdb 668a093c26 gobj: try to fix some deadlocks modifying geometry while rendering
The correct locking order should be: the Geom's GeomVertexArrayData first, *then* the GeomPrimitive.
2018-08-03 20:45:29 +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 7790f8429d general: Fully qualify header references into the std namespace
Closes #341
2018-06-07 10:35:12 +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 e0245d2777 First step towards eliminating `using namespace std;` (#335) 2018-06-03 20:32:23 +02:00
Sam Edwards 9dd37e9dbc general: Add guards to ensure proper BUILDING_ macros defined
This is designed to sanity-check the buildsystem, ensuring that the
expected BUILDING_ macros are defined at the expected time. It
also helps catch cases where the wrong BUILDING_/EXPCL_ macros
are used.
2018-03-25 13:17:52 -06:00
frainfreeze f22c0cdd83 Add README.md files for various directories
Closes: #10
2017-10-31 19:20:24 +01:00
rdb 48c811e112 cull: remove GeomMunger stored on CullableObject 2017-07-03 11:47:59 +02:00
rdb edb83fe89a Various optimizations to reduce performance overhead of rendering 2017-02-21 02:20:06 +01:00
tobspr 0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb 9b4ce5ec0a Fix crash when culling compute nodes in state-sorted bin 2016-01-10 21:04:53 +01:00
rdb 08c29313b2 Reduce redundant state changes, add gl-fixed-vertex-attrib-locations 2015-12-22 20:22:24 +01:00
rdb db3ab953e4 Remove ppremake, genPyCode, and all hacks created to support them 2015-11-09 19:06:49 +01:00
rdb f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb 0ad0d4ec33 Further optimizations to the cull pipeline.
The only transform still stored in CullableObject is internal transform.

NB: I haven't tested my PipeOcclusionCullTraverser changes.  Please contact me if you encounter problems with it.
2015-01-22 16:22:16 +01:00
rdb af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
David Rose c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose dfe16c64f6 rename all Panda-built libraries to begin with libp3 or libpanda 2011-12-06 02:39:21 +00:00
David Rose 501470169f stdfloat_double 2011-10-10 05:25:10 +00:00
David Rose 9d0860fffd get_effective_incomplete_render() for cull too 2009-01-30 19:14:49 +00:00
David Rose 26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
David Rose d7e6603118 work-in-progress: asynchronous texture loads 2008-08-13 01:13:09 +00:00
David Rose fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Zachary Pavlov 220d33e006 okay, this is going to be a big commit. The basic idea here is to add transparent defines to allow for directory based dlls later. This will let us build tau again. ugggg 2007-07-20 23:02:51 +00:00
David Rose 3b528350bb DisplayRegion::make_cull_result_graph() 2007-06-15 16:54:30 +00:00
David Rose 68c9ef5207 don't prune nonresident geometry in cull--wait until draw 2007-06-07 21:45:33 +00:00
David Rose 39dc3d9c3e add allow-incomplete-render 2007-06-06 21:05:17 +00:00
David Rose 33a0c3af8e replacing CullBinOcclusionTest with PipeOcclusionCullTraverser, some linmath optimizations 2007-05-31 21:17:50 +00:00
David Rose d87cae471d more better pstats mem tracking 2007-05-10 14:40:52 +00:00
David Rose 686bff860f fix memory leak when rendering certain particle effects 2006-05-03 05:31:37 +00:00
David Rose 4a369a0536 per-displayregion tracking of cull, draw times 2006-04-28 00:05:43 +00:00
David Rose 9808294212 factor out more calls to Thread::get_current_thread() 2006-04-27 14:45:39 +00:00
David Rose ddd1046462 factor out Thread::get_current_thread() some more 2006-04-26 07:31:23 +00:00
David Rose ffc92f23c8 more factoring of Thread::get_current_thread 2006-04-25 16:55:19 +00:00
David Rose 18de188129 pre-compute GSG::_internal_transform 2006-04-10 22:14:43 +00:00
David Rose 9e986fce40 make PStats more thread-friendly 2006-04-09 20:17:26 +00:00
David Rose 85ba9e05b8 occlusion test 2006-04-06 23:22:03 +00:00
David Rose 5173168621 more pstats options with z-buffer 2006-03-29 23:37:46 +00:00
David Rose c0844239f1 initial rough pass at hierarchical z-buffer visibility. experimental. 2006-03-29 20:28:33 +00:00
Josh Yelon cfdd323a13 FBO changes 2006-03-29 05:02:16 +00:00
David Rose c8633086c3 remove comment 2006-03-24 22:59:55 +00:00
David Rose 36b51114a9 remove debug statement 2006-03-24 18:48:02 +00:00
David Rose 38dde80e5f isolate cull from pgraph 2006-03-24 01:01:34 +00:00
David Rose a38e063667 remove old scene graph code 2002-04-09 18:33:48 +00:00
David Rose b6d41dd8c8 rewrite cameras to use new lens interface 2001-12-06 02:07:37 +00:00
David Rose d78b81f540 more major rewrites for trivial performance gains 2001-08-09 19:34:41 +00:00
David Rose bf65f5baf7 work around compiler crashes 2001-08-05 19:23:24 +00:00
David Rose 4eba3be9bd completely remove NodeAttribute etc. 2001-08-04 01:53:52 +00:00