On Wed, 2010-08-11 at 10:24 +0800, Cui, Hunk wrote: > Hi, guys, > Now I am researching about allocate the video overlay memory, > some confuse to inquire. > In xf86-video-geode -> lx_video.c -> LXInitOffscreenImages: > alloc_surface = LXAllocateSurface; > free_surface = LXFreeSurface; > > In xf86-video-ati -> radeon_video.c -> > RADEONInitOffscreenImages: > alloc_surface = RADEONAllocateSurface; > free_surface = RADEONFreeSurface; > > Inquire: what kind of situation trigger above functions? What > are the mainly effect?
The answer appears to be: nothing. The alloc_surface hook is never called from the core X server. Which does sort of make me wonder what people thought they were writing when they wrote them... I suspect the intent was to allow XV to offscreen surfaces. - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
