Global Variable

NSOpenGLCPSwapRectangleEnable

Enables or disables the swap rectangle in the context’s drawable object.

Declaration

const NSOpenGLContextParameter NSOpenGLCPSwapRectangleEnable;

Discussion

If enabled, the area that is affected by the flushBuffer method is restricted to a rectangle specified by the values of NSOpenGLCPSwapRectangle. However, the portion of the drawable object that lies outside of the swap rectangle may still be flushed to the screen by a visibility change or other user interface action.

See Also

Deprecated

NSOpenGLCPSwapInterval

Sets or gets the swap interval.

Deprecated
NSOpenGLCPSurfaceOrder

Get or set the surface order.

Deprecated
NSOpenGLCPSurfaceOpacity

Set or get the surface opacity.

Deprecated
NSOpenGLCPSurfaceBackingSize

Set or get the height and width of the back buffer. You can use this to let the system scale an image automatically on swapping to a variable-size buffer. The back buffer size remains fixed at the size that you set up regardless of whether the image is resized to display larger onscreen.

Deprecated
NSOpenGLCPReclaimResources

Enable or disable reclaiming resources.

Deprecated
NSOpenGLCPCurrentRendererID

The current renderer ID. You can get this setting.

Deprecated
NSOpenGLCPGPUVertexProcessing

The CPU is currently processing vertices with the GPU. You can get this state.

Deprecated
NSOpenGLCPGPUFragmentProcessing

The CPU is currently processing fragments with the GPU. You can get this state.

Deprecated
NSOpenGLCPHasDrawable

Returns a Boolean that indicates whether a drawable is attached to the context.

Deprecated
NSOpenGLCPMPSwapsInFlight

The number of frames that the multithreaded OpenGL engine can process before stalling. The default value is 1. New frames are queued when the application calls the flushBuffer method. A larger number may improve overall performance, but adds latency between when a frame is rendered and when a frame is displayed. Interactive applications should leave this value at the default.

Deprecated
NSOpenGLCPSwapRectangle

Sets or gets the swap rectangle.

Deprecated
NSOpenGLCPRasterizationEnable

If disabled, all rasterization of 2D and 3D primitives is disabled.

Deprecated
NSOpenGLCPStateValidation

If enabled, OpenGL inspects the context state each time the update method is called to ensure that it is in an appropriate state for switching between renderers.

Deprecated