Composite application usage question

Gautam Iyer gautam at math.stanford.edu
Mon Aug 21 12:17:53 PDT 2006


On Mon, Aug 21, 2006 at 04:47:36PM +0900, Carsten Haitzler wrote:

> > > > I'd like to do the following: I want a translucent window, but the text
> > > > in that window to be opaque (or at least less translucent). It's for a
> > > > terminal emulator (mrxvt).
> > > > 
> > > >     1. Is it possible using libXcomposite?
> > > > 
> > > >     2. How? I found very little documentation out there. Just the
> > > >        protocol specification (which is not easy to understand), and the
> > > >        header files.
> > > > 
> > > > Is there some secret tutorial on using Xcomposite which would help me?
> > > > Also if one of you Xorg gurus knows how to do the above, and can briefly
> > > > tell me, I'd be most grateful.
> > >
> > > i could point at some code i wrote that does this and does all the
> > > rendering etc. - but u:d need to dig thru quite a mountain (in evas -
> > > more in ecore etc. in enlightenment's cvs repository) ... and i don't
> > > have time to dig right now - hopefully the above will get you started
> > > though.
> > 
> > I sure wouldn't mind looking at your code :). I'm a little clueless
> > about this right now, so having something to guide me would be helpful.
> > 
> > You mean the applications "evas" and "ecore" (whatever they are) right?
> 
> they are libraires actually - rather largish. in the e17 cvs module.
> 
> e17/libs/ecore
> e17/libs/evas
> 
> u will find core in ecore in src/lib/ecore_x and src/lib/ecore_evas
> 
> that pertains to xrender and argb visuals.
> 
> you will want to look at the xrender engine in evas
> (src/modules/engines/xrender_x11) that sets up xrender pictures and can handle
> argb destinations. the software engine handles this too but since it does all
> its own rendering entirely in software - its a different kettle of fish.
> 
> i cant really go digging out all the calls u need atm - at work and
> stuff :(

No worries, I'll dig through them. Thanks for telling me exactly where
to look,

GI

-- 
'Conscience' -- The inner voice that warns us somebody is looking.



More information about the xorg mailing list