|
(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.
|
|
|
BOOL | glContextOwned |
| Specifies if the glContext is currently owned by the view.
|
|
◆ 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:
- xbmc/windowing/osx/OpenGL/OSXGLView.h
- xbmc/windowing/osx/OpenGL/OSXGLView.mm