All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 
15  {
16  public:
17  AndroidGlTaskContextFactory(EGLDisplay& display,
18  EGLContext& context,
19  EGLSurface& surface,
21 
23 
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;
34  };
35  }
36 }