Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/hwcomposer/hwcomposer_backend.h
Show All 14 Lines | |||||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_HWCOMPOSER_BACKEND_H | 20 | #ifndef KWIN_HWCOMPOSER_BACKEND_H | ||
21 | #define KWIN_HWCOMPOSER_BACKEND_H | 21 | #define KWIN_HWCOMPOSER_BACKEND_H | ||
22 | #include "platform.h" | 22 | #include "platform.h" | ||
23 | #include "abstract_output.h" | 23 | #include "abstract_wayland_output.h" | ||
24 | #include "input.h" | 24 | #include "input.h" | ||
25 | 25 | | |||
26 | #include <QElapsedTimer> | 26 | #include <QElapsedTimer> | ||
27 | #include <QMutex> | 27 | #include <QMutex> | ||
28 | #include <QWaitCondition> | 28 | #include <QWaitCondition> | ||
29 | 29 | | |||
30 | #include <android-config.h> | 30 | #include <android-config.h> | ||
31 | // libhybris | 31 | // libhybris | ||
Show All 10 Lines | |||||
42 | class HWComposerNativeWindowBuffer; | 42 | class HWComposerNativeWindowBuffer; | ||
43 | 43 | | |||
44 | namespace KWin | 44 | namespace KWin | ||
45 | { | 45 | { | ||
46 | 46 | | |||
47 | class HwcomposerWindow; | 47 | class HwcomposerWindow; | ||
48 | class BacklightInputEventFilter; | 48 | class BacklightInputEventFilter; | ||
49 | 49 | | |||
50 | class HwcomposerOutput : public AbstractOutput | 50 | class HwcomposerOutput : public AbstractWaylandOutput | ||
51 | { | 51 | { | ||
52 | Q_OBJECT | 52 | Q_OBJECT | ||
53 | public: | 53 | public: | ||
54 | HwcomposerOutput(hwc_composer_device_1_t *device); | 54 | HwcomposerOutput(hwc_composer_device_1_t *device); | ||
55 | ~HwcomposerOutput() override; | 55 | ~HwcomposerOutput() override; | ||
56 | bool isValid() const; | 56 | bool isValid() const; | ||
57 | 57 | | |||
58 | QSize pixelSize() const override; | 58 | QSize pixelSize() const override; | ||
▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines |