uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorsession.h
changeset 53 5ba07f7750a9
parent 13 8f67d927ea57
--- a/uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorsession.h	Mon Aug 02 12:09:20 2010 +0300
+++ b/uiaccelerator_plat/alf_visual_api/inc/goommonitor/goommonitorsession.h	Thu Sep 02 13:30:25 2010 +0300
@@ -21,6 +21,10 @@
 
 #include <e32std.h>
 
+// Goom Events through Window Server
+#define KGoomMemoryLowEvent 0x10282DBF
+#define KGoomMemoryGoodEvent 0x20026790
+
 /**
  *  The maximum amount of memory that can be allocated without permission.
  */
@@ -174,6 +178,12 @@
     * Notify the GOOM monitor that this application has finished allocating memory.  
     */
     IMPORT_C void MemoryAllocationsComplete();
+    
+    /**
+     * Request GOOM monitor to switch to HW rendering mnode
+     * returns KErrNone if succeeds , else KErrNoMemory
+     */
+    IMPORT_C TInt RequestHWRendering();
 
 private://data 
     TInt iFlags;