First public contribution.
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
22 #ifndef TFLOWWINDOWOPENGL_H
23 #define TFLOWWINDOWOPENGL_H
29 #include "eglenvironment.h"
34 * Renders and draws OpenGL ES scenes to the screen.
37 class CTFlowWindowOpenGL : public CTWindow
40 virtual ~CTFlowWindowOpenGL();
41 static CTWindow* NewL(RWsSession &aWs,
42 const RWindowTreeNode &aParent,
43 const TPoint& aStartingPoint,
44 const TSize& aWindowSize);
46 virtual void RenderL();
49 CTFlowWindowOpenGL(const TPoint& aStartingPoint, const TSize& aWindowSize);
50 void ConstructL(RWsSession &aWs, const RWindowTreeNode &aParent);
51 void SetResolutionL(TInt aResolution);
54 CEglEnvironment* iEglEnvironment;
59 #endif // TFLOWWINDOWOPENGL_H