12 #ifndef OSXGRAPHICSPIPE_H
13 #define OSXGRAPHICSPIPE_H
15 #include "pandabase.h"
16 #include "graphicsPipe.h"
18 #include <Carbon/Carbon.h>
34 virtual string get_interface_name()
const;
38 static CGImageRef create_cg_image(
const PNMImage &pnm_image);
41 static void release_data(
void *info,
const void *data,
size_t size);
59 static void init_type() {
60 GraphicsPipe::init_type();
61 register_type(_type_handle,
"osxGraphicsPipe",
62 GraphicsPipe::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The name of this class derives from the fact that we originally implemented it as a layer on top of t...
An offscreen buffer in the OSX environment.
virtual PreferredWindowThread get_preferred_window_thread() const
Returns an indication of the thread in which this GraphicsPipe requires its window processing to be p...
This graphics pipe represents the interface for creating OpenGL graphics windows on the various OSX's...
A tiny specialization on GLGraphicsStateGuardian to add some wgl-specific information.
A container for the various kinds of properties we might ask to have on a graphics window before we o...
An object to create GraphicsOutputs that share a particular 3-D API.
This is a base class for the various different classes that represent the result of a frame of render...
Encapsulates all the communication with a particular instance of a given rendering backend...
This class is the main interface to controlling the render process.
TypeHandle is the identifier used to differentiate C++ class types.
A container for the various kinds of properties we might ask to have on a graphics frameBuffer before...