00001 00002 /* Copyright (c) 2009, Stefan Eilemann <eile@equalizergraphics.com> 00003 * , Makhinya Maxim 00004 * 00005 * This library is free software; you can redistribute it and/or modify it under 00006 * the terms of the GNU Lesser General Public License version 2.1 as published 00007 * by the Free Software Foundation. 00008 * 00009 * This library is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00012 * details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public License 00015 * along with this library; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef EQ_OS_PIPE_WGL_H 00020 #define EQ_OS_PIPE_WGL_H 00021 00022 #include <eq/client/osPipe.h> // base class 00023 00024 namespace eq 00025 { 00027 class EQ_EXPORT WGLPipe : public OSPipe 00028 { 00029 public: 00030 WGLPipe( Pipe* parent ); 00031 virtual ~WGLPipe( ); 00032 00040 virtual bool configInit( ); 00041 00047 virtual void configExit( ); 00049 00061 bool createWGLAffinityDC( HDC& affinityDC ); 00062 00070 HDC createWGLDisplayDC(); 00071 00072 private: 00073 00074 void _configInitWGLEW(); 00075 00076 bool _getGPUHandle( HGPUNV& handle ); 00077 00078 union // placeholder for binary-compatible changes 00079 { 00080 char dummy[64]; 00081 }; 00082 }; 00083 } 00084 00085 #endif // EQ_OS_PIPE_WGL_H
0.9 by
1.5.8