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>.
|
#include <qopenxrgraphics_opengl_p.h>
Public Member Functions | |
QOpenXRGraphicsOpenGL () | |
bool | isExtensionSupported (const QVector< XrExtensionProperties > &extensions) const override |
const char * | extensionName () const override |
const XrBaseInStructure * | handle () const override |
bool | setupGraphics (const XrInstance &instance, XrSystemId &systemId, const QQuickGraphicsConfiguration &quickConfig) override |
bool | finializeGraphics (QRhi *rhi) override |
int64_t | colorSwapchainFormat (const QVector< int64_t > &swapchainFormats) const override |
int64_t | depthSwapchainFormat (const QVector< int64_t > &swapchainFormats) const override |
QVector< XrSwapchainImageBaseHeader * > | allocateSwapchainImages (int count, XrSwapchain swapchain) override |
QQuickRenderTarget | renderTarget (const XrSwapchainSubImage &subImage, const XrSwapchainImageBaseHeader *swapchainImage, quint64 swapchainFormat, int samples, int arraySize, const XrSwapchainImageBaseHeader *depthSwapchainImage, quint64 depthSwapchainFormat) const override |
void | setupWindow (QQuickWindow *window) override |
void | releaseResources () override |
Public Member Functions inherited from QAbstractOpenXRGraphics | |
QAbstractOpenXRGraphics () | |
virtual | ~QAbstractOpenXRGraphics () |
Definition at line 26 of file qopenxrgraphics_opengl_p.h.
QOpenXRGraphicsOpenGL::QOpenXRGraphicsOpenGL | ( | ) |
Definition at line 39 of file qopenxrgraphics_opengl.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 151 of file qopenxrgraphics_opengl.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 120 of file qopenxrgraphics_opengl.cpp.
References GL_RGBA8, and GL_RGBA8_SNORM.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 135 of file qopenxrgraphics_opengl.cpp.
References GL_DEPTH24_STENCIL8, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, and GL_DEPTH_COMPONENT32F.
Referenced by renderTarget().
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 66 of file qopenxrgraphics_opengl.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 94 of file qopenxrgraphics_opengl.cpp.
References context, QRhi::nativeHandles(), and qDebug.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 72 of file qopenxrgraphics_opengl.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 55 of file qopenxrgraphics_opengl.cpp.
References extension().
|
overridevirtual |
Reimplemented from QAbstractOpenXRGraphics.
Definition at line 229 of file qopenxrgraphics_opengl.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 164 of file qopenxrgraphics_opengl.cpp.
References QRhiTexture::arraySize(), QRhiTexture::createFrom(), QRhiTexture::D16, QRhiTexture::D24, QRhiTexture::D24S8, QRhiTexture::D32F, depthSwapchainFormat(), QRhiTexture::format(), GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32F, GL_RGBA8, GL_SRGB8_ALPHA8_EXT, GLuint, QQuickRenderTarget::MultisampleResolve, QRhi::newTexture(), QRhi::newTextureArray(), QRhiTexture::pixelSize(), QRhiTexture::RenderTarget, and QQuickRenderTarget::setDepthTexture().
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 78 of file qopenxrgraphics_opengl.cpp.
References OpenXRHelpers::checkXrResult(), and qWarning.
|
overridevirtual |
Reimplemented from QAbstractOpenXRGraphics.
Definition at line 224 of file qopenxrgraphics_opengl.cpp.
References window().