498 samples =
qBound(0,
int(samples),
int(maxSamples));
652 format.setSamples(
int(samples));
654 format.setInternalTextureFormat(internal_format);
#define GL_RENDERBUFFER_SAMPLES_EXT
QScopedPointer< QGLContextPrivate > d_ptr
#define GL_TEXTURE_MIN_FILTER
#define GL_DEPTH_COMPONENT
QGLFBOGLPaintDevice glDevice
#define glGenRenderbuffers
bool qt_resolve_framebufferobject_extensions(QGLContext *ctx)
#define GL_TEXTURE_WRAP_S
#define GL_FRAMEBUFFER_EXT
#define GL_DEPTH24_STENCIL8_EXT
#define glBindFramebuffer
#define glRenderbufferStorageMultisampleEXT
#define QT_RESET_GLERROR()
#define glDeleteRenderbuffers
#define GL_COLOR_ATTACHMENT0_EXT
static const QGLContext * currentContext()
Returns the current context, i.e.
#define GL_STENCIL_ATTACHMENT_EXT
int width() const
Returns the width.
QGLSharedResourceGuard fbo_guard
#define QT_CHECK_GLERROR()
The QGLContext class encapsulates an OpenGL rendering context.
#define GL_DEPTH_COMPONENT16
#define GL_RENDERBUFFER_EXT
#define glDeleteFramebuffers
void setContext(const QGLContext *context)
#define glGenFramebuffers
#define GL_DEPTH_ATTACHMENT_EXT
#define glGetRenderbufferParameteriv
#define glBindRenderbuffer
bool checkFramebufferStatus() const
#define GL_TEXTURE_WRAP_T
#define GL_MAX_SAMPLES_EXT
#define GL_STENCIL_INDEX8_EXT
QGLFramebufferObject::Attachment fbo_attachment
Q_DECL_CONSTEXPR const T & qBound(const T &min, const T &val, const T &max)
void setFBO(QGLFramebufferObject *f, QGLFramebufferObject::Attachment attachment)
int height() const
Returns the height.
static Extensions glExtensions()
#define glFramebufferRenderbuffer
#define GL_TEXTURE_MAG_FILTER
#define glFramebufferTexture2D
#define glRenderbufferStorage
#define GL_DEPTH_COMPONENT24_OES