QtBase  v6.3.1
Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
Renderer Struct Reference

#include <hellowindow.h>

Inheritance diagram for Renderer:
Inheritance graph
[legend]
Collaboration diagram for Renderer:
Collaboration graph
[legend]

Public Slots

void render (HelloWindow *surface, qreal angle, const QColor &color)
 
void render ()
 
- Public Slots inherited from QObject
void deleteLater ()
 

Signals

void requestUpdate ()
 
void contextWanted ()
 
- Signals inherited from QObject
void destroyed (QObject *=nullptr)
 
void objectNameChanged (const QString &objectName, QPrivateSignal)
 

Public Member Functions

 Renderer (const QSurfaceFormat &format, Renderer *share=nullptr, QScreen *screen=nullptr)
 
QSurfaceFormat format () const
 
 Renderer (QOpenGLWidget *w)
 
void lockRenderer ()
 
void unlockRenderer ()
 
QMutexgrabMutex ()
 
QWaitConditiongrabCond ()
 
void prepareExit ()
 
 Renderer (VulkanWindow *w, int initialCount)
 
void preInitResources () override
 
void initResources () override
 
void initSwapChainResources () override
 
void releaseSwapChainResources () override
 
void releaseResources () override
 
void startNextFrame () override
 
bool animating () const
 
void setAnimating (bool a)
 
int instanceCount () const
 
void addNew ()
 
void yaw (float degrees)
 
void pitch (float degrees)
 
void walk (float amount)
 
void strafe (float amount)
 
void setUseLogo (bool b)
 
 Renderer (QWindow *w, const QColor &bgColor, int rotationAxis)
 
 ~Renderer ()
 
void sendInit ()
 
void sendRender (bool newlyExposed)
 
void sendSurfaceGoingAway ()
 
void sendSyncSurfaceSize ()
 
void createRhi ()
 
void destroyRhi ()
 
void renderEvent (QEvent *e)
 
void init ()
 
void releaseSwapChain ()
 
void releaseResources ()
 
void render (bool newlyExposed, bool wakeBeforePresent)
 
- Public Member Functions inherited from QObject
Q_INVOKABLE QObject (QObject *parent=nullptr)
 
virtual ~QObject ()
 
virtual bool event (QEvent *event)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
QString objectName () const
 
void setObjectName (const QString &name)
 
QBindable< QStringbindableObjectName ()
 
bool isWidgetType () const
 
bool isWindowType () const
 
bool signalsBlocked () const noexcept
 
bool blockSignals (bool b) noexcept
 
QThreadthread () const
 
void moveToThread (QThread *thread)
 
int startTimer (int interval, Qt::TimerType timerType=Qt::CoarseTimer)
 
void killTimer (int id)
 
template<typename T >
T findChild (const QString &aName=QString(), Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (const QString &aName, Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
template<typename T >
QList< TfindChildren (Qt::FindChildOptions options=Qt::FindChildrenRecursively) const
 
const QObjectListchildren () const
 
void setParent (QObject *parent)
 
void installEventFilter (QObject *filterObj)
 
void removeEventFilter (QObject *obj)
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const
 
bool disconnect (const char *signal=nullptr, const QObject *receiver=nullptr, const char *member=nullptr) const
 
bool disconnect (const QObject *receiver, const char *member=nullptr) const
 
void dumpObjectTree () const
 
void dumpObjectInfo () const
 
bool setProperty (const char *name, const QVariant &value)
 
QVariant property (const char *name) const
 
QList< QByteArraydynamicPropertyNames () const
 
QBindingStoragebindingStorage ()
 
const QBindingStoragebindingStorage () const
 
QObjectparent () const
 
bool inherits (const char *classname) const
 

Public Attributes

QWindowwindow
 
Threadthread
 
QRhir = nullptr
 
QOffscreenSurfacefallbackSurface = nullptr
 
QColor m_bgColor
 
int m_rotationAxis
 
QList< QRhiResource * > m_releasePool
 
bool m_hasSwapChain = false
 
QRhiSwapChainm_sc = nullptr
 
QRhiRenderBufferm_ds = nullptr
 
QRhiRenderPassDescriptorm_rp = nullptr
 
QRhiBufferm_vbuf = nullptr
 
QRhiBufferm_ubuf = nullptr
 
QRhiTexturem_tex = nullptr
 
QRhiSamplerm_sampler = nullptr
 
QRhiShaderResourceBindingsm_srb = nullptr
 
QRhiGraphicsPipelinem_ps = nullptr
 
QRhiResourceUpdateBatchm_initialUpdates = nullptr
 
int m_frameCount = 0
 
VkDeviceSize vertUniSize
 
VkDeviceSize fragUniSize
 
VkDeviceSize uniMemStartOffset
 
Shader vs
 
Shader fs
 
VkDescriptorPool descPool = VK_NULL_HANDLE
 
VkDescriptorSetLayout descSetLayout = VK_NULL_HANDLE
 
VkDescriptorSet descSet
 
VkPipelineLayout pipelineLayout = VK_NULL_HANDLE
 
VkPipeline pipeline = VK_NULL_HANDLE
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
static QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *member, Qt::ConnectionType=Qt::AutoConnection)
 
static QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
static QMetaObject::Connection ::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, Func2 slot)
 
template<typename Func1 , typename Func2 >
static std::enable_if< QtPrivate::FunctionPointer< Func2 >::ArgumentCount==-1 &&!std::is_convertible_v< Func2, const char * >, QMetaObject::Connection >::type connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *context, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
static bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *member)
 
static bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &member)
 
static bool disconnect (const QMetaObject::Connection &)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiver, Func2 slot)
 
template<typename Func1 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const QObject *receiver, void **zero)
 
- Protected Types inherited from QOpenGLFunctions
enum  OpenGLFeature {
  Multitexture = 0x0001 , Shaders = 0x0002 , Buffers = 0x0004 , Framebuffers = 0x0008 ,
  BlendColor = 0x0010 , BlendEquation = 0x0020 , BlendEquationSeparate = 0x0040 , BlendFuncSeparate = 0x0080 ,
  BlendSubtract = 0x0100 , CompressedTextures = 0x0200 , Multisample = 0x0400 , StencilSeparate = 0x0800 ,
  NPOTTextures = 0x1000 , NPOTTextureRepeat = 0x2000 , FixedFunctionPipeline = 0x4000 , TextureRGFormats = 0x8000 ,
  MultipleRenderTargets = 0x10000 , BlendEquationAdvanced = 0x20000
}
 
- Protected Member Functions inherited from QObject
QObjectsender () const
 
int senderSignalIndex () const
 
int receivers (const char *signal) const
 
bool isSignalConnected (const QMetaMethod &signal) const
 
virtual void timerEvent (QTimerEvent *event)
 
virtual void childEvent (QChildEvent *event)
 
virtual void customEvent (QEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
 QObject (QObjectPrivate &dd, QObject *parent=nullptr)
 
- Protected Member Functions inherited from QOpenGLFunctions
 QOpenGLFunctions ()
 
 QOpenGLFunctions (QOpenGLContext *context)
 
 ~QOpenGLFunctions ()
 
QOpenGLFunctions::OpenGLFeatures openGLFeatures () const
 
bool hasOpenGLFeature (QOpenGLFunctions::OpenGLFeature feature) const
 
void initializeOpenGLFunctions ()
 
void glBindTexture (GLenum target, GLuint texture)
 
void glBlendFunc (GLenum sfactor, GLenum dfactor)
 
void glClear (GLbitfield mask)
 
void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void glClearStencil (GLint s)
 
void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
 
void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
 
void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
 
void glCullFace (GLenum mode)
 
void glDeleteTextures (GLsizei n, const GLuint *textures)
 
void glDepthFunc (GLenum func)
 
void glDepthMask (GLboolean flag)
 
void glDisable (GLenum cap)
 
void glDrawArrays (GLenum mode, GLint first, GLsizei count)
 
void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
 
void glEnable (GLenum cap)
 
void glFinish ()
 
void glFlush ()
 
void glFrontFace (GLenum mode)
 
void glGenTextures (GLsizei n, GLuint *textures)
 
void glGetBooleanv (GLenum pname, GLboolean *params)
 
GLenum glGetError ()
 
void glGetFloatv (GLenum pname, GLfloat *params)
 
void glGetIntegerv (GLenum pname, GLint *params)
 
const GLubyte * glGetString (GLenum name)
 
void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params)
 
void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glHint (GLenum target, GLenum mode)
 
GLboolean glIsEnabled (GLenum cap)
 
GLboolean glIsTexture (GLuint texture)
 
void glLineWidth (GLfloat width)
 
void glPixelStorei (GLenum pname, GLint param)
 
void glPolygonOffset (GLfloat factor, GLfloat units)
 
void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
 
void glScissor (GLint x, GLint y, GLsizei width, GLsizei height)
 
void glStencilFunc (GLenum func, GLint ref, GLuint mask)
 
void glStencilMask (GLuint mask)
 
void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass)
 
void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
 
void glTexParameterf (GLenum target, GLenum pname, GLfloat param)
 
void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params)
 
void glTexParameteri (GLenum target, GLenum pname, GLint param)
 
void glTexParameteriv (GLenum target, GLenum pname, const GLint *params)
 
void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
 
void glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
 
void glActiveTexture (GLenum texture)
 
void glAttachShader (GLuint program, GLuint shader)
 
void glBindAttribLocation (GLuint program, GLuint index, const char *name)
 
void glBindBuffer (GLenum target, GLuint buffer)
 
void glBindFramebuffer (GLenum target, GLuint framebuffer)
 
void glBindRenderbuffer (GLenum target, GLuint renderbuffer)
 
void glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 
void glBlendEquation (GLenum mode)
 
void glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha)
 
void glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
 
void glBufferData (GLenum target, qopengl_GLsizeiptr size, const void *data, GLenum usage)
 
void glBufferSubData (GLenum target, qopengl_GLintptr offset, qopengl_GLsizeiptr size, const void *data)
 
GLenum glCheckFramebufferStatus (GLenum target)
 
void glClearDepthf (GLclampf depth)
 
void glCompileShader (GLuint shader)
 
void glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data)
 
void glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data)
 
GLuint glCreateProgram ()
 
GLuint glCreateShader (GLenum type)
 
void glDeleteBuffers (GLsizei n, const GLuint *buffers)
 
void glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers)
 
void glDeleteProgram (GLuint program)
 
void glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers)
 
void glDeleteShader (GLuint shader)
 
void glDepthRangef (GLclampf zNear, GLclampf zFar)
 
void glDetachShader (GLuint program, GLuint shader)
 
void glDisableVertexAttribArray (GLuint index)
 
void glEnableVertexAttribArray (GLuint index)
 
void glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
 
void glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
 
void glGenBuffers (GLsizei n, GLuint *buffers)
 
void glGenerateMipmap (GLenum target)
 
void glGenFramebuffers (GLsizei n, GLuint *framebuffers)
 
void glGenRenderbuffers (GLsizei n, GLuint *renderbuffers)
 
void glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name)
 
void glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders)
 
GLint glGetAttribLocation (GLuint program, const char *name)
 
void glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params)
 
void glGetProgramiv (GLuint program, GLenum pname, GLint *params)
 
void glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei *length, char *infolog)
 
void glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params)
 
void glGetShaderiv (GLuint shader, GLenum pname, GLint *params)
 
void glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei *length, char *infolog)
 
void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
 
void glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei *length, char *source)
 
void glGetUniformfv (GLuint program, GLint location, GLfloat *params)
 
void glGetUniformiv (GLuint program, GLint location, GLint *params)
 
GLint glGetUniformLocation (GLuint program, const char *name)
 
void glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params)
 
void glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params)
 
void glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer)
 
GLboolean glIsBuffer (GLuint buffer)
 
GLboolean glIsFramebuffer (GLuint framebuffer)
 
GLboolean glIsProgram (GLuint program)
 
GLboolean glIsRenderbuffer (GLuint renderbuffer)
 
GLboolean glIsShader (GLuint shader)
 
void glLinkProgram (GLuint program)
 
void glReleaseShaderCompiler ()
 
void glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
 
void glSampleCoverage (GLclampf value, GLboolean invert)
 
void glShaderBinary (GLint n, const GLuint *shaders, GLenum binaryformat, const void *binary, GLint length)
 
void glShaderSource (GLuint shader, GLsizei count, const char **string, const GLint *length)
 
void glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask)
 
void glStencilMaskSeparate (GLenum face, GLuint mask)
 
void glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass)
 
void glUniform1f (GLint location, GLfloat x)
 
void glUniform1fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform1i (GLint location, GLint x)
 
void glUniform1iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform2f (GLint location, GLfloat x, GLfloat y)
 
void glUniform2fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform2i (GLint location, GLint x, GLint y)
 
void glUniform2iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z)
 
void glUniform3fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform3i (GLint location, GLint x, GLint y, GLint z)
 
void glUniform3iv (GLint location, GLsizei count, const GLint *v)
 
void glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void glUniform4fv (GLint location, GLsizei count, const GLfloat *v)
 
void glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w)
 
void glUniform4iv (GLint location, GLsizei count, const GLint *v)
 
void glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
 
void glUseProgram (GLuint program)
 
void glValidateProgram (GLuint program)
 
void glVertexAttrib1f (GLuint indx, GLfloat x)
 
void glVertexAttrib1fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y)
 
void glVertexAttrib2fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z)
 
void glVertexAttrib3fv (GLuint indx, const GLfloat *values)
 
void glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
 
void glVertexAttrib4fv (GLuint indx, const GLfloat *values)
 
void glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *ptr)
 
- Static Protected Member Functions inherited from QOpenGLFunctions
static bool isInitialized (const QOpenGLFunctionsPrivate *d)
 
- Protected Attributes inherited from QObject
QScopedPointer< QObjectDatad_ptr
 
- Protected Attributes inherited from QOpenGLFunctions
QOpenGLFunctionsPrivated_ptr
 
- Properties inherited from QObject
QString objectName
 the name of this object More...
 

Detailed Description

Definition at line 62 of file hellowindow.h.

Constructor & Destructor Documentation

◆ Renderer() [1/4]

Renderer::Renderer ( const QSurfaceFormat format,
Renderer share = nullptr,
QScreen screen = nullptr 
)
explicit

Definition at line 59 of file hellowindow.cpp.

Here is the call graph for this function:

◆ Renderer() [2/4]

Renderer::Renderer ( QOpenGLWidget w)
explicit

Definition at line 78 of file renderer.cpp.

◆ Renderer() [3/4]

Renderer::Renderer ( VulkanWindow w,
int  initialCount 
)

Definition at line 74 of file renderer.cpp.

Here is the call graph for this function:

◆ Renderer() [4/4]

Renderer::Renderer ( QWindow w,
const QColor bgColor,
int  rotationAxis 
)

Definition at line 321 of file multiwindow_threaded.cpp.

◆ ~Renderer()

Renderer::~Renderer ( )

Definition at line 334 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addNew()

void Renderer::addNew ( )

Definition at line 1009 of file renderer.cpp.

Here is the caller graph for this function:

◆ animating()

bool Renderer::animating ( ) const
inline

Definition at line 74 of file renderer.h.

Here is the caller graph for this function:

◆ contextWanted

void Renderer::contextWanted ( )
signal

◆ createRhi()

void Renderer::createRhi ( )

Definition at line 345 of file multiwindow_threaded.cpp.

Here is the caller graph for this function:

◆ destroyRhi()

void Renderer::destroyRhi ( )

Definition at line 390 of file multiwindow_threaded.cpp.

Here is the caller graph for this function:

◆ format()

QSurfaceFormat Renderer::format ( ) const
inline

Definition at line 70 of file hellowindow.h.

Here is the caller graph for this function:

◆ grabCond()

QWaitCondition* Renderer::grabCond ( )
inline

Definition at line 75 of file renderer.h.

Here is the caller graph for this function:

◆ grabMutex()

QMutex* Renderer::grabMutex ( )
inline

Definition at line 74 of file renderer.h.

Here is the caller graph for this function:

◆ init()

void Renderer::init ( )

Definition at line 440 of file multiwindow_threaded.cpp.

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

◆ initResources()

void Renderer::initResources ( )
override

Definition at line 109 of file renderer.cpp.

◆ initSwapChainResources()

void Renderer::initSwapChainResources ( )
override

Definition at line 511 of file renderer.cpp.

Here is the call graph for this function:

◆ instanceCount()

int Renderer::instanceCount ( ) const
inline

Definition at line 77 of file renderer.h.

Here is the caller graph for this function:

◆ lockRenderer()

void Renderer::lockRenderer ( )
inline

Definition at line 72 of file renderer.h.

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

◆ pitch()

void Renderer::pitch ( float  degrees)

Definition at line 1022 of file renderer.cpp.

Here is the call graph for this function:

◆ preInitResources()

void Renderer::preInitResources ( )
override

Definition at line 97 of file renderer.cpp.

Here is the call graph for this function:

◆ prepareExit()

void Renderer::prepareExit ( )
inline

Definition at line 76 of file renderer.h.

Here is the call graph for this function:

◆ releaseResources() [1/2]

void Renderer::releaseResources ( )

◆ releaseResources() [2/2]

void Renderer::releaseResources ( )
override

Definition at line 532 of file renderer.cpp.

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

◆ releaseSwapChain()

void Renderer::releaseSwapChain ( )

Definition at line 521 of file multiwindow_threaded.cpp.

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

◆ releaseSwapChainResources()

void Renderer::releaseSwapChainResources ( )
override

Definition at line 519 of file renderer.cpp.

Here is the call graph for this function:

◆ render [1/3]

void Renderer::render ( )
slot

Definition at line 103 of file renderer.cpp.

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

◆ render() [2/3]

void Renderer::render ( bool  newlyExposed,
bool  wakeBeforePresent 
)

Definition at line 538 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ render [3/3]

void Renderer::render ( HelloWindow surface,
qreal  angle,
const QColor color 
)
slot

Definition at line 141 of file hellowindow.cpp.

Here is the call graph for this function:

◆ renderEvent()

void Renderer::renderEvent ( QEvent e)

Definition at line 397 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ requestUpdate

void Renderer::requestUpdate ( )
signal
Here is the caller graph for this function:

◆ sendInit()

void Renderer::sendInit ( )

Definition at line 650 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ sendRender()

void Renderer::sendRender ( bool  newlyExposed)

Definition at line 656 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ sendSurfaceGoingAway()

void Renderer::sendSurfaceGoingAway ( )

Definition at line 662 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ sendSyncSurfaceSize()

void Renderer::sendSyncSurfaceSize ( )

Definition at line 676 of file multiwindow_threaded.cpp.

Here is the call graph for this function:

◆ setAnimating()

void Renderer::setAnimating ( bool  a)
inline

Definition at line 75 of file renderer.h.

Here is the caller graph for this function:

◆ setUseLogo()

void Renderer::setUseLogo ( bool  b)

Definition at line 1043 of file renderer.cpp.

Here is the caller graph for this function:

◆ startNextFrame()

void Renderer::startNextFrame ( )
override

Definition at line 875 of file renderer.cpp.

Here is the call graph for this function:

◆ strafe()

void Renderer::strafe ( float  amount)

Definition at line 1036 of file renderer.cpp.

Here is the call graph for this function:

◆ unlockRenderer()

void Renderer::unlockRenderer ( )
inline

Definition at line 73 of file renderer.h.

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

◆ walk()

void Renderer::walk ( float  amount)

Definition at line 1029 of file renderer.cpp.

Here is the call graph for this function:

◆ yaw()

void Renderer::yaw ( float  degrees)

Definition at line 1015 of file renderer.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ descPool

VkDescriptorPool Renderer::descPool = VK_NULL_HANDLE

Definition at line 115 of file renderer.h.

◆ descSet

VkDescriptorSet Renderer::descSet

Definition at line 117 of file renderer.h.

◆ descSetLayout

VkDescriptorSetLayout Renderer::descSetLayout = VK_NULL_HANDLE

Definition at line 116 of file renderer.h.

◆ fallbackSurface

QOffscreenSurface* Renderer::fallbackSurface = nullptr

Definition at line 257 of file multiwindow_threaded.cpp.

◆ fragUniSize

VkDeviceSize Renderer::fragUniSize

Definition at line 111 of file renderer.h.

◆ fs

Shader Renderer::fs

Definition at line 114 of file renderer.h.

◆ m_bgColor

QColor Renderer::m_bgColor

Definition at line 268 of file multiwindow_threaded.cpp.

◆ m_ds

QRhiRenderBuffer* Renderer::m_ds = nullptr

Definition at line 274 of file multiwindow_threaded.cpp.

◆ m_frameCount

int Renderer::m_frameCount = 0

Definition at line 287 of file multiwindow_threaded.cpp.

◆ m_hasSwapChain

bool Renderer::m_hasSwapChain = false

Definition at line 272 of file multiwindow_threaded.cpp.

◆ m_initialUpdates

QRhiResourceUpdateBatch* Renderer::m_initialUpdates = nullptr

Definition at line 283 of file multiwindow_threaded.cpp.

◆ m_ps

QRhiGraphicsPipeline* Renderer::m_ps = nullptr

Definition at line 282 of file multiwindow_threaded.cpp.

◆ m_releasePool

QList<QRhiResource *> Renderer::m_releasePool

Definition at line 271 of file multiwindow_threaded.cpp.

◆ m_rotationAxis

int Renderer::m_rotationAxis

Definition at line 269 of file multiwindow_threaded.cpp.

◆ m_rp

QRhiRenderPassDescriptor* Renderer::m_rp = nullptr

Definition at line 275 of file multiwindow_threaded.cpp.

◆ m_sampler

QRhiSampler* Renderer::m_sampler = nullptr

Definition at line 280 of file multiwindow_threaded.cpp.

◆ m_sc

QRhiSwapChain* Renderer::m_sc = nullptr

Definition at line 273 of file multiwindow_threaded.cpp.

◆ m_srb

QRhiShaderResourceBindings* Renderer::m_srb = nullptr

Definition at line 281 of file multiwindow_threaded.cpp.

◆ m_tex

QRhiTexture* Renderer::m_tex = nullptr

Definition at line 279 of file multiwindow_threaded.cpp.

◆ m_ubuf

QRhiBuffer* Renderer::m_ubuf = nullptr

Definition at line 278 of file multiwindow_threaded.cpp.

◆ m_vbuf

QRhiBuffer* Renderer::m_vbuf = nullptr

Definition at line 277 of file multiwindow_threaded.cpp.

◆ pipeline

VkPipeline Renderer::pipeline = VK_NULL_HANDLE

Definition at line 119 of file renderer.h.

◆ pipelineLayout

VkPipelineLayout Renderer::pipelineLayout = VK_NULL_HANDLE

Definition at line 118 of file renderer.h.

◆ r

QRhi* Renderer::r = nullptr

Definition at line 255 of file multiwindow_threaded.cpp.

◆ thread

Thread* Renderer::thread

Definition at line 254 of file multiwindow_threaded.cpp.

◆ uniMemStartOffset

VkDeviceSize Renderer::uniMemStartOffset

Definition at line 112 of file renderer.h.

◆ vertUniSize

VkDeviceSize Renderer::vertUniSize

Definition at line 110 of file renderer.h.

◆ vs

Shader Renderer::vs

Definition at line 113 of file renderer.h.

◆ window

QWindow* Renderer::window

Definition at line 253 of file multiwindow_threaded.cpp.


The documentation for this struct was generated from the following files: