diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-04-28 18:15:03 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-04-29 22:36:00 +0200 |
commit | 1c0a7a87e9e8dd630d35b2c3e57d45c42f6d12bd (patch) | |
tree | 6bba3482a817ecf5dcd732de633131e0b0a9416e /src/gui/rhi/qrhi_p_p.h | |
parent | f2347077f503d103974636cae9319d127714e2e4 (diff) |
rhi: Add backing format hint to QRhiRenderBuffer
Task-number: QTBUG-83707
Change-Id: I63548f4ace70af614a2aa082663bb3ae9fbedc25
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhi_p_p.h')
-rw-r--r-- | src/gui/rhi/qrhi_p_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/rhi/qrhi_p_p.h b/src/gui/rhi/qrhi_p_p.h index 4a4c044a29..95f04fbd1b 100644 --- a/src/gui/rhi/qrhi_p_p.h +++ b/src/gui/rhi/qrhi_p_p.h @@ -80,7 +80,8 @@ public: virtual QRhiRenderBuffer *createRenderBuffer(QRhiRenderBuffer::Type type, const QSize &pixelSize, int sampleCount, - QRhiRenderBuffer::Flags flags) = 0; + QRhiRenderBuffer::Flags flags, + QRhiTexture::Format backingFormatHint) = 0; virtual QRhiTexture *createTexture(QRhiTexture::Format format, const QSize &pixelSize, int sampleCount, |