Hello. Here is my first attempt on splitting video_fb.mod from vbe.mod. The idea was to make framebuffer code work with render_target without knowing what the real video mode is and let video-card specific code bother with things like double buffering and modesetting. Two loader: linux and xnu have to pass framebuffer address to their payload this is however problematic because in case of double buffering framebuffer address may change. The only idea of clean interface I see would be a function like grub_video_get_framebuffer_info_and_fini which will terminate the video driver thus ensuring that video mode (including framebuffer address) won't change. Does anyone has a better idea?
-- Regards Vladimir 'phcoder' Serbinenko _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel