[drm] Drop DrmBackend::present without DrmOutput*
Only the variant taking both buffer and output are used now.
This commit is contained in:
parent
e650eef323
commit
c33a74ae58
2 changed files with 0 additions and 10 deletions
|
@ -295,15 +295,6 @@ bool DrmBackend::crtcIsUsed(quint32 crtc)
|
|||
return it != m_outputs.constEnd();
|
||||
}
|
||||
|
||||
void DrmBackend::present(DrmBuffer *buffer)
|
||||
{
|
||||
if (m_outputs.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
// TODO: correct output
|
||||
present(buffer, m_outputs.first());
|
||||
}
|
||||
|
||||
void DrmBackend::present(DrmBuffer *buffer, DrmOutput *output)
|
||||
{
|
||||
if (output->present(buffer)) {
|
||||
|
|
|
@ -52,7 +52,6 @@ public:
|
|||
void init();
|
||||
DrmBuffer *createBuffer(const QSize &size);
|
||||
DrmBuffer *createBuffer(gbm_surface *surface);
|
||||
void present(DrmBuffer *buffer);
|
||||
void present(DrmBuffer *buffer, DrmOutput *output);
|
||||
|
||||
QSize size() const;
|
||||
|
|
Loading…
Reference in a new issue