--- a/fbs/fontandbitmapserver/sfbs/patchableconstants.cpp Thu Aug 19 11:11:18 2010 +0300
+++ b/fbs/fontandbitmapserver/sfbs/patchableconstants.cpp Tue Aug 31 16:31:06 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -32,8 +32,13 @@
equals the amount of physical RAM memory. As available hardware RAM sizes increase in the future,
it may become impossible to reserve a virtual address range that big, hence the need for an upper limit.
@note Default value: 64MB (0x04000000)
+@note Emulator value 2MB (0x0200000)
*/
+#ifdef __WINS__
+EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x00200000;
+#else
EXPORT_C extern const TInt KFbServSharedHeapMaxSize = 0x04000000;
+#endif
/**
@SYMPatchable
@@ -49,6 +54,19 @@
*/
EXPORT_C extern const TInt KFbServWritableDataPagingMode = 0x00;
+/**
+@SYMPatchable
+@publishedPartner
+@prototype
+
+This constant determines the maximum size of the GPU memory that the font and
+bitmap server's glyph atlas can use.
+The glyph atlas will store glyphs in this memory. When the glyph atlas reaches
+this limit, old glyphs will be evicted from the cache to make space for new glyphs.
+@note Default value: 0.5 MB (0x00080000).
+*/
+EXPORT_C extern const TInt KFbServGlyphAtlasCacheLimit = 0x00080000;
+
// Header files declaring these constants are included to confirm that the definition matches.
// They are included at the end because otherwise the ARM compiler refuses to initialise the values.
#if (__ARMCC_VERSION >= 310000)