author | William Roberts <williamr@symbian.org> |
Wed, 21 Apr 2010 16:01:50 +0100 | |
changeset 47 | bb62470f88ca |
permissions | -rw-r--r-- |
47
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
1 |
/* |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
2 |
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
3 |
* All rights reserved. |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
4 |
* This component and the accompanying materials are made available |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
5 |
* under the terms of "Eclipse Public License v1.0" |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
6 |
* which accompanies this distribution, and is available |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
8 |
* |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
9 |
* Initial Contributors: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
10 |
* Nokia Corporation - initial contribution. |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
11 |
* |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
12 |
* Contributors: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
13 |
* |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
14 |
* Description: CVGIGraphicsInterface class. |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
15 |
* |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
16 |
*/ |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
17 |
|
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
18 |
#ifndef VGIGRAPHICSINTERFACE_H |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
19 |
#define VGIGRAPHICSINTERFACE_H |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
20 |
|
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
21 |
#include <e32base.h> |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
22 |
#include <e32std.h> |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
23 |
#include <fbs.h> |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
24 |
#include "MVGImageBinder.h" |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
25 |
|
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
26 |
NONSHARABLE_CLASS (CVGIGraphicsInterface) : public CBase, public MVGImageBinder |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
27 |
{ |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
28 |
public: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
29 |
CVGIGraphicsInterface(); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
30 |
~CVGIGraphicsInterface(); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
31 |
public: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
32 |
void InitializeL(const TSize aSurfaceSize); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
33 |
void CopyBitmapL(CFbsBitmap* aPixMap, CFbsBitmap* aMask); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
34 |
public: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
35 |
TInt BindClientBuffer(TUint aBuffer); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
36 |
TInt UnBindClientBuffer(); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
37 |
private: |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
38 |
void Terminate(); |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
39 |
}; |
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
40 |
|
bb62470f88ca
Add NVGRenderStage code, and reapply associated changes to epoc.ini and wsini.ini
William Roberts <williamr@symbian.org>
parents:
diff
changeset
|
41 |
#endif |