]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: gfx_fb_drawrect should use GfxFbBltVideoFill
authorToomas Soome <tsoome@FreeBSD.org>
Tue, 11 May 2021 18:05:12 +0000 (21:05 +0300)
committerToomas Soome <tsoome@FreeBSD.org>
Sun, 16 May 2021 08:22:37 +0000 (11:22 +0300)
commit5365af662c78d7bded3bf83c7271d6bff17229a9
treec267088e992c6b43453a9da546c22aa2aa427dec
parent80ba60f64394fab3cda10d5921af896ed1c57c5f
loader: gfx_fb_drawrect should use GfxFbBltVideoFill

The gfx_fb_drawrect() is drawing rectangle by pixels, this can be very
slow on some systems. Use Blt() video fill primitive instead.

Testing done: Tested on mac mini 2012 where the issue was revealed

Reviewed by: yuripv
MFC after: 1 week
stand/common/gfx_fb.c