Equalizer
1.2.1
|
00001 00002 /* Copyright (c) 2010-2011, 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_ERROR_H 00019 #define EQFABRIC_ERROR_H 00020 00021 #include <co/error.h> 00022 00023 namespace eq 00024 { 00025 namespace fabric 00026 { 00027 using co::base::ERROR_NONE; 00028 00030 enum Error 00031 { 00032 ERROR_FBO_UNSUPPORTED = co::ERROR_CUSTOM, // 0x10000 00033 ERROR_FRAMEBUFFER_UNSUPPORTED, 00034 ERROR_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, 00035 ERROR_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, 00036 ERROR_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, 00037 ERROR_FRAMEBUFFER_INCOMPLETE_FORMATS, 00038 ERROR_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER, 00039 ERROR_FRAMEBUFFER_INCOMPLETE_READ_BUFFER, 00040 ERROR_FRAMEBUFFER_FULL_COLOR_TEXTURES, 00041 ERROR_FRAMEBUFFER_INITIALIZED, 00042 ERROR_CUDACONTEXT_DEVICE_NOTFOUND, 00043 ERROR_CUDACONTEXT_INIT_FAILED, 00044 ERROR_CUDACONTEXT_MISSING_SUPPORT, 00045 ERROR_WINDOWSYSTEM_UNKNOWN, 00046 ERROR_NODE_LAUNCH, 00047 ERROR_NODE_CONNECT, 00048 ERROR_PIPE_NODE_NOTRUNNING, 00049 ERROR_SYSTEMPIPE_PIXELFORMAT_NOTFOUND, 00050 ERROR_SYSTEMPIPE_CREATECONTEXT_FAILED, 00051 ERROR_SYSTEMPIPE_CREATEWINDOW_FAILED, 00052 ERROR_AGLPIPE_DISPLAYS_NOTFOUND, 00053 ERROR_AGLPIPE_DEVICE_NOTFOUND, 00054 ERROR_GLXPIPE_DEVICE_NOTFOUND, 00055 ERROR_GLXPIPE_GLX_NOTFOUND, 00056 ERROR_GLXPIPE_GLXEWINIT_FAILED, 00057 ERROR_WGL_CREATEAFFINITYDC_FAILED, 00058 ERROR_WGLPIPE_ENUMDISPLAYS_FAILED, 00059 ERROR_WGLPIPE_CREATEDC_FAILED, 00060 ERROR_WGLPIPE_ENUMGPUS_FAILED, 00061 ERROR_WGLPIPE_REGISTERCLASS_FAILED, 00062 ERROR_WGLPIPE_SETPF_FAILED, 00063 ERROR_WGLPIPE_WGLEWINIT_FAILED, 00064 ERROR_WINDOW_PIPE_NOTRUNNING, 00065 ERROR_WINDOW_PVP_INVALID, 00066 ERROR_SYSTEMWINDOW_PIXELFORMAT_NOTFOUND, 00067 ERROR_SYSTEMWINDOW_NO_PIXELFORMAT, 00068 ERROR_SYSTEMWINDOW_ARB_FLOAT_FB_REQUIRED, 00069 ERROR_AGLWINDOW_NO_CONTEXT, 00070 ERROR_AGLWINDOW_CREATECONTEXT_FAILED, 00071 ERROR_AGLWINDOW_CREATEPBUFFER_FAILED, 00072 ERROR_AGLWINDOW_SETPBUFFER_FAILED, 00073 ERROR_AGLWINDOW_CREATEWINDOW_FAILED, 00074 ERROR_AGLWINDOW_SETWINDOW_FAILED, 00075 ERROR_GLXWINDOW_NO_DRAWABLE, 00076 ERROR_GLXWINDOW_NO_DISPLAY, 00077 ERROR_GLXWINDOW_CREATECONTEXT_FAILED, 00078 ERROR_GLXWINDOW_CREATEWINDOW_FAILED, 00079 ERROR_GLXWINDOW_GLXQUERYVERSION_FAILED, 00080 ERROR_GLXWINDOW_GLX_1_3_REQUIRED, 00081 ERROR_GLXWINDOW_NO_FBCONFIG, 00082 ERROR_GLXWINDOW_NO_VISUAL, 00083 ERROR_GLXWINDOW_CREATEPBUFFER_FAILED, 00084 ERROR_GLXWINDOW_FBCONFIG_REQUIRED, 00085 ERROR_WGLWINDOW_NO_DRAWABLE, 00086 ERROR_WGLWINDOW_SETPIXELFORMAT_FAILED, 00087 ERROR_WGLWINDOW_REGISTERCLASS_FAILED, 00088 ERROR_WGLWINDOW_FULLSCREEN_FAILED, 00089 ERROR_WGLWINDOW_CREATEWINDOW_FAILED, 00090 ERROR_WGLWINDOW_ARB_PBUFFER_REQUIRED, 00091 ERROR_WGLWINDOW_CREATEPBUFFER_FAILED, 00092 ERROR_WGLWINDOW_SETAFFINITY_PF_FAILED, 00093 ERROR_WGLWINDOW_CHOOSE_PF_ARB_FAILED, 00094 ERROR_WGLWINDOW_CREATECONTEXT_FAILED, 00095 ERROR_CHANNEL_WINDOW_NOTRUNNING, 00096 00097 ERROR_CUSTOM = EQ_64KB, // 0x10000 00098 }; 00099 00101 inline std::ostream& operator << ( std::ostream& os, const Error& error) 00102 { os << co::base::Error( error ); return os; } 00103 } 00104 } 00105 #endif // EQFABRIC_ERROR_H