os/graphics/graphicsresourceservices/graphicsresourceimplementation/inc/sgcommon.h
First public contribution.
1 // Copyright (c) 2009 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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Graphics Resource - definitions common to both kernel side and user side
21 #include <sgresource/sgconst.h>
23 const TInt KSgMaxMetaDataSize = 512;
25 NONSHARABLE_CLASS(TSgImageMetaData)
28 #ifndef __KERNEL_MODE__
29 TSgImageMetaData(): iSizeInPixels(TSize::EUninitialized) {}
36 const TUint32 KSgUsageBitMask = 0xFFFF;
38 enum TSgResourceAttributes
40 ESgResourceAttrCpuCached = 0x00010000