I'm interested by this case as I'm facing a similar issue. Any hint
would be appreciated,

Grégoire

On Tue, 2011-01-11 at 01:33 +1030, James Moschou wrote:
> Hi,
> 
> Is there anyway to capture the paint 'output' of an actor plus child
> actors, and store it in a texture? The purpose being to simply repaint
> that texture as an optimisation, instead of painting each individual
> child actor.
> 
> My situation is that I have two 'scrollviews' as it were, the classic
> set up of a sidepane on the left with expandable items, and a main
> content view in the right pane. Each sidepane item actor has child
> actors for the label, icon and expander, so even just considering the
> ones actually visible there are still a lot of actors. The lag happens
> when you scroll the content view, since it has to repaint the entire
> stage for every motion event, including the sidepane items
> unnecessarily. Really I should be able to cache this portion of the
> stage, since it doesn't change when the content view is being
> scrolled.
> 
> Also capturing the output of an actor would further improve the
> scrollview's in that I could shift the texture across, and only paint
> the newly revealed portion.
> 
> Thanks,
> James
> _______________________________________________
> clutter-app-devel-list mailing list
> [email protected]
> http://lists.clutter-project.org/listinfo/clutter-app-devel-list


_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to