Changeset View
Changeset View
Standalone View
Standalone View
src/client/buffer.cpp
Show All 24 Lines | |||||
25 | // wayland | 25 | // wayland | ||
26 | #include <wayland-client-protocol.h> | 26 | #include <wayland-client-protocol.h> | ||
27 | 27 | | |||
28 | namespace KWayland | 28 | namespace KWayland | ||
29 | { | 29 | { | ||
30 | namespace Client | 30 | namespace Client | ||
31 | { | 31 | { | ||
32 | 32 | | |||
33 | #ifndef DOXYGEN_SHOULD_SKIP_THIS | 33 | #ifndef K_DOXYGEN | ||
34 | const struct wl_buffer_listener Buffer::Private::s_listener = { | 34 | const struct wl_buffer_listener Buffer::Private::s_listener = { | ||
35 | Buffer::Private::releasedCallback | 35 | Buffer::Private::releasedCallback | ||
36 | }; | 36 | }; | ||
37 | #endif | 37 | #endif | ||
38 | 38 | | |||
39 | Buffer::Private::Private(Buffer *q, ShmPool *parent, wl_buffer *nativeBuffer, const QSize &size, int32_t stride, size_t offset, Format format) | 39 | Buffer::Private::Private(Buffer *q, ShmPool *parent, wl_buffer *nativeBuffer, const QSize &size, int32_t stride, size_t offset, Format format) | ||
40 | : shm(parent) | 40 | : shm(parent) | ||
41 | , nativeBuffer(nativeBuffer) | 41 | , nativeBuffer(nativeBuffer) | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |