News:

Thou shalt confirm thine airspeed on final, lest the earth rise up and smite thee. (pre-landing checklist, v1)

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - BozoClown

#1
Plan-G / Re: Snail's Pace
February 10, 2010, 04:29:54 AM
Quote from: tim arnot on February 09, 2010, 04:59:51 PM
If you started Plan-G before running FS (on a single PC), try starting Plan-G AFTER you've run up FS. There is an MS bug in the window code that kills performance when a directX app is started.

The overlays are handled by the Google Maps overlays manager. Buffering, GDI+ etc is completely irrelevant.

Well, I guess their overlay code sucks then.

And im not just saying that. I've done my fair share of graphical coding in C# and GDI+.

In any case, my initial statement stands.  Since you can see the overlays being drawn one at a time while it's refreshing.. it's pretty obvious that there's no double buffering or other optimization going on.

Have you atleast tried setting these "styles" on that control?

            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);

That should stop any "background erase" messages, and enable double buffering for that client window. That alone would speed it up. But then again, im not familiar with the google map control, so i dunno whats possible with it.

p.s. having to enter a captcha just to make a post is annoying as hell.

#2
Plan-G / Re: Snail's Pace
February 06, 2010, 06:45:21 AM
Yeah, the drawing performance of the overlays is horrid.

Almost as if the coder drew everything to the client window instead of to an offscreen buffer first.