author | Gareth Stockwell <gareth.stockwell@accenture.com> |
Fri, 22 Oct 2010 22:42:40 +0100 | |
branch | bug235_bringup_0 |
changeset 211 | 3804ba25b23f |
child 215 | 097e92a68d68 |
permissions | -rw-r--r-- |
211
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
1 |
// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
2 |
// All rights reserved. |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
3 |
// This component and the accompanying materials are made available |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
4 |
// under the terms of "Eclipse Public License v1.0" |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
5 |
// which accompanies this distribution, and is available |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
7 |
// |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
8 |
// Initial Contributors: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
9 |
// Nokia Corporation - initial contribution. |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
10 |
// |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
11 |
// Contributors: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
12 |
// |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
13 |
// Description: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
14 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
15 |
#ifndef __VGLINE_H__ |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
16 |
#define __VGLINE_H__ |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
17 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
18 |
#include "eglrendering.h" |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
19 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
20 |
class CVGLine : public CEGLRendering |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
21 |
{ |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
22 |
public: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
23 |
static CVGLine* NewL(RWindow& aWindow); |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
24 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
25 |
private: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
26 |
CVGLine(RWindow& aWindow); |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
27 |
void KhrSetup(); |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
28 |
void KhrPaint(); |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
29 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
30 |
private: |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
31 |
VGPaint iVGPaint; |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
32 |
VGPath iVGPath; |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
33 |
}; |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
34 |
|
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
35 |
#endif |
3804ba25b23f
Refactored eglbringuptest to separate EGL and VG code
Gareth Stockwell <gareth.stockwell@accenture.com>
parents:
diff
changeset
|
36 |