Originally posted by siride
View Post
remember doesnt matter how nasty you get coding something for X or Y toolkit, all of them use the xlib api at the end cuz the xorg server is the one which renders, so it make a lot more sense to transmit the raw xorg core api calls cuz beside faster in theory (if properly implemented) is toolkit independant.
doing this at toolkit level would be hell, cuz somehow you have to at worst render twice cuz would be really hard to intercept the Xorg api calls. so in the end you would need
* an specific rendering code path per toolkit
* the specific rendering path have to render at the same time in xorg api too if you wanna have image in your screen too
* you have to create an event handler for input devices per toolkit.
* you have to create a protocol that crc the validity of the data send to clients and back to be sure the stuff is rendered as it should
an many other stuff wich are already in X so it makes 0 sense doing it at toolkit level when it should be way easier just updating the xorg network render system.
in this particular case is better to plan in the future a major overhaul in the network render system inside Xorg than go crazy and try it at toolkit level.
the most important overhauls i think it should be:
* a faster way of crcing the data, ok it exist now and it works but the penalty is massive.
* make this extension aware of newer extension like damage, Xrender, Composite, multi input, etc(last time i checked it didnt but who knows if something has been done in that time)
* encryption, well ok ssh do the trick but an ssl3/tls solution should be more ligthweight.
* improve the compression of the transmited data and improve the latency which is barbaric
* make some changes to be more mesa aware specially at gsgl not just plain opengl, maybe gallium too
* add the ability of a secure login system, maybe like heimdal kerberos, so it would be more enterprise like security or pam or both
anyway, this are discussion for the future cuz X12 or anything big isnt going to happen soon cuz mesa/gallim/ddx/kms work is more important for now
Leave a comment: