Home
Getting started
Components overview
Topics
Components
Classes
Tutorials and Examples
Code snippets
Support
OpenGLContextGroup.h
1
//##################################################################################################
2
//
3
// Ceetron Desktop Components
4
// Component: Visualization
5
//
6
// --------------------------------------------------------------------------------------------
7
// Copyright (C) 2011, Ceetron AS
8
// This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9
// not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10
// without the prior written permission of Ceetron AS.
11
//##################################################################################################
12
13
#pragma once
14
15
#include "CeeVisualization/Base.h"
16
#include "CeeVisualization/OpenGLInfo.h"
17
#include "CeeCore/RefCountedObject.h"
18
19
namespace
cvf
{
20
class
OpenGLContextGroup;
21
}
22
23
namespace
cee
{
24
namespace
vis {
25
26
27
//==================================================================================================
28
//
29
//
30
//
31
//==================================================================================================
32
class
CEE_VIS_EXPORT
OpenGLContextGroup
:
public
RefCountedObject
33
{
34
public
:
35
virtual
~
OpenGLContextGroup
();
36
37
size_t
contextCount()
const
;
38
OpenGLInfo
info()
const
;
39
40
public
:
41
cvf::OpenGLContextGroup* internal_cvfOpenGLContextGroup();
42
43
private
:
44
OpenGLContextGroup
(cvf::OpenGLContextGroup* cvfContextGroup);
45
46
CEE_BASE_F(
VisualizationComponent
);
47
CEE_PRIVATE_IMPL(
OpenGLContextGroup
);
48
CEE_DISALLOW_COPY_AND_ASSIGN(
OpenGLContextGroup
);
49
};
50
51
}
// namespace vis
52
}
// namespace cee
cvf
Definition:
LogEvent.h:19
cee
Namespace cee contains all functionality and structures under the Core component. ...
Definition:
AppComponent.cpp:26
cee::RefCountedObject
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition:
RefCountedObject.h:34
cee::vis::OpenGLInfo
Class containing OpenGL renderer and version information for an OpenGLContextGroup.
Definition:
OpenGLInfo.h:32
cee::vis::VisualizationComponent
Static class for initialization of the Visualization component.
Definition:
VisualizationComponent.h:39
cee::vis::OpenGLContextGroup
A context group associates OpenGLContext instances that share OpenGL resources such as shader objects...
Definition:
OpenGLContextGroup.h:32
CeeVisualization
OpenGLContextGroup.h
Updated: Fri Dec 17 2021 - Copyright © 2021 Ceetron AS