mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
add DO_PIPELINING
This commit is contained in:
parent
33c59b176b
commit
c1f893ce30
@ -154,6 +154,18 @@
|
|||||||
// to enable it only for optimize levels 1 and 2.
|
// to enable it only for optimize levels 1 and 2.
|
||||||
#defer TRACK_IN_INTERPRETER $[<= $[OPTIMIZE], 2]
|
#defer TRACK_IN_INTERPRETER $[<= $[OPTIMIZE], 2]
|
||||||
|
|
||||||
|
// Do you want to compile in support for pipelining? This enables
|
||||||
|
// setting and accessing multiple different copies of frame-specific
|
||||||
|
// data stored in nodes, etc. At the moment, Panda cannot actually
|
||||||
|
// take advantage of this support to do anything useful, but
|
||||||
|
// eventually this will enable multi-stage pipelining of the render
|
||||||
|
// process, as well as potentially remote rendering using a
|
||||||
|
// distributed scene graph. For now, we enable this when building
|
||||||
|
// optimize 1 only, since turning this on does perform some additional
|
||||||
|
// sanity checks, but doesn't do anything else useful other than
|
||||||
|
// increase run-time overhead.
|
||||||
|
#define DO_PIPELINING $[<= $[OPTIMIZE], 1]
|
||||||
|
|
||||||
// Is NSPR installed, and where? This is the Netscape Portable
|
// Is NSPR installed, and where? This is the Netscape Portable
|
||||||
// Runtime library, downloadable as part of the Mozilla package from
|
// Runtime library, downloadable as part of the Mozilla package from
|
||||||
// mozilla.org. It provides portable threading and networking
|
// mozilla.org. It provides portable threading and networking
|
||||||
|
@ -31,9 +31,12 @@ $[cdefine HAVE_DINKUM]
|
|||||||
/* Define if we have Python installed. */
|
/* Define if we have Python installed. */
|
||||||
$[cdefine HAVE_PYTHON]
|
$[cdefine HAVE_PYTHON]
|
||||||
|
|
||||||
/* Define if we have want to track callbacks from within the show code. */
|
/* Define if we want to track callbacks from within the show code. */
|
||||||
$[cdefine TRACK_IN_INTERPRETER]
|
$[cdefine TRACK_IN_INTERPRETER]
|
||||||
|
|
||||||
|
/* Define if we want to compile in support for pipelining. */
|
||||||
|
$[cdefine DO_PIPELINING]
|
||||||
|
|
||||||
/* Define if we have RAD game tools, Miles Sound System installed. */
|
/* Define if we have RAD game tools, Miles Sound System installed. */
|
||||||
$[cdefine HAVE_RAD_MSS]
|
$[cdefine HAVE_RAD_MSS]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user