List Info

Thread: Power efficient theme engine




Power efficient theme engine
user name
2006-06-03 16:40:43
G'day chaps and chapettes!

The default GTK+ theme is remarkably ugly yet also
remarkably fast and
easy to render. The speed improvement on my machine from
using it over
a prettier Cairo based theme like Clearlooks or Ubuntulooks
is
noticable and I'm using a 1.2ghz chip!

It seems likely that nearly all modern, maintained GTK+
themes will
drain lots of battery power by calculating gradients,
tesselating
curves, antialiasing lines and doing other things that look
lovely but
munch cycles for breakfast. Therefore it would make sense to
have a
new theme designed that is:

a] Not a Windows 95 throwback 
b] Efficient to render, especially taking into account the
primitives
accelerated by the laptops GPU
c] Small code-size wise

Do people agree such a thing would be worthwhile? If so we
may have a
project that would be easy to work on for new developers ...

thanks -mike

--
olpc-software mailing list
olpc-softwareredhat.com
https://www.redhat.com/mailman/listinfo/olpc-software
Power efficient theme engine
user name
2006-06-03 20:56:09
Mike Hearn wrote:

> 
> a] Not a Windows 95 throwback 
> b] Efficient to render, especially taking into account
the primitives
> accelerated by the laptops GPU
> c] Small code-size wise

I'm a big fan of the plan 9 window manager (rio, I use it
on linux) but 
it might be too primitive for you folks.

here it is:
[rminnichq plan9]$ cd src/cmd/rio
[rminnichq rio]$ ls
client.c  CVS      event.c  Imakefile  manage.c 
mkriorules.sh  printevent.h
color.c   dat.h    fns.h    key.c      menu.c   
patchlevel.h   README
cursor.c  error.c  grab.c   main.c     mkfile   
printevent.c   xevents.c
[rminnichq rio]$ wc *.c
    285    683   5458 client.c
     45    138    794 color.c
    381   1969  12788 cursor.c
    101    258   2109 error.c
    597   1399  11840 event.c
    675   2052  13305 grab.c
     65    154   1358 key.c
    539   1485  12713 main.c
    537   1433  11068 manage.c
    424    944   7472 menu.c
    986   2230  24160 printevent.c
     45    123   1176 xevents.c
   4680  12868 104241 total


or, if you don't like that, ... flwm is another one (not
fwm, flwm)

personally, I've backed out to primitive-as-possible wm's,
and I wonder 
if we really need glitzy themes for OLPC, or, instead,
quiet, small, 
unobtrusive ones with ultra-low-power.

ron

--
olpc-software mailing list
olpc-softwareredhat.com
https://www.redhat.com/mailman/listinfo/olpc-software
Power efficient theme engine
user name
2006-06-03 22:09:20
Mike Hearn wrote:
> Do people agree such a thing would be worthwhile? 

So worthwhile, in fact, that we have a Summer of Code hacker
working on
it. Here's the summary part of his proposal:

---
While GTK+ is a very convenient set of libraries to design
great
graphic applications, it needs a lot of work to fit into the
OLPC
project. The enhancements can be related to global hardware
performance and power saving (like the blinking cursor
example in the
project proposal), or just to the fact that the screen
resolution is
640x480.

I have been working with GTK+ for some time now, I know the
various
toolkits and libraries quite well, and diving into the GTK+
code
itself to make it ore hardware-efficient looks at the same
time very
challenging and exciting.

The project also implies some work on a particular GTK
engine and
theme to let everything fit well on the screen, and be very
usable,
both in color and B&W mode.
---

-- 
Ivan Krstic <krsticfas.harvard.edu> | GPG: 0x147C722D

--
olpc-software mailing list
olpc-softwareredhat.com
https://www.redhat.com/mailman/listinfo/olpc-software
Power efficient theme engine
user name
2006-06-03 22:28:01
On 6/3/06, Ivan Krstic <krsticfas.harvard.edu> wrote:
> So worthwhile, in fact, that we have a Summer of Code
hacker working on
> it.

Oh, awesome  Should
have checked what the SoC projects were first I guess ...

--
olpc-software mailing list
olpc-softwareredhat.com
https://www.redhat.com/mailman/listinfo/olpc-software
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )