A tiny specialization on GLGraphicsStateGuardian to add some Cocoa-specific information. More...
#include "cocoaGraphicsStateGuardian.h"
Public Member Functions | |
| CocoaGraphicsStateGuardian (GraphicsEngine *engine, GraphicsPipe *pipe, CocoaGraphicsStateGuardian *share_with) | |
| void | choose_pixel_format (const FrameBufferProperties &properties, CGDirectDisplayID display, bool need_pbuffer) |
| virtual TypeHandle | force_init_type () |
| const FrameBufferProperties & | get_fb_properties () const |
| Gets the FrameBufferProperties for all windows and buffers that use this GSG. More... | |
| void | get_properties (FrameBufferProperties &properties, NSOpenGLPixelFormat *pixel_format, int virtual_screen) |
| virtual TypeHandle | get_type () const |
| void | lock_context () |
| Locks the context. More... | |
| bool | setup_vsync () |
| void | unlock_context () |
| Unlocks the context. More... | |
Static Public Member Functions | |
| static TypeHandle | get_class_type () |
| static void | init_type () |
Public Attributes | |
| NSOpenGLContext * | _context |
| CVDisplayLinkRef | _display_link = nullptr |
| FrameBufferProperties | _fbprops |
| NSOpenGLPixelFormat * | _format = nullptr |
| AtomicAdjust::Integer | _last_wait_frame = 0 |
| NSOpenGLContext * | _share_context |
| TrueConditionVarImpl | _swap_condition |
| TrueMutexImpl | _swap_lock |
A tiny specialization on GLGraphicsStateGuardian to add some Cocoa-specific information.
Definition at line 29 of file cocoaGraphicsStateGuardian.h.
|
inline |
Gets the FrameBufferProperties for all windows and buffers that use this GSG.
Definition at line 19 of file cocoaGraphicsStateGuardian.I.
|
inline |
Locks the context.
Definition at line 27 of file cocoaGraphicsStateGuardian.I.
|
inline |
Unlocks the context.
Definition at line 36 of file cocoaGraphicsStateGuardian.I.
1.8.15