Proprosed break in libGL / DRI driver ABI
Roland Mainz
roland.mainz at nrubsig.org
Wed Apr 6 17:23:19 PDT 2005
Brian Paul wrote:
[snip]
> > What about making MAX_WIDTH and MAX_HEIGHT runtime-configurable - would
> > that be possible (for stack allocations the Mesa code then has to depend
> > on |alloca()|) ?
>
> Probably do-able, but a lot of work.
Depends... if |alloca()| can safely be used on all platforms supported
by Mesa then this should be no problem to implement. Alternatively the
code could simply assume that the C compiler supports the C++ feature
(BTW: Is this supported in C99, too ?) that an array can be dynamically
sized at declaration (however that's less portable).
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the xorg-arch
mailing list