• 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: Core Graphics Drawing in OpenGL Context?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Graphics Drawing in OpenGL Context?


  • Subject: Re: Core Graphics Drawing in OpenGL Context?
  • From: "Sean McBride" <email@hidden>
  • Date: Fri, 27 Jul 2007 11:56:57 -0400
  • Organization: Rogue Research

On 2007-07-27 16:07, Alastair Houghton said:

>> Or can one only use openGL drawing functions to draw to an openGL
>> context?
>
>I can think of a few options.  If you have some Quartz or Cocoa stuff
>to draw over the top, you can create a transparent window, making it
>a child of the window with the OpenGL view in it (see -
>addChildWindow:ordered:), and draw your Quartz content into that.
>This is quite easy and should be pretty fast.

Creating transparent windows is a pain.  Instead, the OP could also take
a look at the UnderlaySurface example code (and search the archives
about it) which lets you put Cocoa views overlayed on opengl views.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: Core Graphics Drawing in OpenGL Context?
      • From: Alastair Houghton <email@hidden>
References: 
 >Core Graphics Drawing in OpenGL Context? (From: Nik Youdale <email@hidden>)
 >Re: Core Graphics Drawing in OpenGL Context? (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Is there an API which allow to manipulate Safari Bookmarks?
  • Next by Date: Re: NSTimers and sleeping mac's
  • Previous by thread: Re: Core Graphics Drawing in OpenGL Context?
  • Next by thread: Re: Core Graphics Drawing in OpenGL Context?
  • Index(es):
    • Date
    • Thread