diff -r 2717213c588a -r 171fae344dd4 graphicshwdrivers/surfacemgr/inc/surface_hints.h --- a/graphicshwdrivers/surfacemgr/inc/surface_hints.h Tue Jun 22 15:21:29 2010 +0300 +++ b/graphicshwdrivers/surfacemgr/inc/surface_hints.h Fri Jul 16 11:45:55 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2007-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" @@ -47,6 +47,12 @@ */ const TInt KSurfaceProtection = 0x3; +/** Hint about the surface’s characteristics or properties, + For example if a surface can be persisted by the effects engine. + @see TSurfaceCharacteristics for possible values. +*/ +const TInt KSurfaceCharacteristics = 0x4; + /** Values used for the KSurfaceContent key */ enum TSurfaceContent @@ -120,6 +126,17 @@ }; +/** Values used for the KSurfaceCharacteristics key. The values are bitmasks and can be combined. +*/ +enum TSurfaceCharacteristics + { + /** + * Surface cannot be persisted once it has been closed by the creator + */ + ENotPersistable = 1, + }; + + class TSurfaceUpdate { /** Constructor. @@ -185,7 +202,7 @@ return ( iValue & 0x80000000 ) ? ETrue : EFalse; } -}; //namespace surfaceHints +} //namespace surfaceHints #endif //__SURFACE_HINTS_H__