|
Panda3D
|
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. | |
| void | get_properties (FrameBufferProperties &properties, NSOpenGLPixelFormat *pixel_format, int virtual_screen) |
| virtual TypeHandle | get_type () const |
| void | lock_context () |
| Locks the context. | |
| bool | setup_vsync () |
| void | unlock_context () |
| Unlocks the context. | |
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.
|
inlinevirtual |
Definition at line 73 of file cocoaGraphicsStateGuardian.h.
|
inlinestatic |
Definition at line 62 of file cocoaGraphicsStateGuardian.h.
|
inline |
Gets the FrameBufferProperties for all windows and buffers that use this GSG.
Definition at line 18 of file cocoaGraphicsStateGuardian.I.
|
inlinevirtual |
Definition at line 70 of file cocoaGraphicsStateGuardian.h.
|
inlinestatic |
Definition at line 65 of file cocoaGraphicsStateGuardian.h.
|
inline |
Locks the context.
Definition at line 26 of file cocoaGraphicsStateGuardian.I.
|
inline |
Unlocks the context.
Definition at line 35 of file cocoaGraphicsStateGuardian.I.
| NSOpenGLContext* CocoaGraphicsStateGuardian::_context |
Definition at line 48 of file cocoaGraphicsStateGuardian.h.
| CVDisplayLinkRef CocoaGraphicsStateGuardian::_display_link = nullptr |
Definition at line 52 of file cocoaGraphicsStateGuardian.h.
| FrameBufferProperties CocoaGraphicsStateGuardian::_fbprops |
Definition at line 50 of file cocoaGraphicsStateGuardian.h.
| NSOpenGLPixelFormat* CocoaGraphicsStateGuardian::_format = nullptr |
Definition at line 49 of file cocoaGraphicsStateGuardian.h.
| AtomicAdjust::Integer CocoaGraphicsStateGuardian::_last_wait_frame = 0 |
Definition at line 55 of file cocoaGraphicsStateGuardian.h.
| NSOpenGLContext* CocoaGraphicsStateGuardian::_share_context |
Definition at line 47 of file cocoaGraphicsStateGuardian.h.
| TrueConditionVarImpl CocoaGraphicsStateGuardian::_swap_condition |
Definition at line 54 of file cocoaGraphicsStateGuardian.h.
| TrueMutexImpl CocoaGraphicsStateGuardian::_swap_lock |
Definition at line 53 of file cocoaGraphicsStateGuardian.h.