Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/drm/drm_buffer.h
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 55 | gbm_bo *gbm() const { | |||
---|---|---|---|---|---|
56 | return m_bo; | 56 | return m_bo; | ||
57 | } | 57 | } | ||
58 | bool isGbm() const { | 58 | bool isGbm() const { | ||
59 | return m_bo != nullptr; | 59 | return m_bo != nullptr; | ||
60 | } | 60 | } | ||
61 | bool deleteAfterPageFlip() const { | 61 | bool deleteAfterPageFlip() const { | ||
62 | return m_deleteAfterPageFlip; | 62 | return m_deleteAfterPageFlip; | ||
63 | } | 63 | } | ||
64 | | ||||
65 | void releaseGbm(); | 64 | void releaseGbm(); | ||
66 | 65 | | |||
67 | private: | 66 | private: | ||
68 | friend class DrmBackend; | 67 | friend class DrmBackend; | ||
69 | DrmBuffer(DrmBackend *backend, const QSize &size); | 68 | DrmBuffer(DrmBackend *backend, const QSize &size); | ||
70 | DrmBuffer(DrmBackend *backend, gbm_surface *surface); | 69 | DrmBuffer(DrmBackend *backend, gbm_surface *surface); | ||
71 | DrmBackend *m_backend; | 70 | DrmBackend *m_backend; | ||
72 | gbm_surface *m_surface = nullptr; | 71 | gbm_surface *m_surface = nullptr; | ||
Show All 15 Lines |