--- a/kernel/eka/include/dispchannel.inl Mon Dec 21 16:14:42 2009 +0000
+++ b/kernel/eka/include/dispchannel.inl Wed Dec 23 11:43:31 2009 +0000
@@ -534,6 +534,15 @@
return (DoControl(ECtrlVersion, &aVersion));
}
+#ifdef _DEBUG
+/** Debug only function to allocate a shared chunk user buffer for testing.
+*/
+inline TInt RDisplayChannel::CreateUserBuffer(TBufferFormat& aBufferFormat, RChunk& aChunk)
+ {
+ return (aChunk.SetReturnedHandle(DoControl(ECtrlCreateUserBuffer, &aBufferFormat)));
+ }
+#endif // _DEBUG
+
/** Constructs a resolution setting.
@param aSize The resolution size in pixels, in ERotationNormal rotation.