Julian et al, when it comes to Cairo and it's infamous lack of rendering speed I have a slight hum of remembering a discussion of why Cairo was so much slower. I cannot understand why it should be so much slower...
There were some work put into finding out why. I found code that implements pixel align. My simple tests using "Analyze->Benchmark" did not give any big difference between pixel align or not (disabled/enable via the #define in draw.c). Is there a simple trick to get it faster? In GTK there are, for instance functions, where you send in lists of objects to draw, and that makes it faster. I use libcairo 1.8. Is 1.9 faster in any way? When it comes to replacing GDK, I think it is a long trip. It might suck but there is a lot of energy put into that. But I for one would like to see a solution of the Cairo slowness to get rid of GDK, because Cairo is so much better in every other way. But more than 5 times slower is not acceptable. Regards, /Stefan On 03/05/2011 08:39 PM, Julian Lamb wrote: > Stefan Tauner, > Thanks for the patch set. I, personally, would like to switch the > default to NORMAL, but other developers have been resistant in the > past. However, GTK3.0 is officially deprecating the GDK code, so we can > probably assume it will be eliminated by the time GTK4 comes out. > Is anyone vehemently opposed to switching the default to NORMAL? If > so, please speak up now. Otherwise I'll apply Stefan's patch-set. > > Cheers-- > Julian > > On 03/05/2011 01:54 PM, Stefan Tauner wrote: >> hello >> >> regarding the fast aka GERBV_RENDER_TYPE_GDK rendering mode julian said >> in bug 3197741 >> (https://sourceforge.net/tracker/?func=detail&atid=409538&aid=3197741&group_id=33921) >> "will be deprecated soon". >> if it will... it shouldnt be the default mode in everything != WIN32 >> imho. :) >> >> on the search for the reason why it defaults to "fast" on my machine i >> also noticed a bug in the contribution i made before and some use of >> magical numbers... ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Gerbv-devel mailing list Gerbv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gerbv-devel