• 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
Re: copyCGLContextForPixelFormat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copyCGLContextForPixelFormat


  • Subject: Re: copyCGLContextForPixelFormat
  • From: John Harper <email@hidden>
  • Date: Sun, 03 Feb 2008 09:37:08 -0800


On Feb 2, 2008, at 7:47 PM, Richard Somers wrote:
I thought I would try layer-backed views to accomplish this hierarchy. The first problem I ran into was the opengl layer-backed context. I start with a double-buffered NSOpenGLView subclass for the primary view. Then when I switch the view to layer-backed and the new context is not double-buffered. I have observed this loss of opengl double-buffering in my own code and also in Apple's LayerBackedOpenGLView sample code.

So the next thing I thought I would try is to forgo the automatic layer-backed context creation and try to create a layer-backed double-buffered context manually.

Any thoughts?

Not really, it sounds like what you're describing should work. If you use CAOpenGLLayer (either directly or via NSView) you don't need to use double buffering, that is already taken care of (via a different mechanism)


	John


_______________________________________________

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: copyCGLContextForPixelFormat
      • From: Richard Somers <email@hidden>
References: 
 >copyCGLContextForPixelFormat (From: Richard Somers <email@hidden>)
 >Re: copyCGLContextForPixelFormat (From: John Harper <email@hidden>)
 >Re: copyCGLContextForPixelFormat (From: Richard Somers <email@hidden>)

  • Prev by Date: Event double click file saved into custom app
  • Next by Date: Re: NSCollectionView's newItemForRepresentedObject Method
  • Previous by thread: Re: copyCGLContextForPixelFormat
  • Next by thread: Re: copyCGLContextForPixelFormat
  • Index(es):
    • Date
    • Thread