<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 199: wxwidgets new driver very very slow </title><link>https://sourceforge.net/p/plplot/bugs/199/</link><description>Recent changes to 199: wxwidgets new driver very very slow </description><atom:link href="https://sourceforge.net/p/plplot/bugs/199/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 18 Jan 2022 19:05:20 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/bugs/199/feed.rss" rel="self" type="application/rss+xml"/><item><title>#199 wxwidgets new driver very very slow </title><link>https://sourceforge.net/p/plplot/bugs/199/?limit=25#6cf7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, the culprit is the Clipper object used in DrawLine.&lt;br/&gt;
more precisely, because it calls wxRegion() which somehow calls gdk_cairo_region_create_from_surface() each time, this is terribly long.&lt;/p&gt;
&lt;p&gt;making wxRect wxPLDevice::GetClipRegion() a wxRect and not a wxRegion, for example with:&lt;br/&gt;
   return wxRect(cpoints&lt;span&gt;[0]&lt;/span&gt;,cpoints&lt;span&gt;[2]&lt;/span&gt;);&lt;br/&gt;
//instead of    return Region( 4, cpoints );&lt;br/&gt;
(and the declarations,etc) &lt;br/&gt;
is sufficient to get a reasonable speed.&lt;/p&gt;
&lt;p&gt;Reasonable because the old driver is still 6 times faster.&lt;/p&gt;
&lt;p&gt;I suggest strongly to patch this driver asap and trigger backports, as the current driver is so buggy.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">giloo</dc:creator><pubDate>Tue, 18 Jan 2022 19:05:20 -0000</pubDate><guid>https://sourceforge.net88bea51c15a515664202a5e90c816ddbead3c2dc</guid></item><item><title>#199 wxwidgets new driver very very slow </title><link>https://sourceforge.net/p/plplot/bugs/199/?limit=25#43bd</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;please read ' example c++/x11' in above report.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">giloo</dc:creator><pubDate>Thu, 13 Jan 2022 18:25:43 -0000</pubDate><guid>https://sourceforge.netc4451cef0927b94b9e644e1175e38a5ad2091626</guid></item><item><title>wxwidgets new driver very very slow </title><link>https://sourceforge.net/p/plplot/bugs/199/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;br/&gt;
I'm expericencing a very annoying slowness of the new wxwidgets driver compared to its 'old' ancestor.&lt;br/&gt;
The procedure to test it is easy:&lt;br/&gt;
- compile plplot 5.15 with  -DBUILD_TEST=ON and alternatively with  -DOLD_WXWIDGETS=ON and  -DOLD_WXWIDGETS=OFF. In both cases install and compare the time it takes to plot example c++/x110&lt;br/&gt;
- the time is ~10 larger with the new driver&lt;br/&gt;
- this factor goes as square of the size of the plot window (try with -geometry 3000x30000) wich almost never succeeds to plot with the new driver, and ~3 seconds for the old.&lt;/p&gt;
&lt;p&gt;by comparison, X11 is instantaneous.&lt;/p&gt;
&lt;p&gt;My configuration: Mageia 8 , wxwidgets 3.1 (wxgtk) , gcc 10.3.0 , plplot 5.15.0&lt;/p&gt;
&lt;p&gt;Apologies if this has already been reported.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">giloo</dc:creator><pubDate>Wed, 12 Jan 2022 18:22:24 -0000</pubDate><guid>https://sourceforge.netdc207f802e44c6a25533141aeb097112bad8e5cd</guid></item></channel></rss>