Thread (11 messages) 11 messages, 3 authors, 2005-07-28

Re: Move softcursor out of fbdev to fbcon

flat view

From: Jon Smirl <hidden>
Date: 2005-07-28 00:42:55

On 7/27/05, James Simmons [off-list ref] wrote:
quoted
quoted
It has always bugged me that there was no real interface between
fbconsole and fbdev. For example I tried to write a wrapper for DRM so
that fbconsole could use DRM for accelerated console. But fbconsole is
so tied into the fbdev data structures writing the wrapper required me
to build most of an fbdev driver. I shouldn't need to do that,
fbconsole should not be poking at fb_info, it should use an API for
making changes.
Yes. I think I'm planning to do that in small steps. I'm thinking first of
separating all fbcon-specific fields and place them in another structure,
ie, fbcon_info.  This struct will be registered separately from fb_info,
and only if fbcon is enabled.
Thats why its called the framebuffer console. It used the framebuffer api.
Making a API between fbconsole and fbdev would be more bloat and whould
have a performance it. The idea is to go as fast as possible.
A few extra instructions implementing an API won't make much of a
difference. We can only update the screen 70 times a second or so.
Wouldn't it be better to make an API than have me copy fbconsole,
rename it driconsole and then edit it to make it work? An API makes
the code more maintainable and reusable.

-- 
Jon Smirl
jonsmirl@gmail.com


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help