Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
vulkanserverbufferintegration.cpp File Reference
#include "vulkanserverbufferintegration.h"
#include "vulkanwrapper.h"
#include <QtOpenGL/QOpenGLTexture>
#include <QtGui/QOpenGLContext>
#include <QtGui/QOffscreenSurface>
#include <QtGui/qopengl.h>
#include <unistd.h>
#include <fcntl.h>
#include <QtCore/QDebug>
+ Include dependency graph for vulkanserverbufferintegration.cpp:

Go to the source code of this file.

Classes

struct  VulkanServerBufferGlFunctions
 
class  CurrentContext
 

Macros

#define DECL_GL_FUNCTION(name, type)    type name
 
#define FIND_GL_FUNCTION(name, type)
 

Variables

static QT_BEGIN_NAMESPACE constexpr bool vsbiExtraDebug = false
 
static VulkanServerBufferGlFunctionsfuncs = nullptr
 

Macro Definition Documentation

◆ DECL_GL_FUNCTION

#define DECL_GL_FUNCTION (   name,
  type 
)     type name

Definition at line 21 of file vulkanserverbufferintegration.cpp.

◆ FIND_GL_FUNCTION

#define FIND_GL_FUNCTION (   name,
  type 
)
Value:
do { \
name = reinterpret_cast<type>(glContext->getProcAddress(#name)); \
if (!name) { \
qWarning() << "ERROR in GL proc lookup. Could not find " #name; \
return false; \
} \
} while (0)
GLenum type
GLuint name

Definition at line 24 of file vulkanserverbufferintegration.cpp.

Variable Documentation

◆ funcs

◆ vsbiExtraDebug

QT_BEGIN_NAMESPACE constexpr bool vsbiExtraDebug = false
staticconstexpr