Feature #10033

Feature #10028: loader: implement framebuffer console

ficl: add simple gfx words

Added by Toomas Soome 3 months ago. Updated about 1 month ago.

Status:ClosedStart date:2018-12-03
Priority:NormalDue date:
Assignee:Toomas Soome% Done:

100%

Category:bootloader
Target version:-
Difficulty:Bite-size Tags:

Description

add words:
fb-setpixel ( x y ) -- light pixel at given coordinates
fb-line (x0 y0 x1 y1 wd ) -- draw the stright line with given width
fb-bezier (x0 y0 x1 y1 x2 y2 wd) - draw (limited) Bezier with given width
fb-drawrect ( x1 y1 x2 y2 fill ) - draw the rectangle
term-drawrect (x1 y1 x2 y2) -- draw the rectangle in terminal window (by terminal coordinates and proportional to char size

Only the term-drawrect is interesting for us at this time, the rest is for demo.

History

#1 Updated by Electric Monk about 1 month ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 9890ff8357a674572254e0be06b175a1e8eab4b0

commit  9890ff8357a674572254e0be06b175a1e8eab4b0
Author: Toomas Soome <tsoome@me.com>
Date:   2019-01-07T09:11:18.000Z

    10028 loader: implement framebuffer console
    10029 common/font: create shared font.c
    10030 import pnglite into usr/src/common/pnglite
    8918 loader.efi: add vesa edid support
    10031 loader: import tem for loader console
    10032 loader: implement tem utf-8 support
    10033 ficl: add simple gfx words
    10034 loader: use term-drawrect for menu frame
    10035 loader: add alpha blending for gfx_fb
    10036 ficl: add fb-putimage
    10037 loader: add illumos.png logo
    10038 loader: replace gop and vesa with framebuffer
    10039 loader: build rules for new font setup
    10040 loader: gfx use GOP Blt() function in visual_io callbacks
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>

Also available in: Atom