FROM : Richard Somers
DATE : Tue Jan 29 16:35:09 2008
Apple's LayerBackedOpenGLView sample code illustrates the sharing of
OpenGL objects (textures, display lists, etc.) between the
NSOpenGLView surface-backed context and the core animation layer-
backed context. At least that is what the comments in the code seem to
indicate.
Am I not understanding this correctly?
Regards,
Richard
On Nov 1, 2007, at 11:29AM, David Duncan wrote:
>> is there a way to create shared NSOpenGLView (sharing textures,
>> etc.) that
>> are part of a Core Animation tree ? The context seems to be
>> replaced by
>> another one when drawing occurs.
>
> You will have to use the CARenderer directly if you wish to do this.
> --
> David Duncan
> Apple DTS Quartz and Printing
> david.<email_removed>
DATE : Tue Jan 29 16:35:09 2008
Apple's LayerBackedOpenGLView sample code illustrates the sharing of
OpenGL objects (textures, display lists, etc.) between the
NSOpenGLView surface-backed context and the core animation layer-
backed context. At least that is what the comments in the code seem to
indicate.
Am I not understanding this correctly?
Regards,
Richard
On Nov 1, 2007, at 11:29AM, David Duncan wrote:
>> is there a way to create shared NSOpenGLView (sharing textures,
>> etc.) that
>> are part of a Core Animation tree ? The context seems to be
>> replaced by
>> another one when drawing occurs.
>
> You will have to use the CARenderer directly if you wish to do this.
> --
> David Duncan
> Apple DTS Quartz and Printing
> david.<email_removed>
| Related mails | Author | Date |
|---|---|---|
| Raphael Sebbe | Nov 1, 18:05 | |
| David Duncan | Nov 1, 18:29 | |
| Richard Somers | Jan 29, 16:35 | |
| David Duncan | Jan 30, 18:57 |






Cocoa mail archive

