|
Panda3D
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "osxGraphicsPipe.h"#include "config_osxdisplay.h"#include "osxGraphicsWindow.h"#include "osxGraphicsBuffer.h"#include "osxGraphicsStateGuardian.h"#include "pnmImage.h"#include "subprocessWindow.h"#include "nativeWindowHandle.h"#include "displayInformation.h"import <Carbon/Carbon.h>Go to the source code of this file.
Macros | |
| #define | GetModeBitsPerPixel(mode) |
| #define | GetModeHeight(mode) |
| #define | GetModeRefreshRate(mode) |
| #define | GetModeSafeForHardware(mode) |
| #define | GetModeStretched(mode) |
| #define | GetModeWidth(mode) |
| #define | MAX_DISPLAYS 32 |
Functions | |
| Boolean | GetDictionaryBoolean (CFDictionaryRef theDict, const void *key) |
| long | GetDictionaryLong (CFDictionaryRef theDict, const void *key) |
| CFArrayRef | GSCGDisplayAvailableModesUsefulForOpenGL (CGDirectDisplayID display) |
| PT (GraphicsOutput) osxGraphicsPipe | |
| Creates a new window on the pipe, if possible. | |
| PT (GraphicsPipe) osxGraphicsPipe | |
| This function is passed to the GraphicsPipeSelection object to allow the user to make a default osxGraphicsPipe. | |
| PT (GraphicsStateGuardian) osxGraphicsPipe | |
| This is called when make_output() is used to create a CallbackGraphicsWindow. | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file osxGraphicsPipe.cxx.
| #define GetModeBitsPerPixel | ( | mode | ) |
Definition at line 27 of file osxGraphicsPipe.cxx.
| #define GetModeHeight | ( | mode | ) |
Definition at line 25 of file osxGraphicsPipe.cxx.
| #define GetModeRefreshRate | ( | mode | ) |
Definition at line 26 of file osxGraphicsPipe.cxx.
| #define GetModeSafeForHardware | ( | mode | ) |
Definition at line 28 of file osxGraphicsPipe.cxx.
| #define GetModeStretched | ( | mode | ) |
Definition at line 29 of file osxGraphicsPipe.cxx.
| #define GetModeWidth | ( | mode | ) |
Definition at line 24 of file osxGraphicsPipe.cxx.
| #define MAX_DISPLAYS 32 |
Definition at line 30 of file osxGraphicsPipe.cxx.
| Boolean GetDictionaryBoolean | ( | CFDictionaryRef | theDict, |
| const void * | key ) |
Definition at line 32 of file osxGraphicsPipe.cxx.
| long GetDictionaryLong | ( | CFDictionaryRef | theDict, |
| const void * | key ) |
Definition at line 42 of file osxGraphicsPipe.cxx.
| CFArrayRef GSCGDisplayAvailableModesUsefulForOpenGL | ( | CGDirectDisplayID | display | ) |
Definition at line 91 of file osxGraphicsPipe.cxx.
| PT | ( | GraphicsOutput | ) |
Creates a new window on the pipe, if possible.
Definition at line 346 of file osxGraphicsPipe.cxx.
References WindowHandle::get_os_handle, WindowProperties::get_parent_window, FrameBufferProperties::is_basic(), and TypedObject::is_of_type().
| PT | ( | GraphicsPipe | ) |
This function is passed to the GraphicsPipeSelection object to allow the user to make a default osxGraphicsPipe.
Definition at line 214 of file osxGraphicsPipe.cxx.
| PT | ( | GraphicsStateGuardian | ) |
This is called when make_output() is used to create a CallbackGraphicsWindow.
If the GraphicsPipe can construct a GSG that's not associated with any particular window object, do so now, assuming the correct graphics context has been set up externally.
Definition at line 448 of file osxGraphicsPipe.cxx.