"Jeffrey W. Baker" wrote:
>
> On Mon, 14 May 2001, Brian Paul wrote:
>
> > At first I was going to suggest a memory management bug in the driver
> > but after a quick check I see that the maximum viewport size in
> > Mesa 3.4.1 is 2048 x 1200.
> >
> > I didn't realize that people were running screens that tall.
> > I'll bump the vertical limit to 1400 or so for the next release.
> > Is anyone running even taller screens?
>
> I run 2048x1536 on a 21" CRT. Is this 1200 px limit the reason why none
> of my OpenGL apps work properly at resolutions higher than 1600x1200?
Probably. What exactly do you mean by "not working properly"? At
worst, the OpenGL rendering won't fill the whole window.
When you call glViewport() the viewport is silently clamped to an
implementation-defined limit, which in the case of Mesa is currently
2048 x 1200. These limits can be queried with glGetIntegerv(GL_MAX_-
VIEWPORT_DIMS).
> FWIW, there are several CRTs on the market that support 2048x1536, and IBM
> has announced a flat panel with that native resolution. To prevent
> immediate obsolesence, I would suggest coding in a fairly high hard limit,
> if one must be coded in at all.
The horizontal limit is used to dimension some temporary arrays in
the triangle rasterization code and span-processing code. The vertical
limit is only used for clamping the viewport. But I can't set the limits
arbitrarily high because of accuracy issues in the use of fixed-point
numbers for triangle rasterization.
I'll set the viewport limit to 2K x 2K. Beyond that I'd have to study
the memory usage and fixed-point math issues.
-Brian
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel