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

Referenced by VulkanServerBufferGlFunctions::init().

Variable Documentation

◆ funcs

◆ vsbiExtraDebug

QT_BEGIN_NAMESPACE constexpr bool vsbiExtraDebug = false
staticconstexpr