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_opengles_p.h>
Public Member Functions | |
QOpenXRGraphicsOpenGLES () | |
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 | releaseResources () override |
Public Member Functions inherited from QAbstractOpenXRGraphics | |
QAbstractOpenXRGraphics () | |
virtual | ~QAbstractOpenXRGraphics () |
virtual void | setupWindow (QQuickWindow *) |
Definition at line 26 of file qopenxrgraphics_opengles_p.h.
QOpenXRGraphicsOpenGLES::QOpenXRGraphicsOpenGLES | ( | ) |
Definition at line 17 of file qopenxrgraphics_opengles.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 124 of file qopenxrgraphics_opengles.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 92 of file qopenxrgraphics_opengles.cpp.
References GL_RGBA8_SNORM, and GL_SRGB8_ALPHA8_EXT.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 107 of file qopenxrgraphics_opengles.cpp.
References GL_DEPTH24_STENCIL8_OES, GL_DEPTH_COMPONENT16_OES, GL_DEPTH_COMPONENT24_OES, and GL_DEPTH_COMPONENT32F.
Referenced by renderTarget().
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 37 of file qopenxrgraphics_opengles.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 66 of file qopenxrgraphics_opengles.cpp.
References context, QRhi::nativeHandles(), and qDebug.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 43 of file qopenxrgraphics_opengles.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 26 of file qopenxrgraphics_opengles.cpp.
References extension().
|
overridevirtual |
Reimplemented from QAbstractOpenXRGraphics.
Definition at line 197 of file qopenxrgraphics_opengles.cpp.
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 137 of file qopenxrgraphics_opengles.cpp.
References QRhiTexture::arraySize(), QRhiTexture::createFrom(), QRhiTexture::D16, QRhiTexture::D24, QRhiTexture::D24S8, QRhiTexture::D32F, depthSwapchainFormat(), QRhiTexture::format(), GL_DEPTH_COMPONENT16_OES, GL_DEPTH_COMPONENT24_OES, GL_DEPTH_COMPONENT32F, GL_RGBA8_OES, GL_SRGB8_ALPHA8_EXT, GLuint, QQuickRenderTarget::MultisampleResolve, QRhi::newTexture(), QRhi::newTextureArray(), QRhiTexture::pixelSize(), QRhiTexture::RenderTarget, and QQuickRenderTarget::setDepthTexture().
|
overridevirtual |
Implements QAbstractOpenXRGraphics.
Definition at line 49 of file qopenxrgraphics_opengles.cpp.
References OpenXRHelpers::checkXrResult(), and qWarning.