Hello everyone,

I have started updating the Qt drivers to handle PLESC_FLUSH, and trying
this on example x17c, I've noticed serious speed issues, which led me to
this observation: when the chart is regenerated, the plot is cleared
with a call to plfill:
plfill(4, &x[0], &y[0]);
where x={0.,1.,1.,0.} and y={0.,0.,1.,1.} (line 182, plstrip.c)

This is an issue for the Qt driver as this one buffers all the commands
in the page, and thus all the layers are drawn every time the chart is
regenerated (which is a lot!). I could trap such fills and map them to a
clearBuffer(), but I wonder if it wouldn't be more sensible to change
the fill to a call to plP_esc(PLESC_CLEAR, NULL) if the driver supports it?

Sorry if my question is naive, just wondering...

Alban

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to