Matthew Allum wrote:
> I think this is a perspective 'bug' or GL feature where the perspective
> is slightly off and thus the stage appears slightly smaller (or larger)
> than the window pixels. I thought we'd fixed this but it could be you
> have a GL implementation that its not fixed for (what driver are you
> using) or your using an older version of clutter ?
> 
> Can you also try running test-perspective and check you see 4 pixels, 1
> in each corner with a 1 pixel border ?
> 

Just to add to that single-pixel precision in placing OpenGL objects on
screen using different implementations of OpenGL is not to be expected,
and is not mandated by the standard (nor achievable; this is inherent to
how OpenGL works). What is guaranteed is that the same input will
produce the same results each time on a given conforming OpenGL
implementation, so if the 1px error only happens sometimes on the same
HW, it is either bug in clutter, or the application using clutter.

So, it is important that applications are designed with that in view;
for example, an application should allow for the stage not being exactly
the size of the window (with some drivers it can be touch smaller, with
others touch bigger).

For example, making the stage colour to closely match the background
image might alleviate the problem if it is the perspective that is
causing this. Even better, make the background texture slightly bigger
than the stage and position it at negative offsets (I would try to make
the texture bigger by 4 pixels in each dimension and position it at
-2,-2) -- if that does not work then I think the problem is not the
perspective.

Tomas
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to