|
From: Petr V. <VAN...@vc...> - 2002-07-22 21:07:56
|
On 22 Jul 02 at 23:00, Sven wrote:
> > Just put it into vc_screenbuf after register_framebuffer() returns, and
> > force redraw...
>
> mmm, will try.
>
> BTW, how can i force a redraw from pm3fb ?
>
> > If you'll override save_screen, and you'll put set_origin() into visual_init,
>
> NO, just tried, i got no more display, and the box hanged ...
Oops. fbcon_set_origin will call scrolldelta which ... So what about simple
origin = screenbuf in visual_init ? It should have no side effects.
> How i do it :
>
> i copy the data in pm3fb just after i first map the framebuffer. i hold it in a special
> array in pm3fb (for now).
>
> But then, maybe i should see if the location of the set_origin should be changed, maybe i could do it in vc_resize for now.
>
> BTW, in the first case, i will see the screen flashing shortly with the garbage i see now, and then work ok, isn't it ?
Yes.
> And i would need to handle resolution changes myself ?
Yes. Or you can copy data just line by line, instead of like one big chunk.
Yes, it is duplicating of vc_resize code.
Petr Vandrovec
|