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