Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
vulkanserverbufferintegration.cpp File Reference
#include "vulkanserverbufferintegration.h"
#include <QtWaylandClient/private/qwaylanddisplay_p.h>
#include <QDebug>
#include <QtOpenGL/QOpenGLTexture>
#include <QtGui/QOpenGLContext>
#include <QtGui/qopengl.h>
#include <QtGui/QImage>
#include <QtCore/QCoreApplication>
+ Include dependency graph for vulkanserverbufferintegration.cpp:

Go to the source code of this file.

Classes

struct  QtWaylandClient::VulkanServerBufferGlFunctions
 

Namespaces

namespace  QtWaylandClient
 

Macros

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

Variables

static constexpr bool QtWaylandClient::sbiExtraDebug
 
static VulkanServerBufferGlFunctionsQtWaylandClient::funcs = nullptr
 

Macro Definition Documentation

◆ DECL_GL_FUNCTION

#define DECL_GL_FUNCTION (   name,
  type 
)     type name

Definition at line 24 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 27 of file vulkanserverbufferintegration.cpp.