xbmc
Instance Methods | Properties | List of all members
OSXGLView Class Reference
Inheritance diagram for OSXGLView:
Inheritance graph
[legend]
Collaboration diagram for OSXGLView:
Collaboration graph
[legend]

Instance Methods

(id) - initWithFrame:
 
(CGLContextObj) - getGLContextObj
 
(void) - NotifyContext
 Application renders out of the NSOpenGLView drawRect (on a different thread). More...
 
(void) - Update
 Update the current OpenGL context (view is set before updating)
 
(void) - FlushBuffer
 Copies the back buffer to the front buffer of the OpenGL context.
 

Properties

BOOL glContextOwned
 Specifies if the glContext is currently owned by the view.
 

Method Documentation

◆ NotifyContext()

- (void) NotifyContext

Application renders out of the NSOpenGLView drawRect (on a different thread).

Hence the current NSOpenGLContext needs to be make current so that the view on the context is valid for rendering. This should be done whenever gl calls are about to be done.


The documentation for this class was generated from the following files: