[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Define pixel formats at compile time
From: |
Udo Giacomozzi |
Subject: |
[Gnash-dev] Define pixel formats at compile time |
Date: |
Thu, 22 Feb 2007 10:27:58 +0100 |
The AGG renderer heavily uses templates - in first place to have
renderers for a variety of pixel formats (currently six, probably
growing). Only one of this pixel formats is used at runtime depending
on hardware and/or GUI. Each pixel format causes re-compilation of the
whole AGG render handler which is already a fat thing (much
specialisation).
It would be great if at compile time the desired pixel format(s) could
be chosen. This can be done easily by adding some #ifdefs to
create_render_handler_agg() - however I don't know how to extend
./configure for this.
The GTK GUI uses the RGB24 pixel format in any case - regardless of
hardware. In this case the AGG renderer would become approx. 80%
smaller! ./configure could take care of that, too...
Who can help?
Udo
- [Gnash-dev] Define pixel formats at compile time,
Udo Giacomozzi <=