equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
30 This constant determines the maximum size of the shared heap in the font and bitmap server. |
30 This constant determines the maximum size of the shared heap in the font and bitmap server. |
31 Up to the value of the constant, the size of the virtual address range reserved for this heap |
31 Up to the value of the constant, the size of the virtual address range reserved for this heap |
32 equals the amount of physical RAM memory. As available hardware RAM sizes increase in the future, |
32 equals the amount of physical RAM memory. As available hardware RAM sizes increase in the future, |
33 it may become impossible to reserve a virtual address range that big, hence the need for an upper limit. |
33 it may become impossible to reserve a virtual address range that big, hence the need for an upper limit. |
34 @note Default value: 64MB (0x04000000) |
34 @note Default value: 64MB (0x04000000) |
35 @note Emulator value 2MB (0x0200000) |
|
36 */ |
35 */ |
37 #ifdef __WINS__ |
|
38 EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x00200000; |
|
39 #else |
|
40 EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x04000000; |
36 EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x04000000; |
41 #endif |
|
42 |
37 |
43 /** |
38 /** |
44 @SYMPatchable |
39 @SYMPatchable |
45 @internalTechnology |
40 @internalTechnology |
46 |
41 |
52 SYMBIAN_GRAPHICS_FBSERV_PAGE_BITMAP_DATA_AND_SHARED_HEAP_ONLY |
47 SYMBIAN_GRAPHICS_FBSERV_PAGE_BITMAP_DATA_AND_SHARED_HEAP_ONLY |
53 @note Default value: (0x00) This does not modify the writable data paging mode. |
48 @note Default value: (0x00) This does not modify the writable data paging mode. |
54 */ |
49 */ |
55 EXPORT_C extern const TInt KFbServWritableDataPagingMode = 0x00; |
50 EXPORT_C extern const TInt KFbServWritableDataPagingMode = 0x00; |
56 |
51 |
57 /** |
|
58 @SYMPatchable |
|
59 @publishedPartner |
|
60 @prototype |
|
61 |
|
62 This constant determines the maximum size of the GPU memory that the font and |
|
63 bitmap server's glyph atlas can use. |
|
64 The glyph atlas will store glyphs in this memory. When the glyph atlas reaches |
|
65 this limit, old glyphs will be evicted from the cache to make space for new glyphs. |
|
66 @note Default value: 0.5 MB (0x00080000). |
|
67 */ |
|
68 EXPORT_C extern const TInt KFbServGlyphAtlasCacheLimit = 0x00080000; |
|
69 |
|
70 // Header files declaring these constants are included to confirm that the definition matches. |
52 // Header files declaring these constants are included to confirm that the definition matches. |
71 // They are included at the end because otherwise the ARM compiler refuses to initialise the values. |
53 // They are included at the end because otherwise the ARM compiler refuses to initialise the values. |
72 #if (__ARMCC_VERSION >= 310000) |
54 #if (__ARMCC_VERSION >= 310000) |
73 //# include "SERVER.H" // Commented out to prevent warning dllexport/dllimport conflict |
55 //# include "SERVER.H" // Commented out to prevent warning dllexport/dllimport conflict |
74 #else |
56 #else |