9 Nov 2004 20:55
My design status
Deron Johnson <Deron.Johnson <at> Sun.COM>
2004-11-09 19:55:01 GMT
2004-11-09 19:55:01 GMT
Here is a status update on my thinking regarding the design of the LG event system. Around August of this year I was pursuing a design in which the grabbing was done in the Display Server. In order to achieve this, topology changes to the window tree would be sent from the X server to the LG Display Server whenever a change occurs to the window tree. Based on my last communication with Keith, and other factors, I have for the past few months been prototyping and evaluating what I had hoped would be a simpler approach which I call the "Z model." In this design, the raw device events flow from the X server to the Display Server, the 3D pick happens, and then the events are sent back to the X server for grab processing. If the events are 3D events bound for 3D apps then these events are sent back to the Display Server. (I call it the "Z model" because if you look at the architectural diagram, the stream of 3D events forms a "Z" as it goes between the X server and the Display Server). After investigating this design for several months I have come to the conclusion that the Z model is inferior to my original "grab-in-display-server" model for several reasons: 1. The path that 3D events take is more convoluted in the Z model. Events are bounced between the two processes like a badminton birdie. This affords more chances to introduce additional latency overhead. 2. In LG, 3D events (for various reasons) need to carry some information that results from the 3D pick information. This information is too voluminous to squeeze into an event, so I tried to store this information on the DS side and match it back up with the events when they return to the DS. I got(Continue reading)
RSS Feed