7#include <private/qbackingstorerhisupport_p.h>
8#include <private/qbackingstoredefaultcompositor_p.h>
9#include <private/qwindow_p.h>
11#include <QtCore/private/qobject_p.h>
43 QPlatformTextureList::Flags
flags;
72 return d->textures.size();
78 return d->textures.at(
index).texture;
84 return d->textures.at(
index).textureExtra;
90 return d->textures.at(
index).source;
96 return d->textures.at(
index).flags;
102 return d->textures.at(
index).rect;
108 return d->textures.at(
index).clipRect;
114 if (on !=
d->locked) {
137 d->textures.append(bi);
152 d->textures.append(bi);
207 qreal sourceDevicePixelRatio,
211 bool translucentBackground)
262 TextureFlags *
flags)
const
301void QPlatformBackingStore::setBackingStore(
QBackingStore *backingStore)
381 qWarning(
"Rhi backingstore: graphics device lost, attempting to reinitialize");
386 qWarning(
"Rhi backingstore: failed to reinitialize after losing the device");
391#include "moc_qplatformbackingstore.cpp"
QRhiTexture * toTexture(const QPlatformBackingStore *backingStore, QRhi *rhi, QRhiResourceUpdateBatch *resourceUpdates, const QRegion &dirtyRegion, QPlatformBackingStore::TextureFlags *flags) const
QPlatformBackingStore::FlushResult flush(QPlatformBackingStore *backingStore, QRhi *rhi, QRhiSwapChain *swapchain, QWindow *window, qreal sourceDevicePixelRatio, const QRegion ®ion, const QPoint &offset, QPlatformTextureList *textures, bool translucentBackground)
void setConfig(const QPlatformBackingStoreRhiConfig &config)
void setWindow(QWindow *window)
void setFormat(const QSurfaceFormat &format)
QRhiSwapChain * swapChainForWindow(QWindow *window)
The QBackingStore class provides a drawing area for QWindow.
QList< QBackingstoreTextureInfo > textures
QPlatformTextureListPrivate()
QRhiTexture * textureExtra(int index) const
QRect geometry(int index) const
QRhiTexture * texture(int index) const
QRect clipRect(int index) const
QPlatformTextureList(QObject *parent=nullptr)
Flags flags(int index) const
void appendTexture(void *source, QRhiTexture *texture, const QRect &geometry, const QRect &clipRect=QRect(), Flags flags={ })
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
QSurfaceFormat format() const override
Returns the actual format of this window.
Combined button and popup list for selecting options.
static int area(const QSize &s)
#define Q_LOGGING_CATEGORY(name,...)
GLfloat GLfloat GLfloat w
[0]
GLuint const GLuint GLuint const GLuint * textures
GLenum GLuint GLintptr offset
GLsizei GLsizei GLchar * source
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QPlatformTextureList::Flags flags
QRhiTexture * textureExtra
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent