[Bug 192452] vt_vga very slow since r269471

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 2 17:47:01 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192452

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Triage                |Issue Resolved
         Resolution|---                         |FIXED

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
Fixed by r270322
http://svnweb.freebsd.org/base?view=revision&revision=270322

vt(4): Add new vd_bitblt_text_t callback, and implement it for vt_vga

Compared to the deprecated vd_bitbltchr_t callback, vd_bitblt_text_t
receives:
    o  the whole text buffer
    o  the dirty area
    o  the mouse cursor (map, position, colors)

This allows the backend to perform optimization on how to draw things.
The goal is to remove vd_bitbltchr_t and vd_putchar_t, once all driver
are converted (only vt_vga is included in this commit).

In vt_vga, this allows to draw the text and the cursor in one pass,
without ever reading from video memory (because it has all the context).
The main benefit is the speed improvement: no more slideshow during
boot!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list