comparison Framework/Scene2D/Internals/OpenGLInfoPanelRenderer.h @ 1325:be17fed8c7c5 broker

Added flag in InfoPanelSceneLayer to apply the scene rotation to the displayed image.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 24 Mar 2020 20:34:28 +0100
parents 8a0a62189f46
children
comparison
equal deleted inserted replaced
1324:4d8d642f7036 1325:be17fed8c7c5
34 private: 34 private:
35 OpenGL::IOpenGLContext& context_; 35 OpenGL::IOpenGLContext& context_;
36 OpenGLColorTextureProgram& program_; 36 OpenGLColorTextureProgram& program_;
37 std::unique_ptr<OpenGL::OpenGLTexture> texture_; 37 std::unique_ptr<OpenGL::OpenGLTexture> texture_;
38 BitmapAnchor anchor_; 38 BitmapAnchor anchor_;
39 bool applySceneRotation_;
39 40
40 void LoadTexture(const InfoPanelSceneLayer& layer); 41 void LoadTexture(const InfoPanelSceneLayer& layer);
41 42
42 public: 43 public:
43 OpenGLInfoPanelRenderer(OpenGL::IOpenGLContext& context, 44 OpenGLInfoPanelRenderer(OpenGL::IOpenGLContext& context,