Changeset 42ec919 in mainline for uspace/srv/console/gcons.c


Ignore:
Timestamp:
2009-01-11T21:03:12Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bda24ee7
Parents:
4a62ec9
Message:

Viewport invalidation. Makes delta-redraw optimization work when returning from kcon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/gcons.c

    r4a62ec9 r42ec919  
    8484        async_msg_1(fbphone, FB_VIEWPORT_SWITCH, vp);
    8585}
     86
     87static void vp_invalidate(int vp)
     88{
     89        async_msg_1(fbphone, FB_VIEWPORT_INVALIDATE, vp);
     90}
     91
    8692
    8793/** Create view port */
     
    158164        redraw_state(consnum);
    159165
     166        vp_invalidate(console_vp);
    160167        vp_switch(console_vp);
    161168}
     
    356363        for (i = 0; i < CONSOLE_COUNT; i++)
    357364                redraw_state(i);
     365        vp_invalidate(console_vp);
    358366        vp_switch(console_vp);
    359367}
Note: See TracChangeset for help on using the changeset viewer.