Commit f2d394d4 authored by Laszlo Agocs's avatar Laszlo Agocs

Remove an unused internal rt base class

parent 69ff111a
......@@ -2109,14 +2109,6 @@ QRhiRenderTarget::QRhiRenderTarget(QRhiImplementation *rhi)
QWindow.
*/
/*!
\internal
*/
QRhiReferenceRenderTarget::QRhiReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiRenderTarget(rhi)
{
}
/*!
\class QRhiTextureRenderTarget
\inmodule QtRhi
......
......@@ -55,12 +55,6 @@ QT_BEGIN_NAMESPACE
#define QRHI_PROF QRhiProfilerPrivate *rhiP = m_rhi->profilerPrivateOrNull()
#define QRHI_PROF_F(f) for (bool qrhip_enabled = rhiP != nullptr; qrhip_enabled; qrhip_enabled = false) rhiP->f
class QRhiReferenceRenderTarget : public QRhiRenderTarget
{
protected:
QRhiReferenceRenderTarget(QRhiImplementation *rhi);
};
class QRhiImplementation
{
public:
......
......@@ -2330,7 +2330,7 @@ void QD3D11RenderPassDescriptor::release()
}
QD3D11ReferenceRenderTarget::QD3D11ReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiReferenceRenderTarget(rhi),
: QRhiRenderTarget(rhi),
d(rhi)
{
}
......
......@@ -146,7 +146,7 @@ struct QD3D11RenderTargetData
ID3D11DepthStencilView *dsv = nullptr;
};
struct QD3D11ReferenceRenderTarget : public QRhiReferenceRenderTarget
struct QD3D11ReferenceRenderTarget : public QRhiRenderTarget
{
QD3D11ReferenceRenderTarget(QRhiImplementation *rhi);
void release() override;
......
......@@ -2282,7 +2282,7 @@ void QGles2RenderPassDescriptor::release()
}
QGles2ReferenceRenderTarget::QGles2ReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiReferenceRenderTarget(rhi),
: QRhiRenderTarget(rhi),
d(rhi)
{
}
......
......@@ -139,7 +139,7 @@ struct QGles2RenderTargetData
int attCount = 0;
};
struct QGles2ReferenceRenderTarget : public QRhiReferenceRenderTarget
struct QGles2ReferenceRenderTarget : public QRhiRenderTarget
{
QGles2ReferenceRenderTarget(QRhiImplementation *rhi);
void release() override;
......
......@@ -2289,7 +2289,7 @@ void QMetalRenderPassDescriptor::release()
}
QMetalReferenceRenderTarget::QMetalReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiReferenceRenderTarget(rhi),
: QRhiRenderTarget(rhi),
d(new QMetalRenderTargetData)
{
}
......
......@@ -147,7 +147,7 @@ struct QMetalRenderPassDescriptor : public QRhiRenderPassDescriptor
struct QMetalRenderTargetData;
struct QMetalReferenceRenderTarget : public QRhiReferenceRenderTarget
struct QMetalReferenceRenderTarget : public QRhiRenderTarget
{
QMetalReferenceRenderTarget(QRhiImplementation *rhi);
~QMetalReferenceRenderTarget();
......
......@@ -447,7 +447,7 @@ void QNullRenderPassDescriptor::release()
}
QNullReferenceRenderTarget::QNullReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiReferenceRenderTarget(rhi),
: QRhiRenderTarget(rhi),
d(rhi)
{
}
......
......@@ -97,7 +97,7 @@ struct QNullRenderTargetData
float dpr = 1;
};
struct QNullReferenceRenderTarget : public QRhiReferenceRenderTarget
struct QNullReferenceRenderTarget : public QRhiRenderTarget
{
QNullReferenceRenderTarget(QRhiImplementation *rhi);
void release() override;
......
......@@ -4338,7 +4338,7 @@ void QVkRenderPassDescriptor::release()
}
QVkReferenceRenderTarget::QVkReferenceRenderTarget(QRhiImplementation *rhi)
: QRhiReferenceRenderTarget(rhi)
: QRhiRenderTarget(rhi)
{
}
......
......@@ -167,7 +167,7 @@ struct QVkRenderTargetData
static const int MAX_COLOR_ATTACHMENTS = 8;
};
struct QVkReferenceRenderTarget : public QRhiReferenceRenderTarget
struct QVkReferenceRenderTarget : public QRhiRenderTarget
{
QVkReferenceRenderTarget(QRhiImplementation *rhi);
void release() override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment