holdingarea/serialization/Graphics/KhronosAPIWrapper/inc/khronosapiwrapperdefs.h
branchbug235_bringup_0
changeset 20 d2d6724aef32
child 23 e70851cd9e5e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/holdingarea/serialization/Graphics/KhronosAPIWrapper/inc/khronosapiwrapperdefs.h	Thu Sep 16 09:43:14 2010 +0100
@@ -0,0 +1,34 @@
+// Copyright (c) 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"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// 
+
+#ifndef KHRONOSAPIWRAPPERDEFS_H
+#define KHRONOSAPIWRAPPERDEFS_H
+
+#include "VirtualVideoInterfaceConstants.h"
+
+const int KMaxStackSize( VVI_PARAMETERS_INPUT_MEMORY_SIZE );//16Mb
+
+//Checks for error after every request and logs it
+#define LOG_ERROR
+
+// tracing
+//#define PRINT_TRACES
+#ifdef PRINT_TRACES
+    #define TRACE(format, ...) printf(format, ##__VA_ARGS__)
+#else
+    #define TRACE(format, ...)
+#endif
+
+#endif