Equalizer  2.0.0
Parallel Rendering Framework
agl/pipe.h
1 
2 /* Copyright (c) 2009-2013, Stefan Eilemann <eile@equalizergraphics.com>
3  * 2009, Maxim Makhinya
4  *
5  * This library is free software; you can redistribute it and/or modify it under
6  * the terms of the GNU Lesser General Public License version 2.1 as published
7  * by the Free Software Foundation.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef EQ_AGL_PIPE_H
20 #define EQ_AGL_PIPE_H
21 
22 #include <eq/defines.h>
23 #ifdef AGL
24 
25 #include <eq/agl/types.h>
26 #include <eq/systemPipe.h> // base class
27 
28 namespace eq
29 {
30 namespace agl
31 {
38 class Pipe : public SystemPipe
39 {
40 public:
42  Pipe( eq::Pipe* parent );
43 
45  virtual ~Pipe();
46 
55  bool configInit() override;
56 
63  void configExit() override;
65 
67  CGDirectDisplayID getCGDisplayID() const { return _cgDisplayID; }
68 
69 private:
79  void _setCGDisplayID( CGDirectDisplayID id );
81 
83  CGDirectDisplayID _cgDisplayID;
84 };
85 }
86 }
87 #endif // AGL
88 #endif // EQ_AGL_PIPE_H
A Pipe represents a graphics card (GPU) on a Node.
Definition: pipe.h:50
Includes compile-time defines of Equalizer.
The Equalizer client library.
Definition: eq/agl/types.h:23