Except for bitmaps, charblit_v, and the ability to rotate/unrotate at runtime, the 
rotation code in CVS now works. I'll post a screenshot as soon as bitmaps work.

To keep it simple and fast, I am going to use the same code that will be used to 
translate bitmaps to a new driver's format to rotate the bitmaps when the screen is 
rotated. This way, no special blit needs to be made. (Except maybe a sideways 
scrollblit)

To facilitate this runtime bitmap rotating and translating between drivers' formats, 
each driver will be able to convert bitmaps to and from a common format (probably 
linear 32-bit color) and the new driver can convert that to its format. The only time 
this causes a problem is that when a low-bpp image is converted to a higher-bpp image 
it won't show an improvement. For most apps I wouldn't think it would matter too much 
as they would load images after converting bpp, but the apps will get an event so they 
can reload things if necessary. This will be especially important for themes.

--

Only wimps use tape backup: _real_ men just upload
their important stuff on ftp, and let the rest of the
world mirror it ;)
  -- Linus Torvalds


_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to