|
|
Subscribe / Log in / New account

LPC: Life after X

LPC: Life after X

Posted Nov 22, 2010 5:59 UTC (Mon) by dododge (guest, #2870)
In reply to: LPC: Life after X by marcH
Parent article: LPC: Life after X

Here's a real example from the 10MB days: early web browsers often had their their application logo at the top corner of the window, and would run a little animation loop when loading a page. I believe in Netscape's case it would send the entire logo image to the X server for every frame of animation. This worked fine on the same machine because it could use things like XSHM to send the image data out-of-band, but when running remotely it meant it was continuously and repeatedly encoding and transmitting each frame of the animation through the X protocol.

If they had designed for network transparency they presumably would instead have cached the frames as a handful of server-side pixmaps and flipped between them. It seems like a little thing, but as I recall this minor oversight made it perform terribly over a LAN.


to post comments

LPC: Life after X

Posted Nov 22, 2010 8:18 UTC (Mon) by nix (subscriber, #2304) [Link] (1 responses)

IIRC this was only true in Netscape 4, which is when Netscape decided to give the implementation job to a gang of crack-addled monkeys rather than JWZ. (I think that was his phrase...)

Quality suffered accordingly.

LPC: Life after X

Posted Nov 22, 2010 10:56 UTC (Mon) by dododge (guest, #2870) [Link]

Yeah NS3 or NS4 sounds about the right timeframe. I mostly remember noticing that it was much slower than it should have been and having a real WTF?! moment when I traced the X connection and saw all those images flying by.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds