os/graphics/fbs/fontandbitmapserver/inc/FbsMessage.H
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2005-2010 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 //
    15 
    16 #ifndef __FBSMESSAGE_H__
    17 #define __FBSMESSAGE_H__
    18 
    19 /**
    20 @internalComponent
    21 */
    22 enum TFbsMessage
    23 	{
    24 	EFbsMessInit,
    25 	EFbsMessShutdown,
    26 	EFbsMessClose,
    27 	EFbsMessResourceCount,
    28 	EFbsMessNumTypefaces,
    29 	EFbsMessTypefaceSupport,
    30 	EFbsMessFontHeightInTwips,
    31 	EFbsMessFontHeightInPixels,
    32 	EFbsMessAddFontStoreFile,
    33 	EFbsMessInstallFontStoreFile,
    34 	EFbsMessRemoveFontStoreFile,
    35 	EFbsMessSetPixelHeight,
    36 	EFbsMessGetFontById,
    37 	EFbsMessFontDuplicate,
    38 	EFbsMessBitmapCreate,
    39 	EFbsMessBitmapResize,
    40 	EFbsMessBitmapDuplicate,
    41 	EFbsMessBitmapLoad,
    42 	EFbsMessDefaultAllocFail,
    43 	EFbsMessDefaultMark,
    44 	EFbsMessDefaultMarkEnd,
    45 	EFbsMessUserAllocFail,
    46 	EFbsMessUserMark,
    47 	EFbsMessUserMarkEnd,
    48 	EFbsMessHeapCheck,
    49 	EFbsMessRasterize,
    50 	EFbsMessFaceAttrib,
    51 	EFbsMessHasCharacter,
    52 	EFbsMessSetDefaultGlyphBitmapType,
    53 	EFbsMessGetDefaultGlyphBitmapType,
    54 	EFbsMessFontNameAlias,
    55 	EFbsMessBitmapCompress,
    56 	EFbsMessGetHeapSizes,
    57 	EFbsMessGetNearestFontToDesignHeightInTwips,
    58 	EFbsMessGetNearestFontToMaxHeightInTwips,
    59 	EFbsMessGetNearestFontToDesignHeightInPixels,
    60 	EFbsMessGetNearestFontToMaxHeightInPixels,
    61  	EFbsMessShapeText,
    62  	EFbsMessShapeDelete,
    63 	EFbsMessDefaultLanguageForMetrics,
    64 	EFbsMessSetTwipsHeight,
    65 	EFbsMessGetTwipsHeight,
    66 	EFbsCompress,
    67 	EFbsMessBitmapBgCompress,
    68 	EFbsUnused1,
    69 	EFbsSetSystemDefaultTypefaceName,
    70 	EFbsGetAllBitmapHandles,
    71 	EFbsMessUnused1, 	//Implementation removed
    72 	EFbsMessSetHeapFail,	//for memory testing only
    73 	EFbsMessHeapCount, //for memory testing only
    74 	EFbsMessSetHeapReset, //for memory testing only
    75 	EFbsMessSetHeapCheck, //for memory testing only
    76 	EFbsMessHeap, //for memory testing only
    77 	EFbsMessUnused2, //Implementation removed
    78 	EFbsMessBitmapClean, // replace a dirty bitmap with the clean one
    79 	EFbsMessBitmapLoadFast, // for loading bitmap from mbm or rsc file not opened by the client
    80 	EFbsMessBitmapNotifyDirty, // notify when any bitmap becomes dirty
    81 	EFbsMessBitmapCancelNotifyDirty, // cancel request for notification of any bitmap becoming dirty
    82 	EFbsMessRegisterLinkedTypeface, //Register linked typeface specification with rasterizer (PREQ2146)
    83 	EFbsMessFetchLinkedTypeface, //Retrieve linked typeface specification from rasterizer (PREQ2146)
    84 	EFbsMessSetDuplicateFail, //Test Only - cause font duplicate to fail, or reset this
    85 	EFbsMessUpdateLinkedTypeface, //Update an existing linked typeface specification with rasterizer; file valid after reboot
    86 	EFbsMessGetFontTable,
    87 	EFbsMessReleaseFontTable,
    88 	EFbsMessGetGlyphOutline,
    89 	EFbsMessReleaseGlyphOutline,
    90 	EFbsMessGetGlyphs, // Retrieve rasterised glyphs from glyph atlas and closes last glyph retrieved
    91 	EFbsMessNoOp, // No-op call; used to ensure that the RSgImage of the last glyph retrieved from glyph atlas has been closed
    92 	EFbsMessGetGlyphMetrics, // Retrieve metrics of multiple glyph codes in one message
    93 	EFbsMessAtlasFontCount, // (Debug-only) Retrieve the number of fonts with glyphs in the H/W Glyph cache
    94 	EFbsMessAtlasGlyphCount, // (Debug-only) Retrieve the number of glyphs (optionally, given a specific font) stored in the H/W Glyph cache
    95 	EFbsMessOogmNotification, // An action requested by the GOoM framework. Reduce or re-instate graphics memory usage.
    96 	EFbsMessGetGlyphCacheMetrics, // Retrieve the glyph-cache size, its maximum limit and whether the maximum is the reduced value used in OoGm situations.
    97 	// If you are adding new messages don't forget to check that the 
    98 	// security permissions are set correctly (KRanges & KElementsIndex in server.cpp)
    99 	};
   100 
   101 #endif // __FBSMESSAGE_H__