|
1 // Copyright (c) 2007-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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // directgdiadapter.dll DirectGDI Accelerated and Unified Rendering adaptation. / |
|
15 // This dll will provide device dependent API set. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedPartner |
|
22 @prototype |
|
23 */ |
|
24 |
|
25 TARGET directgdiadapter_vg.dll |
|
26 TARGETTYPE dll |
|
27 CAPABILITY All -Tcb |
|
28 UID 0x1000008D 0x102858E9 |
|
29 VENDORID 0x70000001 |
|
30 LINKAS directgdiadapter.dll |
|
31 NOEXPORTLIBRARY |
|
32 |
|
33 USERINCLUDE ../hwsrc |
|
34 USERINCLUDE ../cmnsrc |
|
35 USERINCLUDE ../../directgdiinterface/inc |
|
36 |
|
37 OS_LAYER_SYSTEMINCLUDE_SYMBIAN |
|
38 |
|
39 SOURCEPATH ../hwsrc |
|
40 SOURCE directgdidriverimpl.cpp |
|
41 SOURCE directgdidriverinternal.cpp |
|
42 SOURCE directgdidriverprocessstate.cpp |
|
43 SOURCE directgdiimagetargetimpl.cpp |
|
44 SOURCE directgdiimagesourceimpl.cpp |
|
45 SOURCE vgengine.cpp |
|
46 SOURCE vgimagecache.cpp |
|
47 SOURCE glyphimagecache.cpp |
|
48 SOURCE glyphlutab.cpp |
|
49 SOURCE confighelper.cpp |
|
50 SOURCE clippingregionmanager.cpp |
|
51 |
|
52 SOURCEPATH ../cmnsrc |
|
53 SOURCE directgdiimageref.cpp |
|
54 SOURCE directgdidrawableref.cpp |
|
55 |
|
56 LIBRARY euser.lib |
|
57 LIBRARY estor.lib |
|
58 LIBRARY gdi.lib |
|
59 LIBRARY libOpenVG.lib |
|
60 LIBRARY libOpenVGU.lib |
|
61 LIBRARY libEGL.lib |
|
62 LIBRARY fbscli.lib |
|
63 |
|
64 LIBRARY graphicsresource.lib |
|
65 |
|
66 #ifdef WINS |
|
67 DEFFILE /epoc32/include/graphics/def/bwins/directgdiadapter.def |
|
68 #else |
|
69 DEFFILE /epoc32/include/graphics/def/eabi/directgdiadapter.def |
|
70 #endif |
|
71 |
|
72 UNPAGED |
|
73 |
|
74 #ifdef WINS |
|
75 LIBRARY ewsd.lib |
|
76 #else |
|
77 EPOCALLOWDLLDATA |
|
78 #endif |
|
79 |
|
80 //The default maximum size in bytes for image cache store, which caches a VGImage for each |
|
81 //read-only CFbsBitmap used. |
|
82 MACRO KDirectGdiAdapterDefaultMaxImageCacheSize=0x00000000 |
|
83 //The default maximum cache size in bytes for Glyph Images. |
|
84 //If Glyph Storage exceeds this value, the least useable tree will be deleted. |
|
85 MACRO KDirectGdiAdapterDefaultMaxGlyphImageCacheSize=0x0010000 |
|
86 |
|
87 //Enable MACRO below to enable extra logging from DirectGDI, e.g. config matching with EGL |
|
88 //MACRO _DEBUG_DIRECTGDI |
|
89 |
|
90 |
|
91 // Enable MACRO below to draw glyphs without stenciling (uses VG_IMAGE_MODE_MULTIPLY). |
|
92 // Potential performance improvement, at cost of memory. |
|
93 //MACRO DRAWGLYPH_MULTIPLY_MODE |
|
94 |
|
95 // Buffers all DrawGlyph commands and renders them when EndDrawGlyph() is called, allowing for better |
|
96 // reuse of the glyph-cache, but requires more memory for buffering them. |
|
97 //MACRO DRAWGLYPH_BUFFERED |
|
98 |
|
99 SMPSAFE |