From: <gb...@di...> - 2001-06-27 22:38:41
|
Hi, > depth/resolution switching infrastructure should be complete now; slot RO= M > contains all supported depths, default mode is stored in XPRAM upon start= up, > and added video_switch_to_mode() call (currently unimplemented in all dri= vers) That's nice, 0.9.1 is showing up ? ;-) - What are we supposed to return when we can't change resolution/depth (memory re-allocation error, failure in DGA vidmode switching, etc.) ? - In direct addressing, we used to determine the base address of the Mac framebuffer from the host address. Does your infrastructure permit dynamic relocation of the Mac frame buffer ? The latter problem can arise when we need to reallocate the frame buffer to fit the new video mode. However, this can be easily fixed by pre-allocating memory for the highest host video mode configuration, at least for the_buffer[]. That will work but that's not really clean even if only pages that are actually used reside in physical memory. Bye, Gwenol=E9. |