kernel/eka/include/dispchannel.inl
changeset 4 56f325a607ea
parent 0 a41df078684a
equal deleted inserted replaced
2:4122176ea935 4:56f325a607ea
   532 inline TInt RDisplayChannel::Version(TVersion& aVersion) 
   532 inline TInt RDisplayChannel::Version(TVersion& aVersion) 
   533 	{
   533 	{
   534 	return (DoControl(ECtrlVersion, &aVersion));
   534 	return (DoControl(ECtrlVersion, &aVersion));
   535 	}
   535 	}
   536 
   536 
       
   537 #ifdef _DEBUG
       
   538 /** Debug only function to allocate a shared chunk user buffer for testing.
       
   539 */
       
   540 inline TInt RDisplayChannel::CreateUserBuffer(TBufferFormat& aBufferFormat, RChunk& aChunk)
       
   541 	{
       
   542 	return (aChunk.SetReturnedHandle(DoControl(ECtrlCreateUserBuffer, &aBufferFormat)));
       
   543 	}
       
   544 #endif // _DEBUG
       
   545 
   537 /** Constructs a resolution setting.
   546 /** Constructs a resolution setting.
   538 
   547 
   539     @param aSize    The resolution size in pixels, in ERotationNormal rotation.
   548     @param aSize    The resolution size in pixels, in ERotationNormal rotation.
   540     @param aRotations    A bitwise combination of one or more TDisplayRotation
   549     @param aRotations    A bitwise combination of one or more TDisplayRotation
   541     values.
   550     values.