Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Laszlo Agocs
qtrhi
Commits
f2d394d4
Commit
f2d394d4
authored
Mar 07, 2019
by
Laszlo Agocs
Browse files
Remove an unused internal rt base class
parent
69ff111a
Changes
12
Hide whitespace changes
Inline
Side-by-side
src/rhi/qrhi.cpp
View file @
f2d394d4
...
...
@@ -2109,14 +2109,6 @@ QRhiRenderTarget::QRhiRenderTarget(QRhiImplementation *rhi)
QWindow.
*/
/*!
\internal
*/
QRhiReferenceRenderTarget
::
QRhiReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRenderTarget
(
rhi
)
{
}
/*!
\class QRhiTextureRenderTarget
\inmodule QtRhi
...
...
src/rhi/qrhi_p.h
View file @
f2d394d4
...
...
@@ -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:
...
...
src/rhi/qrhid3d11.cpp
View file @
f2d394d4
...
...
@@ -2330,7 +2330,7 @@ void QD3D11RenderPassDescriptor::release()
}
QD3D11ReferenceRenderTarget
::
QD3D11ReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRe
ferenceRe
nderTarget
(
rhi
),
:
QRhiRenderTarget
(
rhi
),
d
(
rhi
)
{
}
...
...
src/rhi/qrhid3d11_p.h
View file @
f2d394d4
...
...
@@ -146,7 +146,7 @@ struct QD3D11RenderTargetData
ID3D11DepthStencilView
*
dsv
=
nullptr
;
};
struct
QD3D11ReferenceRenderTarget
:
public
QRhiRe
ferenceRe
nderTarget
struct
QD3D11ReferenceRenderTarget
:
public
QRhiRenderTarget
{
QD3D11ReferenceRenderTarget
(
QRhiImplementation
*
rhi
);
void
release
()
override
;
...
...
src/rhi/qrhigles2.cpp
View file @
f2d394d4
...
...
@@ -2282,7 +2282,7 @@ void QGles2RenderPassDescriptor::release()
}
QGles2ReferenceRenderTarget
::
QGles2ReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRe
ferenceRe
nderTarget
(
rhi
),
:
QRhiRenderTarget
(
rhi
),
d
(
rhi
)
{
}
...
...
src/rhi/qrhigles2_p.h
View file @
f2d394d4
...
...
@@ -139,7 +139,7 @@ struct QGles2RenderTargetData
int
attCount
=
0
;
};
struct
QGles2ReferenceRenderTarget
:
public
QRhiRe
ferenceRe
nderTarget
struct
QGles2ReferenceRenderTarget
:
public
QRhiRenderTarget
{
QGles2ReferenceRenderTarget
(
QRhiImplementation
*
rhi
);
void
release
()
override
;
...
...
src/rhi/qrhimetal.mm
View file @
f2d394d4
...
...
@@ -2289,7 +2289,7 @@ void QMetalRenderPassDescriptor::release()
}
QMetalReferenceRenderTarget
::
QMetalReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRe
ferenceRe
nderTarget
(
rhi
),
:
QRhiRenderTarget
(
rhi
),
d
(
new
QMetalRenderTargetData
)
{
}
...
...
src/rhi/qrhimetal_p.h
View file @
f2d394d4
...
...
@@ -147,7 +147,7 @@ struct QMetalRenderPassDescriptor : public QRhiRenderPassDescriptor
struct
QMetalRenderTargetData
;
struct
QMetalReferenceRenderTarget
:
public
QRhiRe
ferenceRe
nderTarget
struct
QMetalReferenceRenderTarget
:
public
QRhiRenderTarget
{
QMetalReferenceRenderTarget
(
QRhiImplementation
*
rhi
);
~
QMetalReferenceRenderTarget
();
...
...
src/rhi/qrhinull.cpp
View file @
f2d394d4
...
...
@@ -447,7 +447,7 @@ void QNullRenderPassDescriptor::release()
}
QNullReferenceRenderTarget
::
QNullReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRe
ferenceRe
nderTarget
(
rhi
),
:
QRhiRenderTarget
(
rhi
),
d
(
rhi
)
{
}
...
...
src/rhi/qrhinull_p.h
View file @
f2d394d4
...
...
@@ -97,7 +97,7 @@ struct QNullRenderTargetData
float
dpr
=
1
;
};
struct
QNullReferenceRenderTarget
:
public
QRhiRe
ferenceRe
nderTarget
struct
QNullReferenceRenderTarget
:
public
QRhiRenderTarget
{
QNullReferenceRenderTarget
(
QRhiImplementation
*
rhi
);
void
release
()
override
;
...
...
src/rhi/qrhivulkan.cpp
View file @
f2d394d4
...
...
@@ -4338,7 +4338,7 @@ void QVkRenderPassDescriptor::release()
}
QVkReferenceRenderTarget
::
QVkReferenceRenderTarget
(
QRhiImplementation
*
rhi
)
:
QRhiRe
ferenceRe
nderTarget
(
rhi
)
:
QRhiRenderTarget
(
rhi
)
{
}
...
...
src/rhi/qrhivulkan_p.h
View file @
f2d394d4
...
...
@@ -167,7 +167,7 @@ struct QVkRenderTargetData
static
const
int
MAX_COLOR_ATTACHMENTS
=
8
;
};
struct
QVkReferenceRenderTarget
:
public
QRhiRe
ferenceRe
nderTarget
struct
QVkReferenceRenderTarget
:
public
QRhiRenderTarget
{
QVkReferenceRenderTarget
(
QRhiImplementation
*
rhi
);
void
release
()
override
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment