Re: sluggish NSSlider with vsynced opengl
Re: sluggish NSSlider with vsynced opengl
- Subject: Re: sluggish NSSlider with vsynced opengl
- From: "Simon Strandgaard" <email@hidden>
- Date: Thu, 28 Sep 2006 11:16:36 +0200
On 9/28/06, Simon Strandgaard <email@hidden> wrote:
I have a window containing a NSOpenGLView and a NSSlider.
opengl is vsynced, running in its own thread.
I am experiencing the slider being sluggish; the mouse-cursor
can move large distances before the slider is being redrawn.
plus the slider fires max 30 events per second.
[snip]
on second thought.. if I do vsync in the opengl thread, then how
would cocoa find time to do its own rendering if its also vsynced?
I have tried two configurations:
1. cocoa runs fine, but opengl is sluggish (varies between 20 to 50 Hz)
2. opengl runs fine (75 Hz steady), but cocoa is sluggish.
I am looking for a 3rd configuration where both opengl and cocoa
runs fine. Is this possible or do I have to pick a tradeoff ?
--
Simon Strandgaard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden