4#ifndef QBACKINGSTOREDEFAULTCOMPOSITOR_P_H
5#define QBACKINGSTOREDEFAULTCOMPOSITOR_P_H
18#include <qpa/qplatformbackingstore.h>
34 QPlatformBackingStore::TextureFlags *
flags)
const;
40 qreal sourceDevicePixelRatio,
44 bool translucentBackground);
47 enum UpdateUniformOption {
49 NeedsRedBlueSwap = 0x01,
50 NeedsAlphaRotate = 0x02,
58 QPlatformBackingStore::TextureFlags *
flags)
const;
60 mutable QRhi *m_rhi =
nullptr;
76 bool isValid()
const {
return ubuf && srb; }
86 lastUsedTexture =
nullptr;
87 lastUsedTextureExtra =
nullptr;
90 PerQuadData m_widgetQuadData;
~QBackingStoreDefaultCompositor()
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)
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
\inmodule QtCore\reentrant
The QRegion class specifies a clip region for a painter.
Combined button and popup list for selecting options.
GLuint const GLuint GLuint const GLuint * textures
GLenum GLuint GLintptr offset
GLsizei GLsizei GLchar * source