152 Commits

Author SHA1 Message Date
rdb
410049fd4b Improvements for ShaderGenerator-based programs:
* Disable state munger, which isn't needed
 * Reflect updates to TextureStage properties (Fixes #178)
 * Also respect combine mode and rgb scale changes
 * Allow rehashing and clearing generated shader cache

State munger is now disabled whenever any shader is applied.  Panda assumes that any custom shader will apply color scale by itself.
2017-10-18 11:16:29 +02:00
rdb
6f8b379bda Big patch full of performance improvements
This particularly benefits applications with a lot of nodes.
2017-04-03 01:41:23 +02:00
rdb
82ab126ea7 Add support for glLogicOp via LogicOpAttrib / NodePath::set_logic_op 2016-03-25 17:33:30 +01:00
tobspr
0fcfb8e372 New file headers, new comment style 2016-02-17 17:47:48 +01:00
rdb
6eb460c359 Add ability to cache compiled GLSL shaders, remove unused ShaderUtilization 2016-01-13 19:58:11 +01:00
rdb
f33e450823 A lot of performance changes, particularly wrt dcasts and state management 2015-07-27 16:32:57 +02:00
rdb
7a6aa7bfae Implement ParamNodePath; fix circular include issue in shaderInput.h 2015-02-25 01:25:19 +01:00
rdb
a6cf0960fa Remove EventStorePandaNode, it is no longer necessary
(since PandaNode now directly inherits from TypedWritableReferenceCount)
2015-01-24 19:50:14 +01:00
rdb
af15797a25 Many, many performance optimizations and enhancements 2015-01-07 19:30:01 +01:00
rdb
5e5a04031f Remove old decal system to simplify cull/draw process a bit more 2015-01-02 15:26:47 +01:00
rdb
6d6a4398c6 Change max vertices to 65534 to avoid conflict with strip cut index 2014-10-27 13:25:38 +00:00
rdb
1b129d905d lod config vars should be defined in pgraphnodes, not pgraph 2013-08-27 21:37:10 +00:00
rdb
29871ed63a fix crash on android 2013-01-13 14:49:30 +00:00
David Rose
3af8da3bcd loader.saveModel(), EggToObjConverter, etc. 2012-12-20 00:09:14 +00:00
David Rose
c5c21a566a UnalignedLVecBase etc, remove lerp etc, moving towards Eigen on win32 2011-12-18 16:30:31 +00:00
David Rose
5588210e22 set some config variables to suitable defaults for threading 2011-09-28 19:52:58 +00:00
David Rose
0687324183 fix memory leak 2011-09-09 00:14:17 +00:00
David Rose
007b7d3f9e tracking down memory leaks 2011-09-08 02:28:14 +00:00
David Rose
229cf67ae5 Finishing migration of RenderState and RenderAttrib to SimpleHashMap and garbage_collect() models, working towards threaded pipelining 2011-09-04 15:47:45 +00:00
David Rose
220ba658a0 new, experimental TransformState seems to work better for multithreading 2011-09-04 02:52:41 +00:00
David Rose
c3d8f81581 progress on multithreaded Panda 2011-09-04 00:11:57 +00:00
rdb
a003a73c3f Add default-antialias-enable configuration variable 2011-03-31 09:16:36 +00:00
David Rose
44375f019d explicit occlusion culling support from community member teedee, with additional enhancements by drwr 2011-03-18 01:56:09 +00:00
David Rose
31fd59476a migrate UvScrollNode -> pgraphnodes 2010-04-07 22:02:31 +00:00
David Rose
fd305329c7 PortalNode contributions by Erik Pojar 2009-09-28 11:51:01 +00:00
Zachary Pavlov
44bcbe3de6 somehow missed this 2009-07-02 15:00:55 +00:00
David Rose
f1f496cc29 move lodNodes and sceneGraphAnalyzer to pgraphnodes, in an attempt to reduce size of pgraph some more 2009-06-11 02:37:19 +00:00
rdb
4e067a74c1 Fix couple of circular dependencies, eliminate ShaderGeneratorBase 2009-06-02 09:57:33 +00:00
David Rose
a3db8b63df hew a little closer to panda conventions 2009-06-02 06:06:41 +00:00
rdb
4271960b92 Add config var "show-portal-debug" to allow turning off the debug lines 2009-05-21 13:56:24 +00:00
David Rose
0c90c36fd7 new callback system 2009-03-14 19:31:37 +00:00
David Rose
2ca487c417 uniquify-transforms 2009-03-11 00:21:23 +00:00
David Rose
e41d03482f fix TransformState leak 2009-03-11 00:21:01 +00:00
David Rose
0798221a5b fix flashing-white lod fades 2008-12-19 00:04:06 +00:00
David Rose
26754b86ca merge dev_slots_2008: slot-based RenderState implementation 2008-11-19 01:21:44 +00:00
David Rose
075710bced create pgraphnodes directory; move some things there from pgraph 2008-11-06 00:06:39 +00:00
David Rose
621b831913 allow-live-flatten 2008-10-02 23:39:51 +00:00
David Rose
d71d7a0fdb avoid async texload race condition 2008-09-11 01:02:11 +00:00
David Rose
09dc4e3b84 add async-load-delay 2008-08-22 23:43:05 +00:00
David Rose
311273c22f less flickery lod fading 2008-08-13 06:22:58 +00:00
David Rose
d7e6603118 work-in-progress: asynchronous texture loads 2008-08-13 01:13:09 +00:00
David Rose
8537bd7320 ScissorAttrib, ScissorEffect 2008-07-31 01:53:12 +00:00
David Rose
fb9c56432a we are now using the modified BSD license 2008-05-28 18:37:20 +00:00
Josh Yelon
da29b5e02f Adding more code for shader generator and image postprocessing 2008-02-12 21:54:44 +00:00
Josh Yelon
005bc25282 Added light ramps and gloss maps 2008-02-04 22:49:48 +00:00
Josh Yelon
d0aac98dac SceneGraphReducer needs to support new ColorAttrib semantics (not quite finished yet) 2008-01-25 03:35:58 +00:00
David Rose
b9b1e78399 flatten optimization; also SceneGraphReducer::make_compatible_format() 2007-12-19 20:25:53 +00:00
David Rose
e11487f81f add preserve-geom-nodes, flatten-geoms 2007-11-30 03:16:06 +00:00
David Rose
d7bdfe5d04 register FadeLODNode 2007-06-25 19:07:32 +00:00
David Rose
8ce0e1070d add default-lod-type 2007-06-08 16:50:27 +00:00