Browse Source

pgraph: Remove obsolete PandaNodeChain class

Obsoleted by 6bc22d1822ab02b464057f76563de7230dd93cec
rdb 3 years ago
parent
commit
7ccf38a948

+ 0 - 2
panda/src/pgraph/CMakeLists.txt

@@ -66,7 +66,6 @@ set(P3PGRAPH_HEADERS
   occluderEffect.I occluderEffect.h
   occluderEffect.I occluderEffect.h
   occluderNode.I occluderNode.h
   occluderNode.I occluderNode.h
   pandaNode.I pandaNode.h
   pandaNode.I pandaNode.h
-  pandaNodeChain.I pandaNodeChain.h
   planeNode.I planeNode.h
   planeNode.I planeNode.h
   paramNodePath.I paramNodePath.h
   paramNodePath.I paramNodePath.h
   polylightEffect.I polylightEffect.h
   polylightEffect.I polylightEffect.h
@@ -169,7 +168,6 @@ set(P3PGRAPH_SOURCES
   occluderEffect.cxx
   occluderEffect.cxx
   occluderNode.cxx
   occluderNode.cxx
   pandaNode.cxx
   pandaNode.cxx
-  pandaNodeChain.cxx
   planeNode.cxx
   planeNode.cxx
   paramNodePath.cxx
   paramNodePath.cxx
   polylightEffect.cxx
   polylightEffect.cxx

+ 0 - 1
panda/src/pgraph/p3pgraph_composite3.cxx

@@ -21,7 +21,6 @@
 #include "occluderEffect.cxx"
 #include "occluderEffect.cxx"
 #include "occluderNode.cxx"
 #include "occluderNode.cxx"
 #include "pandaNode.cxx"
 #include "pandaNode.cxx"
-#include "pandaNodeChain.cxx"
 #include "paramNodePath.cxx"
 #include "paramNodePath.cxx"
 #include "planeNode.cxx"
 #include "planeNode.cxx"
 #include "polylightEffect.cxx"
 #include "polylightEffect.cxx"

+ 0 - 1
panda/src/pgraph/pandaNode.h

@@ -39,7 +39,6 @@
 #include "pnotify.h"
 #include "pnotify.h"
 #include "updateSeq.h"
 #include "updateSeq.h"
 #include "deletedChain.h"
 #include "deletedChain.h"
-#include "pandaNodeChain.h"
 #include "pStatCollector.h"
 #include "pStatCollector.h"
 #include "copyOnWriteObject.h"
 #include "copyOnWriteObject.h"
 #include "copyOnWritePointer.h"
 #include "copyOnWritePointer.h"

+ 0 - 31
panda/src/pgraph/pandaNodeChain.I

@@ -1,31 +0,0 @@
-/**
- * PANDA 3D SOFTWARE
- * Copyright (c) Carnegie Mellon University.  All rights reserved.
- *
- * All use of this software is subject to the terms of the revised BSD
- * license.  You should have received a copy of this license along
- * with this source code in a file named "LICENSE."
- *
- * @file pandaNodeChain.I
- * @author drose
- * @date 2006-04-21
- */
-
-/**
- *
- */
-INLINE PandaNodeChain::
-PandaNodeChain(const char *lock_name) :
-  LinkedListNode(true),  // This object is the root of a list of PandaNodes.
- _lock(lock_name)
-{
-}
-
-/**
- *
- */
-INLINE PandaNodeChain::
-~PandaNodeChain() {
-  _next = nullptr;
-  _prev = nullptr;
-}

+ 0 - 14
panda/src/pgraph/pandaNodeChain.cxx

@@ -1,14 +0,0 @@
-/**
- * PANDA 3D SOFTWARE
- * Copyright (c) Carnegie Mellon University.  All rights reserved.
- *
- * All use of this software is subject to the terms of the revised BSD
- * license.  You should have received a copy of this license along
- * with this source code in a file named "LICENSE."
- *
- * @file pandaNodeChain.cxx
- * @author drose
- * @date 2006-04-21
- */
-
-#include "pandaNodeChain.h"

+ 0 - 40
panda/src/pgraph/pandaNodeChain.h

@@ -1,40 +0,0 @@
-/**
- * PANDA 3D SOFTWARE
- * Copyright (c) Carnegie Mellon University.  All rights reserved.
- *
- * All use of this software is subject to the terms of the revised BSD
- * license.  You should have received a copy of this license along
- * with this source code in a file named "LICENSE."
- *
- * @file pandaNodeChain.h
- * @author drose
- * @date 2006-04-21
- */
-
-#ifndef PANDANODECHAIN_H
-#define PANDANODECHAIN_H
-
-#include "pandabase.h"
-#include "linkedListNode.h"
-#include "lightMutex.h"
-
-class PandaNode;
-
-/**
- * This class maintains a linked list of PandaNodes.  It's used to maintain a
- * list of PandaNodes whose _prev_transform is different from their _transform
- * (in pipeline stage 0).
- */
-class EXPCL_PANDA_PGRAPH PandaNodeChain : private LinkedListNode {
-public:
-  INLINE PandaNodeChain(const char *lock_name);
-  INLINE ~PandaNodeChain();
-
-  LightMutex _lock;
-
-  friend class PandaNode;
-};
-
-#include "pandaNodeChain.I"
-
-#endif