public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Josh Fryman <fryman@cc.gatech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] request for comments
Date: Tue, 17 Feb 2004 16:22:55 -0500	[thread overview]
Message-ID: <20040217162255.23793c83.fryman@cc.gatech.edu> (raw)
In-Reply-To: <20040217205858.A75D2C108D@atlas.denx.de>

> Are these indeed platform independend files  that  can  go  into  the
> common  directory?  My  suspicion is that these might be in fact very
> board-specific features that should go into your own board  directory
> instead.

it's kind of hard to say.  i see the lcdon/off, bkon/off much like the
"erase" command.  it's more or less universal for anything that supports
LCDs, but the actual implementation is very board specific.  kind of
like flash.  (noting the large number of specific flash implementations
in board directories.)

> >    bk   {on,off,set percent}
> >    lcd  {on,off,tst,draw x0 y0 x1 y1 r g b}
> > 
> > to not take up so many command values...
> 
> This sounds much better to me anyway.

it's no difference to me either way... i'll go ahead and change my 
implementation.

> Actually I recommend NOT to add graphics  functions  like  "draw"  to
> U-Boot.  You might want other stuff soon, and find yourself ending up
> integrating microwindows or so. I'm not  sure  if  I'd  like  such  a
> development.

in general, that's a policy i understand and agree with.  in specific,
though, i implemented the function when i was trying to debug why the
drawing of the test pattern wasn't working.  directly doing a memory-
modify and having to do the RGB565 encoding mentally was tiresome :)

i guess i'm proposing that this be the only real random drawing function
for just this purpose.  debugging the framebuffer is tedious without it.
if you'd rather not see it, that's fine -- i can keep it sitsang specific
as an additional patch people can apply.  i don't want to bolt in all
the random draw functions you'd expect in a GUI.  just rectangle solid
blobs.

-josh

  reply	other threads:[~2004-02-17 21:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17  3:20 [U-Boot-Users] request for comments Josh Fryman
2004-02-17 20:58 ` Wolfgang Denk
2004-02-17 21:22   ` Josh Fryman [this message]
2004-02-17 21:37     ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040217162255.23793c83.fryman@cc.gatech.edu \
    --to=fryman@cc.gatech.edu \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox