Emmanuele, Thanks for your quick response. I'll definitely try to use a ring buffer.
ciao :), Stefano 2012/5/17 Emmanuele Bassi <eba...@linux.intel.com> > On 2012-05-17 at 13:25, stefano candori wrote: > > The strange thing is that the line is painted only if its height (the > > height of the clutter actor) is less than about 8000. When in > > "get_preferred_height" I set a natural_height and a minimum height of > > 9000-10000, the line is not painted. > > you're essentially creating a texture of 8000 pixels. that is *not* a > good plan: depending on the GPU manufacturer, model, and driver, you are > going to hit the maximum texture size either *way* sooner than that, or > at about 8192 pixels. > > > What I'm doing wrong? Is there a limit for the height of an > > ClutterCairoTexture? I don't think so, but I can't find the error. > > there is a limit on how big (on any axis) a single GL texture is going > to be, and CairoTexture uploads the content of an image surface to a GL > texture. > > an image surface of 8k pixels is also a pretty wrong choice at the Cairo > level. > > my suggestion is that you should break down the size of your drawable > surface, and then use a ring buffer to replace its contents. > > > private class Journal.VTimeline : Clutter.CairoTexture { > > and, finally, CairoTexture is deprecated in favour of the ClutterCanvas > content object; this does not change the limitation on the texture size. > > ciao, > Emmanuele. > > -- > Emmanuele Bassi, > Intel Open Source Technology Center > _______________________________________________ > clutter-app-devel-list mailing list > clutter-app-devel-list@clutter-project.org > http://lists.clutter-project.org/listinfo/clutter-app-devel-list >
_______________________________________________ clutter-app-devel-list mailing list clutter-app-devel-list@clutter-project.org http://lists.clutter-project.org/listinfo/clutter-app-devel-list