1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00
Files
occt/src/Graphic3d/Graphic3d_DiagnosticInfo.hxx
kgv 26d9c83516 0027813: Visualization - add method V3d_View::DiagnosticInformation() similar to vglinfo command
New method V3d_View::DiagnosticInformation() has been introduced
providing the access to low-level OpenGL context information
for diagnostic automated reports or displaying in application About System.
2016-09-01 15:05:10 +03:00

33 lines
1.9 KiB
C++

// Copyright (c) 2016 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
#ifndef _Graphic3d_DiagnosticInfo_HeaderFile
#define _Graphic3d_DiagnosticInfo_HeaderFile
//! Diagnostic info categories bit flags.
enum Graphic3d_DiagnosticInfo
{
Graphic3d_DiagnosticInfo_Device = 0x001, //!< device / vendor / version information
Graphic3d_DiagnosticInfo_FrameBuffer = 0x002, //!< framebuffer information
Graphic3d_DiagnosticInfo_Limits = 0x004, //!< hardware limits
Graphic3d_DiagnosticInfo_Memory = 0x008, //!< memory counters
Graphic3d_DiagnosticInfo_NativePlatform = 0x010, //!< native platform API information (e.g. WGL / GLX / EGL)
Graphic3d_DiagnosticInfo_Extensions = 0x020, //!< vendor extension list (usually very long)
// groups
Graphic3d_DiagnosticInfo_Short = Graphic3d_DiagnosticInfo_Device | Graphic3d_DiagnosticInfo_FrameBuffer | Graphic3d_DiagnosticInfo_Limits, //!< minimal information
Graphic3d_DiagnosticInfo_Basic = Graphic3d_DiagnosticInfo_Short | Graphic3d_DiagnosticInfo_NativePlatform | Graphic3d_DiagnosticInfo_Memory, //!< basic information, without extension list
Graphic3d_DiagnosticInfo_Complete = Graphic3d_DiagnosticInfo_Basic | Graphic3d_DiagnosticInfo_Extensions //!< complete information, including extension list
};
#endif // _Graphic3d_DiagnosticInfo_HeaderFile