Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Android
AndroidGlTaskContextFactory.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "IGlTaskContextFactory.h"
6
#include "AndroidSharedGlContext.h"
7
8
namespace
Eegeo
9
{
10
namespace
Android
11
{
12
class
IAndroidSharedGlContextUsageGuard;
13
14
class
AndroidGlTaskContextFactory
:
public
Concurrency::Tasks::IGlTaskContextFactory
15
{
16
public
:
17
AndroidGlTaskContextFactory
(EGLDisplay& display,
18
EGLContext& context,
19
EGLSurface& surface,
20
IAndroidSharedGlContextUsageGuard
& guard);
21
22
~
AndroidGlTaskContextFactory
();
23
24
Concurrency::Tasks::IGlTaskContext
* Build();
25
26
void
UpdateSurface(EGLSurface& surface);
27
private
:
28
EGLDisplay& m_display;
29
EGLContext& m_context;
30
EGLSurface& m_surface;
31
32
Android::AndroidSharedGlContext
* m_pAndroidSharedGlContext;
33
IAndroidSharedGlContextUsageGuard
& m_guard;
34
};
35
}
36
}
Generated on Sat Jun 10 2023 02:00:28 for eeGeo Platform SDK by
1.8.3.1