Re: Any plan to promote coordinats to 32 bits?

2010-11-23 Thread Glynn Clements

Teika Kazura wrote:

 X coordinates are 16 bits, but are there any plan to promote them
 to 32 bits? I couldn't find one in the Xorg site.
 
 In fact, 16 bits are not sufficient these days. If you have
 several screens and enlarge your desktop with a window manager
 to several X screens width / height, it can easily exceed 32767.

No, it can't exceed 32767; you might /want/ to exceed that, but that's
a different matter.

 Is this fact known to X developement society?

Yes. E.g. if you want to create a viewport on a much larger canvas,
you can't just create a child window the size of the canvas and scroll
by changing its (parent-relative) position. You have to implement
transformation and clipping yourself.

The limitations on the core X protocol aren't likely to change; it
would cause too much breakage. For graphics, you can just use Render,
cairo, OpenGL, etc. I don't think that the 16-bit limitation on the
size of a window is likely to be a problem for the foreseeable future
(apart from anything else, you're likely to run into memory issues
with backing store or compositing buffers before that). If you want
large virtual desktops, the WM just needs to be creative.

-- 
Glynn Clements gl...@gclements.plus.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Any plan to promote coordinats to 32 bits?

2010-11-23 Thread Clemens Eisserer
Hi Teika,

As far as I know there hasn't been a lot of development to fix that,
theres not enough pain for now.
Unfourtunatly it would mean re-implementing a lot of X11's core
protocol as new extensions.

Probably a better way to fix that would be to create X12, or to use
something different like e.g. Wayland.
But don't get me wrong, I don't think Wayland will solve all problems
magically just because its not called X ;)

- Clemens
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Any plan to promote coordinats to 32 bits?

2010-11-23 Thread Alan Coopersmith
Teika Kazura wrote:
 Dear List,
 X coordinates are 16 bits, but are there any plan to promote them
 to 32 bits? I couldn't find one in the Xorg site.

It's not a simple promotion but breaking compatibility with the
existing protocol - it's on the list of things to fix if we ever
get around to a major compatibility breaking revision:

http://www.x.org/wiki/Development/X12#A15bitcoordinatelimit

 In fact, 16 bits are not sufficient these days. If you have
 several screens and enlarge your desktop with a window manager
 to several X screens width / height, it can easily exceed 32767. 

Several?  I've yet to see many common monitors larger than 2560 pixels,
so that's still 14 screens wide/high.

 Is this fact known to X developement society?

Of course.   We are capable of basic math.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Any plan to promote coordinats to 32 bits?

2010-11-23 Thread Rémi Cardona
Le 23/11/2010 17:22, Alan Coopersmith a écrit :
 Several?  I've yet to see many common monitors larger than 2560 pixels,
 so that's still 14 screens wide/high.

http://insitu.lri.fr/Projects/WILD

Yes this is research, yes we won't have that on our wrist watches any
time soon...

But! InSitu's (virtual) wall is already 20480x6400 which is less than an
order of magnitude away from the 16bit limit. The next research team
that does this sort of insane setup will probably blow the limit.

And we did have an X running on that (using metisse), fully capable of
using the entire screen real estate.

Food for thoughts :)

Rémi
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Any plan to promote coordinats to 32 bits?

2010-11-23 Thread Alan Coopersmith
Rémi Cardona wrote:
 Le 23/11/2010 17:22, Alan Coopersmith a écrit :
 Several?  I've yet to see many common monitors larger than 2560 pixels,
 so that's still 14 screens wide/high.
 
 http://insitu.lri.fr/Projects/WILD
 
 Yes this is research, yes we won't have that on our wrist watches any
 time soon...
 
 But! InSitu's (virtual) wall is already 20480x6400 which is less than an
 order of magnitude away from the 16bit limit. The next research team
 that does this sort of insane setup will probably blow the limit.

Right - DMX folks were worrying about this years ago - it's not outside
the realm of special cases, just not the average desktop.

-- 
-Alan Coopersmith-alan.coopersm...@oracle.com
 Oracle Solaris Platform Engineering: X Window System

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Any plan to promote coordinats to 32 bits?

2010-11-22 Thread Teika Kazura
Dear List,
X coordinates are 16 bits, but are there any plan to promote them
to 32 bits? I couldn't find one in the Xorg site.

In fact, 16 bits are not sufficient these days. If you have
several screens and enlarge your desktop with a window manager
to several X screens width / height, it can easily exceed 32767. Is
this fact known to X developement society?

I know it's not easy, but at least this fact has to be known,
I thought.

Best regards,
Teika (Teika kazura)

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com