equal
deleted
inserted
replaced
|
1 // Copyright (c) 2010 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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Accenture - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 |
|
15 #ifndef __GLES1CUBE_H__ |
|
16 #define __GLES1CUBE_H__ |
|
17 |
|
18 #include "eglrendering.h" |
|
19 |
|
20 class CGLES1Cube : public CEGLRendering |
|
21 { |
|
22 public: |
|
23 static CEGLRendering* NewL(RWindow& aWindow); |
|
24 ~CGLES1Cube(); |
|
25 static const TDesC& Name(); |
|
26 |
|
27 private: |
|
28 CGLES1Cube(RWindow& aWindow); |
|
29 void KhrSetup(); |
|
30 void KhrPaint(); |
|
31 |
|
32 private: |
|
33 TReal iAngle; |
|
34 GLuint iCoordinateColorBuffer; |
|
35 GLuint iIndexBuffer; |
|
36 }; |
|
37 |
|
38 #endif |
|
39 |