FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Double buffer graphics

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
bobcowdery



Joined: 14 Oct 2010
Posts: 2

PostPosted: Thu Oct 14, 2010 7:46 am    Post subject: Double buffer graphics Reply with quote

Hi

Is it necessary to double buffer drawing through a memory graphics area (class MemoryGraphics?) and then blit it to the screen or is it already double buffered? I'm not at the point yet where I can see any flickering.

If it is needed how does one use MemoryGraphics.

Great job by the way. Only gui toolkit I have used that appears to be thread safe without having to make sure all gui updates come from the main thread.

Thanks
Bob
Back to top
View user's profile Send private message
bobcowdery



Joined: 14 Oct 2010
Posts: 2

PostPosted: Fri Oct 15, 2010 9:38 am    Post subject: Reply with quote

To answer one of my own questions, yes it is necessary. Still not sure how to go about it though.

Anyone, any ideas?

bob
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Sun Oct 31, 2010 8:17 pm    Post subject: Re: Double buffer graphics Reply with quote

Double-buffering isn't the default. There are some DFL addons that may be helpful, such as DrawingArea and GraphicsBuffer. GraphicsBuffer provides control/form double-buffering.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group