graphics: trivial optimization of old-style graphic mode
authorH. Peter Anvin <hpa@zytor.com>
Fri, 31 Jul 2009 00:44:12 +0000 (17:44 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 31 Jul 2009 00:44:12 +0000 (17:44 -0700)
commitc537e06012c19dca57a14bda713a4a467a0c41e8
treefe5ae200a8c98a29e739dff447b0a00848987036
parentac1566ad2612de8efd81be84a516079ce6759f4f
graphics: trivial optimization of old-style graphic mode

Trivially optimize the old-style graphics by using another level of
temporary buffering in bitplane format, thereby enabling the use of
rep movsd to write the contents to the screen.  This can speed things
up substantially in virtualization environments.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/graphics.inc