uiacceltk/hitchcock/CommonInc/uiacceltkdomaincrkeys.h
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   UIAccelTK domain Central Repository keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef UIACCELERATORTOOLKITDOMAINCRKEYS_H
       
    22 #define UIACCELERATORTOOLKITDOMAINCRKEYS_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32std.h>
       
    26 
       
    27 /** UIAccelTK Settings API */
       
    28 /** Provides access to the UI accelerator toolkit settings */
       
    29 const TUid KCRUidUIAccelTK = {0x10283344};
       
    30 
       
    31 /**
       
    32  * Key for default framerate (frames per second).
       
    33  * Possible values: 0 - 999999 fps
       
    34  */
       
    35 const TUint32 KUIAccelTKDefaultFrameRate = 0x00000000;
       
    36 
       
    37 /**
       
    38  * Key for maximum CPU usage for alfredserver.exe in precentage.
       
    39  * Possible values: 0 - 100 % 
       
    40  */	
       
    41 const TUint32 KUIAccelTKMaxCpuUsage = 0x00000001;
       
    42 
       
    43 /**
       
    44  * Key for used renderer. See huirenderer.h for more details.
       
    45  * Possible values: 
       
    46  * 0 = Automatic selection
       
    47  * 1 = Symbian bitgdi 
       
    48  * 2 = OpenVG 1.0 (Not implemented)
       
    49  * 3 = OpenGL ES 1.0 
       
    50  * 4 = OpenGL ES 1.1
       
    51  */	
       
    52 const TUint32 KUIAccelTKRenderer = 0x00000002;
       
    53 
       
    54 /**
       
    55  * Key for maximum cache size (in kilobytes) allocated for resources.
       
    56  * Possible values: 0 - 999999 KB (0 = no limit)
       
    57  */	
       
    58 const TUint32 KUIAccelTKMaxResourceCache = 0x00000003;
       
    59 
       
    60 /**
       
    61  * Key for effect complexity.
       
    62  * Possible values: 1 - 10 (1 = simpliest, 10 = most complex) 
       
    63  *
       
    64  * The lowest 8 bits (decimal 0-255) are reserved for the complexity factor.
       
    65  * The rest are for RnD purposes:
       
    66  * Flag     Purpose
       
    67  * 0x0100   If set, the dirty regoins will be drawn. Not set by default.
       
    68  * 0x0200   If set, draws outline to all visuals
       
    69  * 0x0400   If set, draws outline to the visuals, whose EAlfVisualFlagEnableDebugMode flag is set
       
    70  * 0x0800   If set, enables memory usage calculation by textures. It writes info messages  
       
    71  *          describing memory consumption and total number of textures along with average bit depth
       
    72  */
       
    73 const TUint32 KUIAccelTKEffectsComplexityFactor = 0x00000004;
       
    74 
       
    75 /**
       
    76  * Key for setting up the HW driver.
       
    77  * Possible values: TBD 
       
    78  *
       
    79  * The lowest bit defines Antialising.
       
    80  * 0 = antialiasing off (fast rendering)
       
    81  * 1 = antialiasing on (multisampling etc.)
       
    82  */
       
    83 const TUint32 KUIAccelTKHWConfigurationFlags = 0x00000005;
       
    84 
       
    85 #endif      // UIACCELERATORTOOLKITDOMAINCRKEYS_H
       
    86 
       
    87 // End of File