An offscreen buffer in the OSX environment. More...
#include "osxGraphicsBuffer.h"
List of all members.
An offscreen buffer in the OSX environment.
This creates an AGLPbuffer.
Definition at line 29 of file osxGraphicsBuffer.h.
[virtual]
This function will be called within the draw thread before beginning rendering for a given frame.
It should do whatever setup is required, and return true if the frame should be rendered, or false if it should be skipped.
Reimplemented from GraphicsOutput.
Definition at line 68 of file osxGraphicsBuffer.cxx.
References GraphicsOutput::begin_frame_spam(), GraphicsOutput::clear_cube_map_selection(), and GraphicsOutput::get_fb_properties().
[protected, virtual]
Closes the buffer right now.
Called from the window thread.
Reimplemented from GraphicsBuffer.
Definition at line 139 of file osxGraphicsBuffer.cxx.
Referenced by open_buffer().
This function will be called within the draw thread after rendering is completed for a given frame.
It should do whatever finalization is required.
Definition at line 116 of file osxGraphicsBuffer.cxx.
References GraphicsOutput::clear_cube_map_selection(), GraphicsOutput::copy_to_textures(), GraphicsOutput::end_frame_spam(), and GraphicsOutput::trigger_flip().
Opens the buffer right now.
Called from the window thread. Returns true if the buffer is successfully opened, or false if there was a problem.
Definition at line 159 of file osxGraphicsBuffer.cxx.
References osxGraphicsStateGuardian::build_gl(), close_buffer(), and Texture::up_to_power_2().