• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with CoreAnimation and OpenGL drawing from a safari plugin
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem with CoreAnimation and OpenGL drawing from a safari plugin
      • From: David Duncan <email@hidden>
  • Prev by Date: Filling edges of NSView-customized NSMenu
  • Next by Date: Re: UIResponder Woes
  • Previous by thread: Re: Filling edges of NSView-customized NSMenu
  • Next by thread: Re: Problem with CoreAnimation and OpenGL drawing from a safari plugin
  • Index(es):
    • Date
    • Thread