Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_backend.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Line(s) | |||||
75 | #if HAVE_GBM | 75 | #if HAVE_GBM | ||
76 | DrmSurfaceBuffer *createBuffer(const std::shared_ptr<GbmSurface> &surface); | 76 | DrmSurfaceBuffer *createBuffer(const std::shared_ptr<GbmSurface> &surface); | ||
77 | #endif | 77 | #endif | ||
78 | bool present(DrmBuffer *buffer, DrmOutput *output); | 78 | bool present(DrmBuffer *buffer, DrmOutput *output); | ||
79 | 79 | | |||
80 | int fd() const { | 80 | int fd() const { | ||
81 | return m_fd; | 81 | return m_fd; | ||
82 | } | 82 | } | ||
83 | Outputs outputs() const override; | 83 | QVector<AbstractOutput *> outputs() const override; | ||
84 | Outputs enabledOutputs() const override; | 84 | QVector<AbstractOutput *> enabledOutputs() const override; | ||
85 | QVector<DrmOutput*> drmOutputs() const { | 85 | QVector<DrmOutput*> drmOutputs() const { | ||
gladhorn: This would simply go away, the base class version is enough. | |||||
86 | return m_outputs; | 86 | return m_outputs; | ||
87 | } | 87 | } | ||
88 | QVector<DrmOutput*> drmEnabledOutputs() const { | 88 | QVector<DrmOutput*> drmEnabledOutputs() const { | ||
89 | return m_enabledOutputs; | 89 | return m_enabledOutputs; | ||
90 | } | 90 | } | ||
91 | 91 | | |||
92 | void enableOutput(DrmOutput *output, bool enable); | 92 | void enableOutput(DrmOutput *output, bool enable); | ||
93 | 93 | | |||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |
This would simply go away, the base class version is enough.