Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iphone/Maps/Classes/EAGLView.h')
-rw-r--r--iphone/Maps/Classes/EAGLView.h37
1 files changed, 3 insertions, 34 deletions
diff --git a/iphone/Maps/Classes/EAGLView.h b/iphone/Maps/Classes/EAGLView.h
index 04c7e16a6f..c8adc52353 100644
--- a/iphone/Maps/Classes/EAGLView.h
+++ b/iphone/Maps/Classes/EAGLView.h
@@ -1,52 +1,21 @@
#import <UIKit/UIKit.h>
-#include "std/shared_ptr.hpp"
-#include "indexer/map_style.hpp"
+#include "../../std/shared_ptr.hpp"
+#include "../../indexer/map_style.hpp"
+#include "../../drape/pointers.hpp"
-#ifndef USE_DRAPE
-
-class VideoTimer;
-class RenderPolicy;
-
-namespace iphone
-{
- class RenderContext;
- class RenderBuffer;
-}
-
-namespace graphics
-{
- namespace gl
- {
- class FrameBuffer;
- }
-}
-
-#else
-
-#include "drape/pointers.hpp"
namespace dp
{
class OGLContextFactory;
}
-#endif
-
// This class wraps the CAEAGLLayer from CoreAnimation into a convenient UIView subclass.
// The view content is basically an EAGL surface you render your OpenGL scene into.
// Note that setting the view non-opaque will only work if the EAGL surface has an alpha channel.
@interface EAGLView : UIView
{
-#ifndef USE_DRAPE
- VideoTimer * videoTimer;
- shared_ptr<iphone::RenderContext> renderContext;
- shared_ptr<graphics::gl::FrameBuffer> frameBuffer;
- shared_ptr<iphone::RenderBuffer> renderBuffer;
- RenderPolicy * renderPolicy;
-#else
dp::MasterPointer<dp::OGLContextFactory> m_factory;
-#endif
// Do not call onSize from layoutSubViews when real size wasn't changed.
// It's possible when we add/remove subviews (bookmark balloons) and it hangs the map without this check
CGRect lastViewSize;