[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree-render
Subject:    [Render] Picture object lifetimes
From:       Keith Packard <keithp () keithp ! com>
Date:       2000-08-03 6:20:47
[Download RAW message or body]


In implementing our little extension, I've discovered the need to 
differentiate between Pictures associated with Windows and Pictures 
associated with Pixmaps.  That's because Windows can be destroyed at will 
while Pixmaps hang around until all references to them are gone.

I've carried this semantic into Picture objects.  Pictures which reference 
Windows are destroyed when the window is destroyed.  Pictures which
reference Pixmaps hang around until all references to them are gone.

Easy enough to implement, but it throws a small wrench into using Pictures 
as suplementary alpha channels for visuals which have no implicit alpha.  
Now these "alpha" Pictures must reference a pixmap rather than another 
window, else a Match error is generated.

keithp@keithp.com	 XFree86 Core Team		SuSE, Inc.


_______________________________________________
Render mailing list
Render@XFree86.Org
http://XFree86.Org/mailman/listinfo/render

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic