Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIBitmapPlane_FBO.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#if !defined GUIBITMAPLANE_FBO__H_
11#define GUIBITMAPLANE_FBO__H_
12
13#include "GUIBitmapPlane_GL.h"
14
15
20{
21 friend class CGfxWrapOGLES2;
22 friend class CGfxWrapOGL;
23
24public:
29
30protected:
37 CGUIBitmapPlane_FBO(GUIBitmapPlaneID_t uiNewBitmapID, const CGUIObject& rkParentObject, eC_Value vWidth, eC_Value vHeight);
38 virtual ~CGUIBitmapPlane_FBO();
39
40 virtual void CreateRenderSurface();
41 virtual void DeleteRenderSurface();
42
43 virtual eC_Bool DrawToBitmap();
44 virtual eC_Bool DrawToScreen();
45
46private:
47 eC_UInt m_uiFBO;
48};
49
50#endif //#if !defined GUIBITMAPLANE_FBO__H_
The BitmapPlane Class for OpenGL(ES) with framebuffer object (FBO) support.
Definition: GUIBitmapPlane_FBO.h:20
virtual void CreateRenderSurface()
Inits the Texture Object by actually allocating memory for it.
virtual eC_Bool DrawToBitmap()
CGUIBitmapPlane_FBO(GUIBitmapPlaneID_t uiNewBitmapID, const CGUIObject &rkParentObject, eC_Value vWidth, eC_Value vHeight)
virtual eC_Bool DrawToScreen()
eC_UInt GetRenderSurface()
virtual void DeleteRenderSurface()
Called by the framework to allow derived classes to free memory allocated by the associated render su...
The BitmapPlane Class for GL with pseudo offscreen rendering.
Definition: GUIBitmapPlane_GL.h:21
This is the Guiliani base class all controls are derived from.
Definition: GUIObject.h:79
OpenGL ES 2.x graphics wrapper implementation with FBO support.
Definition: GfxWrapOGLES2.h:21
OpenGL (non-'OpenGL-ES') graphic wrapper.
Definition: GfxWrapOGL.h:17