On Wed, Apr 30, 2008 at 10:26 AM, Maarten Blaauw <[EMAIL PROTECTED]>
wrote:

>
> The now default Cairo results in much prettier graphs, but dense graphs
> such
> as plot(rnorm(1e4)) take considerably longer to plot than using
> X11(type="Xlib"). This has already been mentioned, but I was wondering if
> we
> users could expect Cairo speed increases in the near future?
>

I'm skeptical that the base performance of the Cairo library will improve
much, but there has long been talk of a hardware-accelerated backend. Most
recently, someone came up with one based on OpenVG (and its ShivaVG
implementation using OpenGL and C). It's a long way from being part of base
Cairo (or even released on its own).

Of course, it would really help to optimize at a higher level (e.g. use
caching to avoid re-rendering the same glyph thousands of times).

I've also thought about using a vector-based API directly on top of OpenGL,
like what Qt (and now the clutter project) has, but that's getting
off-topic.


>
> >Slower under some circumstances (although on the test systems much faster
> than packages Cairo and cairoDevice).  This will be particularly true for
> X11() with a slow connection between the machine running R and the X
> server.
>
> Using R 2.7.0 on Ubuntu 8.04 (Pentium 4 1.70 GHz on one machine and
> Centrino
> Duo on another)
> --
> View this message in context:
> http://www.nabble.com/New-version-of-X11%2C-png-and-jpeg-tp15672580p16987759.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to