equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef R_GOOMMONITORSESSION_H |
19 #ifndef R_GOOMMONITORSESSION_H |
20 #define R_GOOMMONITORSESSION_H |
20 #define R_GOOMMONITORSESSION_H |
21 |
21 |
22 #include <e32std.h> |
22 #include <e32std.h> |
|
23 |
|
24 // Goom Events through Window Server |
|
25 #define KGoomMemoryLowEvent 0x10282DBF |
|
26 #define KGoomMemoryGoodEvent 0x20026790 |
23 |
27 |
24 /** |
28 /** |
25 * The maximum amount of memory that can be allocated without permission. |
29 * The maximum amount of memory that can be allocated without permission. |
26 */ |
30 */ |
27 const TInt KGOomMaxAllocationWithoutPermission = 1048576; |
31 const TInt KGOomMaxAllocationWithoutPermission = 1048576; |
172 |
176 |
173 /** |
177 /** |
174 * Notify the GOOM monitor that this application has finished allocating memory. |
178 * Notify the GOOM monitor that this application has finished allocating memory. |
175 */ |
179 */ |
176 IMPORT_C void MemoryAllocationsComplete(); |
180 IMPORT_C void MemoryAllocationsComplete(); |
|
181 |
|
182 /** |
|
183 * Request GOOM monitor to switch to HW rendering mnode |
|
184 * returns KErrNone if succeeds , else KErrNoMemory |
|
185 */ |
|
186 IMPORT_C TInt RequestHWRendering(); |
177 |
187 |
178 private://data |
188 private://data |
179 TInt iFlags; |
189 TInt iFlags; |
180 }; |
190 }; |
181 |
191 |