scapesraka.blogg.se

Mac querious 2 enum
Mac querious 2 enum










mac querious 2 enum

Used to request single buffering, which might result in flickering when OpenGL rendering is done directly to screen without an intermediate offscreen buffer. The default, unspecified swap behaviour of the platform. To get access to the deprecated functionality for the core profile in the set OpenGL version you can use the QSurfaceFormat format option QSurfaceFormat::DeprecatedFunctions. Note that the core profile might still contain functionality that is deprecated and scheduled for removal in a higher version. Profiles are exposed in OpenGL 3.2 and above, and are used to choose between a restricted core profile, and a compatibility profile which might contain deprecated support functionality. This enum is used to specify the OpenGL context profile, in conjunction with QSurfaceFormat::setMajorVersion() and QSurfaceFormat::setMinorVersion(). enum QSurfaceFormat:: OpenGLContextProfile It stores an OR combination of FormatOption values. The FormatOptions type is a typedef for QFlags. This allows the GPU to operate on protected resources (surfaces, buffers, textures), for example DRM-protected video content. See isValid() for more information on this.Įnables access to protected content.

MAC QUERIOUS 2 ENUM WINDOWS

Platforms that support dynamically enabling the monitoring of the loss of context, such as, Windows with WGL, or Linux/X11 (xcb) with GLX, will monitor the status in every call to makeCurrent(). Additionally, some implementations may choose to report context loss regardless of this flag. Note that not setting this flag does not guarantee that context state loss never occurs. The status is then queryable via the context's isValid() function. This requires OpenGL version 3.0 or higher.Įnables notifications about resets of the OpenGL context. If not specified, you should get a forward compatible context without support functionality marked as deprecated. Used to request that deprecated functions be included in the OpenGL context profile. Used to request a debug context with extra debugging information. Used to request stereo buffers in the surface format. TestOption(QSurfaceFormat::FormatOption option) const SetSwapBehavior(QSurfaceFormat::SwapBehavior behavior) SetRenderableType(QSurfaceFormat::RenderableType type) SetProfile(QSurfaceFormat::OpenGLContextProfile profile) SetOptions(QSurfaceFormat::FormatOptions options) SetOption(QSurfaceFormat::FormatOption option, bool on = true) SetColorSpace(QSurfaceFormat::ColorSpace colorSpace) SetColorSpace(const QColorSpace & colorSpace) QSurfaceFormat(QSurfaceFormat::FormatOptions options) QSurfaceFormat(const QSurfaceFormat & other)












Mac querious 2 enum