Problem with CoreAnimation and OpenGL drawing from a safari plugin
Problem with CoreAnimation and OpenGL drawing from a safari plugin
- Subject: Problem with CoreAnimation and OpenGL drawing from a safari plugin
- From: varaha murthy <email@hidden>
- Date: Thu, 22 Apr 2010 17:16:21 +0530
Hi All,
I hope I am in the right mailing list. Please point me to the correct one if
not.
I have a Safari out of process plugin which draws some 3d content using
CAOpenGLLayer provided by Sfari by overriding darwInCglContext().
Inside darwInCglContext(), I draw content using opengl and call
'glFlush'(tried CGLFlushDrawable too) multiple times to generate a
short-living custom animation.
But what I observed is that the flush calls are not actually updating the
screen, because of which the custom animation is not showing the effect.
I know I can wait for the next darwInCglContext() to be called but thats too
late for the very short-living animation I want to achieve.
Any idea how I can update the screen immediately after drawing content?
J V Murthy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden