Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QOpenGLConfig::Gpu Struct Reference

#include <qopengl_p.h>

+ Collaboration diagram for QOpenGLConfig::Gpu:

Public Member Functions

 Gpu ()
 
bool isValid () const
 
bool equals (const Gpu &other) const
 

Static Public Member Functions

static Gpu fromDevice (uint vendorId, uint deviceId, QVersionNumber driverVersion, const QByteArray &driverDescription)
 
static Gpu fromGLVendor (const QByteArray &glVendor)
 
static Gpu fromContext ()
 

Public Attributes

uint vendorId
 
uint deviceId
 
QVersionNumber driverVersion
 
QByteArray driverDescription
 
QByteArray glVendor
 

Detailed Description

Definition at line 48 of file qopengl_p.h.

Constructor & Destructor Documentation

◆ Gpu()

QOpenGLConfig::Gpu::Gpu ( )
inline

Definition at line 49 of file qopengl_p.h.

Member Function Documentation

◆ equals()

bool QOpenGLConfig::Gpu::equals ( const Gpu & other) const
inline

Definition at line 51 of file qopengl_p.h.

References other().

+ Here is the call graph for this function:

◆ fromContext()

QOpenGLConfig::Gpu QOpenGLConfig::Gpu::fromContext ( )
static

Definition at line 460 of file qopengl.cpp.

References QOpenGLContext::currentContext(), glVendor, QByteArray(), and qWarning.

+ Here is the call graph for this function:

◆ fromDevice()

static Gpu QOpenGLConfig::Gpu::fromDevice ( uint vendorId,
uint deviceId,
QVersionNumber driverVersion,
const QByteArray & driverDescription )
inlinestatic

Definition at line 62 of file qopengl_p.h.

References deviceId, driverDescription, driverVersion, and vendorId.

◆ fromGLVendor()

static Gpu QOpenGLConfig::Gpu::fromGLVendor ( const QByteArray & glVendor)
inlinestatic

Definition at line 71 of file qopengl_p.h.

References glVendor.

◆ isValid()

bool QOpenGLConfig::Gpu::isValid ( ) const
inline

Definition at line 50 of file qopengl_p.h.

Member Data Documentation

◆ deviceId

uint QOpenGLConfig::Gpu::deviceId

Definition at line 57 of file qopengl_p.h.

Referenced by fromDevice(), matches(), and qHash().

◆ driverDescription

QByteArray QOpenGLConfig::Gpu::driverDescription

Definition at line 59 of file qopengl_p.h.

Referenced by fromDevice(), and matches().

◆ driverVersion

QVersionNumber QOpenGLConfig::Gpu::driverVersion

Definition at line 58 of file qopengl_p.h.

Referenced by fromDevice(), matches(), and qHash().

◆ glVendor

QByteArray QOpenGLConfig::Gpu::glVendor

Definition at line 60 of file qopengl_p.h.

Referenced by fromContext(), fromGLVendor(), and matches().

◆ vendorId

uint QOpenGLConfig::Gpu::vendorId

Definition at line 56 of file qopengl_p.h.

Referenced by fromDevice(), matches(), and qHash().


The documentation for this struct was generated from the following files: