summaryrefslogtreecommitdiff
path: root/libkms++/plane.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-06 22:24:35 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-06 22:24:35 +0200
commit6927457186de9e2a6692cd7cd0f254b2fbef037f (patch)
treebabdbd9e6cb9f3d6207123167809f16d9e927b49 /libkms++/plane.cpp
parentd0c7d0826f14b37ce06582eb3cb20915275caea5 (diff)
remove print_short
Diffstat (limited to 'libkms++/plane.cpp')
-rw-r--r--libkms++/plane.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/libkms++/plane.cpp b/libkms++/plane.cpp
index 3ad3ddf..b4934b8 100644
--- a/libkms++/plane.cpp
+++ b/libkms++/plane.cpp
@@ -32,26 +32,6 @@ Plane::~Plane()
delete m_priv;
}
-void Plane::print_short() const
-{
- auto p = m_priv->drm_plane;
-
- printf("Plane %d, %d modes, %d,%d -> %dx%d\n", id(),
- p->count_formats,
- p->crtc_x, p->crtc_y, p->x, p->y);
-
- printf("\t");
- for (unsigned i = 0; i < p->count_formats; ++i) {
- uint32_t f = p->formats[i];
- printf("%c%c%c%c ",
- (f >> 0) & 0xff,
- (f >> 8) & 0xff,
- (f >> 16) & 0xff,
- (f >> 24) & 0xff);
- }
- printf("\n");
-}
-
bool Plane::supports_crtc(Crtc* crtc) const
{
return m_priv->drm_plane->possible_crtcs & (1 << crtc->idx());