Hello everybody,

the other day I posted this message - obviously it was too large. I now do not 
know what exactly happened, so I gzipped the appendix and have another try. 
Sorry...

Especially for tablet PCs I needed the rotation feature in the i830 driver. 
Since I realized that other people showed interest in this feature, too, I 
herewith want to publish my changes. Maybe, someone will do some further 
testing and maybe someone will integrate the code into the official X pool.

Basically, I changed the i830 code according to the savage driver, introducing 
a new file (i830_shadow.c), which simply is a port from the savage 
equivalent. All changes made to existing files were marked with "hks".

I had to include the shadow framebuffer, which unfortunately led to disabling 
all 3d features - I simply do not know how to control them with regards to 
the shadowFB :-(

I added 2 options to the driver (ShadowFB - Boolean, Rotate - Anystring) to 
control the new features. ShadowFB simply activates the shadow framebuffer 
and was mainly thought for testing purposes.
Rotate expects "CW" (clockwise) or "CCW" (counterclockwise) to specify the 
direction of rotation.

Have a try,

Helmar

Attachment: i830rotate.tgz
Description: application/tgz

Reply via email to