Returns the rendering context the receiver requires for the specified pixel format.
- macOS 10.5–10.14Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- Core Animation
The pixel format for the rendering context.
CGLContext with renderers for
This method is called when a rendering context is needed by the receiver. The default implementation allocates a new context with a null share context.
You should not call this method directly, it is intended to be overridden by subclasses.