Slashdot Log In
Xr Renamed to Cairo
Posted by
CowboyNeal
on Sat Aug 30, 2003 12:46 PM
from the pharaohs-and-pixels dept.
from the pharaohs-and-pixels dept.
Charles Goodwin writes "Xr, the vector graphics extension for XFree86 that Keith Packard, Carl Worth, and a few others have been hard at work on, has been renamed and is now officially called Cairo. Keith and Carl recently gave a detailed presentation on Cairo (then known as Xr) which should be a useful read for those wishing to understand it a little better. There is already a useful Gtk+ rendering backend that uses Cairo, as well as an SVG test suite. This, along with Gnome2's subtle adoption of SVG and the inception of Xouvert (which now has goals for both the short term and long term, and an initial plan which includes coexisting with XFree86), spells a bright future for the eye candy of an X desktop."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Well now, that's just great. (Score:2, Insightful)
(http://www.madtasty.com/)
Re:Well now, that's just great. (Score:5, Insightful)
(http://slashdot.org/)
I know it's nice for the "see what is possible" factor, but pseudo-transparency has it's place. I might even opt for it at times if I had the choice.
Re:Well now, that's just great. (Score:4, Insightful)
(http://monogon.org/)
Re:Well now, that's just great. (Score:4, Funny)
Importing alpha-blending from Cairo is WAY to expensive. Just try getting it through customs!
KDE3? (Score:5, Informative)
(http://mathaddicts.org/ | Last Journal: Friday December 27 2002, @04:50AM)
The big issue with an alpha layer is that someone has to have the authority to impliment such a change in the X11 protocol, it can't be done as an extension. Anyone who uses the fucked up protocol won't be able to display their app on a different X server. This breaks compatibility with thin clients.
What I want is complete revamping of the X protocol with backward compatibility maintained (permanently), such that new apps can take advantage of new server-side widgets without breaking compatibility. Wouldn't it be sweet if GTK+ apps could run as well over a 256kb/s line as XAW apps do?
Re:KDE3? (Score:5, Informative)
(http://plan99.net/~mike/)
Here is what I think the Linux GUI needs. (Score:5, Interesting)
(http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)
I think the whole friggin GUI should be vectors. The Icons should be vectors, and these vectors should be manipulated in realtime via the video card/hardware.
Forget software rendering, we need hardware rendered GUI, using SVG for the interface and icons.
We also need to somehow maybe via OpenGL or some technique, to get the special effects of the video card applied to the GUI.
Then someone can write KDE4 or whatever, and the eyecandy/special effects should be plugins, a person should be able to code an effect via a scripting or programming language, someone should be able to download say, the motion blur or sparkle plugin, and then I click it and suddenly my menus motion blur or sparkle with fairy dust when I move them.
You could break the effects up into groups.
Scaling effects
Trails for cursor
Trails for menu
Icon effects/animations
etc, and when this is done, then people can write themes easily etc and we can innovate.
The key should be a system that allows a newbie who isnt a coding genius to actually manipulate a video card either via scripting, or some high level interface.
What I want is complete revamping of the X protocol with backward compatibility maintained (permanently), such that new apps can take advantage of new server-side widgets without breaking compatibility. Wouldn't it be sweet if GTK+ apps could run as well over a 256kb/s line as XAW apps do?
I dont care so much about backward compatibility and I dont think most desktop users do. Servers sure as hell wont be running this. But if back compatbility is so important that can be handled to.
QT3 has translucent menu items and such. I haven't checked to see if they cheat by reading from the screen, or if they have implimented an alpha layer.
Fake translucency is not what people want, we want alpha channeling. This will only happen when the whole interface changes from pixel based to SVG based and then an OpenGL backend to access the video cards.
I think Evas has the right idea here, now its just time to have X catch up to it.
great (Score:4, Funny)
(http://mathaddicts.org/ | Last Journal: Friday December 27 2002, @04:50AM)
Cairo? Bill Gates will be contacting them. (Score:4, Funny)
This might even turn out better than expected (Score:5, Informative)
(Last Journal: Thursday January 15 2004, @06:55PM)
They even plan to contact Freedesktop.org.
This is OLD OLD news (Score:2)
(http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)
Why are we posting this when this happened like a month ago?
Anyway where can I donate money to Cairo development?I mean I dont have A PHD in software engineering and cannot help with the actual development, so how about accepting donations people?
sub-pixel aliasing? (Score:1, Interesting)
Not eye candy!!! (Score:5, Interesting)
This is essentially untrue. Accepting vector graphics as the default in computers may alter our perception of what is eye candy completely. As far as I'm concerned the Fresco/Berlin project was the right way already several years ago. Today, the hardware has caught up and there is nothing to be lost in user space with vector graphics everywhere.
In fact, we have no idea what kind of possibilities may open up here. If we're unlucky, yes, it might be a can of worms...
Re:Not eye candy!!! (Score:5, Informative)
X11 doesn't support "vector graphics" any more or less than it used to. What has changed is that X11 now has an imaging model similar to PostScript (subpixel addressing, antialiasing, etc.) in addition to its older bitblit model (pixel-accurate, using boolean operations for drawing).
(Subpixel addressing also allows you to do zoomable or "resolution independent" graphics, while the bitblit model is resolution dependent. However, the term "resolution independent" is somewhat of a misnomer--even if your imaging model supports arbitrary zooming, you can't just zoom user interfaces up and down and expect them to be usable.)
When people talk about "vector graphics" in the context of window systems, that usually means the use of display lists: you give the server a list of "objects" to display (lines, triangles, rectangles, etc.), and the server takes care of displaying them when needed. But they might mean something else as well.
Display lists in X11 are still handled the way it has always been handled: by client-side libraries. Eventually, there may be a server-side extension for handling display lists and perhaps even the ability to transfer display lists and structured graphics in the form of SVG data. That would give you Quartz-like redrawing and rescaling, although while that looks nice it has few real advantages.
Now, what about Berlin vs. X11? First of all, one big thing in Berlin is the incorporation of GUI components into the server. That is an anathema to X11 designers. Also, while resolution-independent graphics is nice (the same thing X11 now supports with Cairo), it is a poor choice as the only graphics model: well-designed application for low-resolution and/or low-depth screens (e.g., a 160x160 Palm) must be able to draw with pixel-accurate drawing operations and precisely predictable results on every bit on the screen.
I don't think Berlin "got it right". Berlin concentrated on the obvious, convenient, clean, high-level stuff. Berlin would give you slick-looking OS X-like desktops if it ever caught on, but the Berlin designers have neglected the other imaging models that are really important to real window systems, and they have put way too much policy into the server.
Fortunately, the way X11 is evolving, we won't have to make a choice: you can have all the slick antialiased, structured graphics you like, and yet still have pixel-accurate drawing in a bounded memory X11 implementation. The only difference will be that X11 still won't enforce policy on the server side, and that's a good thing as far as I am concerned. But the market will decide that issue.
In fact, we have no idea what kind of possibilities may open up here. If we're unlucky, yes, it might be a can of worms...
There is no "can of worms". We have had window systems with antialiased drawing, structured graphics, and all that at least since the 1980s; maybe you remember NeXT and NeWS. The feature is nice, but it doesn't radically change what people do with GUIs.
So, when does this turn in to a practical product? (Score:3, Interesting)
That sample rasterized penguin looks contented! ;) (Score:2, Interesting)
Great news on the arrival of rasterized graphics output for Xfree86. That should allow for some superb gaming, visual modeling, and graphic apps for Linux.
XrStroke is sure to be a popular command...
maybe that explains the contented look... randy penguin!
If you are lost with these references, you might enjoy "Why a penguin?" and "linux" together as a google search.
Finally, buffering. (Score:5, Insightful)
(http://theravensnest.org/ | Last Journal: Tuesday November 27, @07:07AM)
Cairo, hmm, that has been a Windows codename (Score:2)
Bad, bad
Who names these things? (Score:5, Interesting)
In all seriousness, I think that poor name choices hurt the adoption of free software. Think about "Photoshop" vs. "The GIMP," or "Internet Explorer" vs. "Mozilla." Rather than something simple, descriptive, and catchy, we usually opt for indecipherable codenames, stupid recursive acronyms, or lame in-jokes that few people but the developers themselves will get.
Poor naming limits the spread of the software meme to those who are already in the know, especially when the names are designed to enforce an only-the-anointed-get-it, us-vs-them mentality.
Cheers,
IT
Re:Who names these things? (Score:4, Informative)
(http://rustyp.freeshell.org/ | Last Journal: Tuesday April 29 2003, @09:22AM)
"P" is the closest thing we have to the greek letter rho, which phonetically is "R." The "P" sound is taken by the greek letter pi.
Since Xr is written by people who speak English, not ancient Greek, it is likely that they're taking the letters from the modern alphabet, not the greek one. Therefore using the letters "Chi Rho" make sense when doing the translation into greek - since such translation is almost always done phonetically.
Re:Who names these things? (Score:4, Insightful)
(http://www.manu.com.au/)
Oh? So Excel just says "spreadsheet" to you? How about Quark Express? Or Oracle? Or Solaris? These names are only "obvious" because you have heard them before. There is nothing descriptive about them.
Everything is coming together (Score:4, Interesting)
Over the next few years, desktop graphical environments will move increasingly towards vector graphics and away from bitmaps. The Mac is already there. Windows and Linux are both in the development stage (Longhorn and Cairo respectively) and it will be interesting to see who gets there first. Desktops will finally scale properly to different sized monitors and there will be no excuse for apps that do not scale properly.
Once every operating system supports vectors natively, SVG will become a no-brainer. Why would we use vectors for everything on the desktop and then dumb it down to bitmaps for transmission over comparitively thin network pipes to devices of arbitrary size and shape? It would make no sense whatsoever. So SVG will replace a huge number of the GIFs and PNGs on the Web, to say nothing of Flash files.
A wonderful side effect of this will be that people will finally be able to have richly rendered text on the Web without resorting to binary formats like GIF and Flash. Imagine being able to cut and paste text even when it is embedded in highly stylized corporate graphics (as is becoming more and more common!).
There are really so many follow-on effects that we could have a long thread discussing them. Congratulations to the Cairo and X teams for taking a few more steps down the path!
Uh oh (Score:1, Interesting)
But...who knows. Maybe this Cairo won't be a wasted excursion in the desert...
things slowly moving on, but still it's a monolith (Score:1)
Watch out for the WTO! (Score:1)
(http://antone.geckotribe.com/)
X r == "Cairo" (Score:5, Informative)
X == Chi
r == Rho
Okay
Not really a rename, is it? (Score:1, Redundant)
Re:Not really a rename, is it? (Score:4, Funny)
Makes you wonder what that "XP" in Windows XP and Athlong XP really stands for. A plot by the religious right to infiltrate Microsoft? Hmmm...
When Bill Gates Said... (Score:2)
(http://www.factcheck.org/)
All I know is I want.. (Score:3, Interesting)
(http://telebody.com | Last Journal: Tuesday July 30 2002, @07:28AM)
For anyone who has not used an SGI machine before, windows often have one or two widgets (if two then one would be oriented on the horizontal axis, the other on the vertical) which resemble long, thin, ridged wheels. When you click and drage so as to rotate the wheel showing in a file manager window the file icons will all resize automatically in realtime and smoothly, since it is all drawn in vectors. To me this would make a graphic desktop in linux a lot more useable.
That, and the way you can use a mouse and three buttons in OpenInventor windows to navigate/manipulate in three dimensions are a couple of the best things about SGI user interfaces to my mind.
A picture of an IRIX desktop with an icon resizing wheel is here [nekochan.net]
Re:Who the hell cares? (Score:2)
(http://www.madtasty.com/)
Re:Windows NT 4.0 (Score:1)
(http://screaming.org/)
Re:eye candy? (Score:2, Interesting)
Re:Windows NT 4.0 (Score:2)
Re:Windows NT 4.0 (Score:3, Interesting)
Actually, it was Windows XP which was code-named Cairo. X and P refer to Greek Letters Chi and Rho. Possibly Xr changed to Cairo using the same logic. Just a guess, though.
Re:Dumb name of the month (Score:1, Redundant)
Re:Windows NT 4.0 (Score:1)
They never got the OO filesystem to work, though, so NTFS lives on.
You have no need to upgrade. (Score:4, Interesting)
(http://geeks4dean.com/ | Last Journal: Wednesday October 01 2003, @11:42AM)
Cairo is not for you! someone like you should use the old version of Xfree86 because you dont like cutting edge, you dont like polish, you dont need eye candy.
But please do not hold the rest of us back because you dont want progress.There's the commandline and original Xfree86 for people like you, we also need to attract desktop users, and this requires eyecandy.
They will not switch from Windows if Windows is better.
Re:eye candy? (Score:2, Interesting)
(http://hexameter.com/)
One of the parts in the article mentions a user-specified error tolerance to control quality vs performance. I'd be curious to see how this performs in the real world.
There's already a gnome theme by the name of scalable gorilla [ximian.com] that uses vector graphics. It runs a little slow on slow CPUs, but it looks fantastic and it's easily configurable. With a bitmap icon, I have to recreate the graphics file, with the Scalable Gorilla theme, I change text in a XML file. Another thing to keep in mind is the size of the hi-res bitmaps that would be required to compete with the computer synthesized perfection of vector graphics.
Isn't this a disk space vs CPU tradeoff? I have to store a bitmap where I have to compute a vector? I'm all for using my untapped CPU cycles instead of disk storage.
Re:eye candy? (Score:3, Interesting)
(http://rustyp.freeshell.org/ | Last Journal: Tuesday April 29 2003, @09:22AM)
Is having X over low bandwidth eye candy?
Re:Then you want Windows Millennium. (Score:2)
(Last Journal: Thursday March 20 2003, @12:22PM)
Re:Dumb name of the month (Score:2)
disclaimr: I'm biased. [slashdot.org]
Re:eye candy? (Score:1)
(http://sourceforge.net/projects/dapple)
Ye know on earth, and all ye need to know."
qp?
-uso.
Re:eye candy? (Score:3, Insightful)
Re:Windows NT 4.0 (Score:2)
(http://slashdot.org/)
See the following link. Cairo is listed as "Originally Windows NT 4.0, later a designation of technologies, which were planned partly for NT 4 and/or NT 5. Cancelled.
Bink.nu: Microsoft Codenames [bink.nu]