Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
CurrentContext Class Reference
+ Collaboration diagram for CurrentContext:

Public Member Functions

 CurrentContext ()
 
 ~CurrentContext ()
 
QOpenGLContextcontext ()
 

Detailed Description

Definition at line 57 of file vulkanserverbufferintegration.cpp.

Constructor & Destructor Documentation

◆ CurrentContext()

CurrentContext::CurrentContext ( )
inline

Definition at line 60 of file vulkanserverbufferintegration.cpp.

References QOffscreenSurface::create(), QOpenGLContext::create(), QOpenGLContext::currentContext(), QOpenGLContext::format(), QOpenGLContext::globalShareContext(), QOpenGLContext::makeCurrent(), qCritical, QOffscreenSurface::setFormat(), and QOpenGLContext::setShareContext().

+ Here is the call graph for this function:

◆ ~CurrentContext()

CurrentContext::~CurrentContext ( )
inline

Definition at line 81 of file vulkanserverbufferintegration.cpp.

References QOpenGLContext::doneCurrent().

+ Here is the call graph for this function:

Member Function Documentation

◆ context()

QOpenGLContext * CurrentContext::context ( )
inline

Definition at line 86 of file vulkanserverbufferintegration.cpp.

References QOpenGLContext::currentContext().

Referenced by VulkanServerBufferIntegration::createServerBufferFromData(), VulkanServerBufferIntegration::createServerBufferFromImage(), and VulkanServerBuffer::toOpenGlTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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