Panda3D
bufferResidencyTracker.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file bufferResidencyTracker.I
10  * @author drose
11  * @date 2006-03-16
12  */
13 
14 /**
15  *
16  */
17 INLINE BufferContextChain &BufferResidencyTracker::
18 get_inactive_nonresident() {
19  return _chains[S_inactive_nonresident];
20 }
21 
22 /**
23  *
24  */
25 INLINE BufferContextChain &BufferResidencyTracker::
26 get_active_nonresident() {
27  return _chains[S_active_nonresident];
28 }
29 
30 /**
31  *
32  */
33 INLINE BufferContextChain &BufferResidencyTracker::
34 get_inactive_resident() {
35  return _chains[S_inactive_resident];
36 }
37 
38 /**
39  *
40  */
41 INLINE BufferContextChain &BufferResidencyTracker::
42 get_active_resident() {
43  return _chains[S_active_resident];
44 }
This class maintains a linked list of BufferContexts that might be allocated on the graphics card in ...