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
vulkanserverbufferintegration.cpp File Reference

(b80b8ec9213e404062e449c7baad6db00483aef2)

#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.

Referenced by QtWaylandClient::VulkanServerBufferGlFunctions::init().