[ros-kernel] TEB offsets wrong - suggested fix - feedback pls
welch at cwcom.net
Thu Feb 5 20:16:29 CET 2004
On Thu, Feb 05, 2004 at 06:52:31PM +0100, Mike Nordell wrote:
> > It's how MS does it, and opengl performance is important because gaming
> > is going to be a large market for ReactOS.
> Should the function pointer vector not be "inlined" into the TEB, an extra
> indirection is probably (note I leave a door open here for uncertainty) not
> even measurable in context of the time an average OpenGL call uses.
> I'd love to be proved wrong - with empirical data. :-)
> But, what the hey, we're still within one single page, why designing it
> otherwise wouldn't result in a smaller memory fotprint - just a more clean
Do bear in mind that OpenGL uses function calls to specify each element of
a vertex to be drawn (one for the position, one for the normal, one for
the texture coordinate, etc) and on modern hardware the effect of these calls
is probably just to write the parameters into a circular buffer in memory; so
the overhead could be more than you think.
More information about the Ros-kernel