1 // Copyright (c) 2016 OPEN CASCADE SAS
3 // This file is part of Open CASCADE Technology software library.
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, with special exception defined in the file
8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 // distribution for complete text of the license and disclaimer of any warranty.
11 // Alternatively, this file may be used under the terms of Open CASCADE
12 // commercial license or contractual agreement.
14 #ifndef _Graphic3d_DiagnosticInfo_HeaderFile
15 #define _Graphic3d_DiagnosticInfo_HeaderFile
17 //! Diagnostic info categories bit flags.
18 enum Graphic3d_DiagnosticInfo
20 Graphic3d_DiagnosticInfo_Device = 0x001, //!< device / vendor / version information
21 Graphic3d_DiagnosticInfo_FrameBuffer = 0x002, //!< framebuffer information
22 Graphic3d_DiagnosticInfo_Limits = 0x004, //!< hardware limits
23 Graphic3d_DiagnosticInfo_Memory = 0x008, //!< memory counters
24 Graphic3d_DiagnosticInfo_NativePlatform = 0x010, //!< native platform API information (e.g. WGL / GLX / EGL)
25 Graphic3d_DiagnosticInfo_Extensions = 0x020, //!< vendor extension list (usually very long)
27 Graphic3d_DiagnosticInfo_Short = Graphic3d_DiagnosticInfo_Device | Graphic3d_DiagnosticInfo_FrameBuffer | Graphic3d_DiagnosticInfo_Limits, //!< minimal information
28 Graphic3d_DiagnosticInfo_Basic = Graphic3d_DiagnosticInfo_Short | Graphic3d_DiagnosticInfo_NativePlatform | Graphic3d_DiagnosticInfo_Memory, //!< basic information, without extension list
29 Graphic3d_DiagnosticInfo_Complete = Graphic3d_DiagnosticInfo_Basic | Graphic3d_DiagnosticInfo_Extensions //!< complete information, including extension list
32 #endif // _Graphic3d_DiagnosticInfo_HeaderFile