🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #38298

Re: Drawing requests from client to Xserver

#38298
From: William C. Cheng
Date: Mon, 19 May 1997 00:00
28 lines
2101 bytes
In article <337DD2DD.2C335EC6@numbat.cs.rmit.edu.au>,
Shuky Rosinger  <rosinger@numbat.cs.rmit.edu.au> wrote:
>Hi everyone,
>
>I was wondering what are the drawing requests that a client sends an X
>server to draw a certain area? To make my self clear I will give an
>example:
>
>Suppose we have a netscape window running on an X display. This netscape
>window has an animated gif which constantly changes. In this case, I
>believe that the server does not redraw the whole netscape window but
>only the animated gif area. Am I right?
>
>So which drawing request does the netscape window send the Xserver? How
>can I 'listen' to them if I want to?
>
>...

I am not familiar with X at the protocol level, but I would guess that
Navigator and alike are using something like XPutImage() or XCopyArea()
calls to do the animated GIFs.  You can probably get the X source code
to see exactly how these functions use the X protocol.  If I understand
these functions correctly, XPutImage() needs to transmit pixel data from
the client to the server while XCopyArea() does not.
-- 
Bill Cheng // Guest at Columbia University Computer Science Department
william@cs.columbia.edu <URL:http://www.cs.columbia.edu/~william>
Technical Details
Message-ID: <5lpq5a$hht@bourbon.cs.columbia.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <337DD2DD.2C335EC6@numbat.cs.rmit.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6cac,5e5b89214240ac01
X-Google-Attributes: gidf6cac,public
X-Google-Thread: 103734,5e5b89214240ac01
X-Google-Attributes: gid103734,public
X-Google-Thread: 1667f1,5e5b89214240ac01
X-Google-Attributes: gid1667f1,public
X-Google-Thread: f4bda,5e5b89214240ac01
X-Google-Attributes: gidf4bda,public
X-Google-Thread: 1082b0,5e5b89214240ac01
X-Google-Attributes: gid1082b0,public
From: william@news.cs.columbia.edu (William C. Cheng)
Subject: Re: Drawing requests from client to Xserver
Date: 1997/05/19
Message-ID: <5lpq5a$hht@bourbon.cs.columbia.edu>
X-Deja-AN: 242403181
References: <337DD2DD.2C335EC6@numbat.cs.rmit.edu.au>
Organization: Columbia University Department of Computer Science
Newsgroups: comp.windows.x,comp.os.linux.x,comp.windows.x.i386unix,fj.windows.x,de.comp.os.linux.x