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
QOpenGLProgramBinarySupportCheck Class Reference

#include <qopenglprogrambinarycache_p.h>

+ Inheritance diagram for QOpenGLProgramBinarySupportCheck:
+ Collaboration diagram for QOpenGLProgramBinarySupportCheck:

Public Member Functions

 QOpenGLProgramBinarySupportCheck (QOpenGLContext *context)
 
void invalidateResource () override
 
void freeResource (QOpenGLContext *) override
 
bool isSupported () const
 
- Public Member Functions inherited from QOpenGLSharedResource
 QOpenGLSharedResource (QOpenGLContextGroup *group)
 
virtual ~QOpenGLSharedResource ()=0
 
QOpenGLContextGroupgroup () const
 
void free ()
 

Additional Inherited Members

Detailed Description

Definition at line 86 of file qopenglprogrambinarycache_p.h.

Constructor & Destructor Documentation

◆ QOpenGLProgramBinarySupportCheck()

QOpenGLProgramBinarySupportCheck::QOpenGLProgramBinarySupportCheck ( QOpenGLContext * context)

Definition at line 448 of file qopenglprogrambinarycache.cpp.

References Qt::AA_DisableShaderDiskCache, QOpenGLContext::currentContext(), GL_NUM_PROGRAM_BINARY_FORMATS, GLint(), qCDebug, qEnvironmentVariableIntValue(), and QCoreApplication::testAttribute().

+ Here is the call graph for this function:

Member Function Documentation

◆ freeResource()

void QOpenGLProgramBinarySupportCheck::freeResource ( QOpenGLContext * )
inlineoverridevirtual

Implements QOpenGLSharedResource.

Definition at line 91 of file qopenglprogrambinarycache_p.h.

◆ invalidateResource()

void QOpenGLProgramBinarySupportCheck::invalidateResource ( )
inlineoverridevirtual

Implements QOpenGLSharedResource.

Definition at line 90 of file qopenglprogrambinarycache_p.h.

◆ isSupported()

bool QOpenGLProgramBinarySupportCheck::isSupported ( ) const
inline

Definition at line 93 of file qopenglprogrambinarycache_p.h.

Referenced by QOpenGLShaderProgramPrivate::isCacheDisabled(), and QRhiGles2::isProgramBinaryDiskCacheEnabled().

+ Here is the caller graph for this function:

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