x11 - What Mechanism does compiz use when copying from a xclient's frontbuffer to the backbuffer of root window? -


what mechanism compiz use when copying xclient's frontbuffer backbuffer of root window?

i can't seem find procedure in compiz source. there function calls whenever xclient's window' frontbuffer updated update root backbuffer?

copiz uses x composite extension redirect windows offscreen pixmap. uses glx_ext_texture_from_pixmap extension glx/opengl transfer offscreen pixmaps opengl textures.

for composition composite enabled x server provides special composite window layer, placed between root window (and windows of root window parent) , screen saver layer. compiz creates window in composite layer, creates opengl context window , performs composition using opengl drawing commands.

there compositors don't use opengl. either use server side composition (which rather useless, except testing composite protocol itself) or use xrender drawing methods. technically x core drawing methods work, too, don't support transformations , scaling; things you'd want have compositor.

nothing drawn root window compositor. composition goes composite layer.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -