Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_buffer.cpp
Show All 17 Lines | |||||
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 | #include "drm_buffer.h" | 20 | #include "drm_buffer.h" | ||
21 | 21 | | |||
22 | #include "logging.h" | 22 | #include "logging.h" | ||
23 | 23 | | |||
24 | // system | 24 | // system | ||
25 | #include <sys/mman.h> | 25 | #include <sys/mman.h> | ||
26 | #include <errno.h> | 26 | // c++ | ||
27 | #include <cerrno> | ||||
27 | // drm | 28 | // drm | ||
28 | #include <xf86drm.h> | 29 | #include <xf86drm.h> | ||
29 | #include <xf86drmMode.h> | 30 | #include <xf86drmMode.h> | ||
30 | 31 | | |||
31 | namespace KWin | 32 | namespace KWin | ||
32 | { | 33 | { | ||
33 | 34 | | |||
34 | DrmBuffer:: DrmBuffer(int fd) | 35 | DrmBuffer:: DrmBuffer(int fd) | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |