Equalizer
1.4.1
|
00001 00002 /* Copyright (c) 2010-2012, Stefan Eilemann <eile@eyescale.ch> 00003 * 00004 * This library is free software; you can redistribute it and/or modify it under 00005 * the terms of the GNU Lesser General Public License version 2.1 as published 00006 * by the Free Software Foundation. 00007 * 00008 * This library is distributed in the hope that it will be useful, but WITHOUT 00009 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00010 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00011 * details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public License 00014 * along with this library; if not, write to the Free Software Foundation, Inc., 00015 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00016 */ 00017 00018 #ifndef EQFABRIC_IATTRIBUTE_H 00019 #define EQFABRIC_IATTRIBUTE_H 00020 00021 #include <eq/fabric/api.h> 00022 #include <lunchbox/thread.h> 00023 #include <iostream> 00024 00025 namespace eq 00026 { 00027 namespace fabric 00028 { 00030 enum IAttribute 00031 { 00032 UNDEFINED = -0xfffffff, 00033 SOCKET = lunchbox::Thread::SOCKET, 00034 CORE = lunchbox::Thread::CORE, 00035 SOCKET_MAX = lunchbox::Thread::SOCKET_MAX, 00036 RELATIVE_TO_OBSERVER = -17, 00037 RELATIVE_TO_ORIGIN = -16, 00038 FIXED = -15, 00039 RGBA32F = -14, 00040 RGBA16F = -13, 00041 FBO = -12, 00042 LOCAL_SYNC = -11, 00043 DRAW_SYNC = -10, 00044 ASYNC = -9, 00045 PBUFFER = -8, 00046 WINDOW = -7, 00047 VERTICAL = -6, 00048 QUAD = -5, 00049 ANAGLYPH = -4, 00050 PASSIVE = -3, 00051 00055 NICEST = -2, 00056 AUTO = -1, 00057 OFF = 0, 00058 ON = 1, 00059 00063 FASTEST = ON, 00064 HORIZONTAL = ON 00065 }; 00066 00067 EQFABRIC_API std::ostream& operator << ( std::ostream& os, 00068 const IAttribute value ); 00069 } 00070 } 00071 00072 #endif // EQFABRIC_IATTRIBUTE_H