On Fri, 17 Jan 2014 06:09:05 -0600,
DRC wrote:

> On 1/17/14 5:17 AM, Pierre Ossman wrote:
> > As far as the code is concerned, both. The protocol still mandates
> > support, hence the simple colour cube to support such clients (of
> > which I expect few).
> 
> Let me rephrase.  Currently, when does that aspect of the protocol get 
> invoked?  My understanding (which may be incorrect) is that it's a relic 
> of clients that don't have the ability to do pixel format conversion, so 
> it would only come into play if the client was forced to use a 
> PseudoColor visual and couldn't convert, thus requiring the server to do 
> the conversion.  It's been a while since I dealt with this stuff, so I'm 
> probably getting something wrong.

Fortunately, that's not the entire story of how the protocol works.
Original RFB assumes that the server does the conversion, not the
client. So let's say we find one of those clients, and it runs on some
old crummy machine which needs colour maps. The client will tell the
server that a colour map is needed. But it's the server, not the client,
that decides the contents of this colour map.

So for these clients we'll gladly report back that it can have its
colour map. But we'll generate one that is based on a normal true
colour system (like 2-2-2, or 3-3-2). The client thinks it is getting a
colour map, and the server thinks it is getting true colour. Everyone
wins. :)

The only problem is when e.g. Xvnc was started with an actual colour
map on the server side, and there are all kinds of random values in
there. That's the use case that will disappear in this change.

Rgds
-- 
Pierre Ossman           Software Development
Cendio AB               http://cendio.com
Teknikringen 8          http://twitter.com/ThinLinc
583 30 Linköping        http://facebook.com/ThinLinc
Phone: +46-13-214600    http://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to