fbs/fontandbitmapserver/sfbs/patchableconstants.cpp
changeset 116 171fae344dd4
parent 36 01a6848ebfd7
--- a/fbs/fontandbitmapserver/sfbs/patchableconstants.cpp	Tue Jun 22 15:21:29 2010 +0300
+++ b/fbs/fontandbitmapserver/sfbs/patchableconstants.cpp	Fri Jul 16 11:45:55 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"
@@ -54,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)