kms++: organize into subdirs
[android/external-libkmsxx.git] / kmscube / cube-gbm.cpp
index bbf58d1377f0017f0b4f4cfbae36909ec2a8a5b4..93ebece90a38cf34b28b8a6097a0a69dc7c354ca 100644 (file)
@@ -9,8 +9,8 @@
 #include <xf86drmMode.h>
 #include <gbm.h>
 
-#include <kms++.h>
-#include "test.h"
+#include <kms++/kms++.h>
+#include <kms++util.h>
 #include "cube-egl.h"
 #include "cube-gles2.h"
 
@@ -89,7 +89,7 @@ class GbmEglSurface
 {
 public:
        GbmEglSurface(Card& card, GbmDevice& gdev, const EglState& egl, int width, int height)
-               : card(card), gdev(gdev), egl(egl), m_width(width), m_height(height),
+               : card(card), egl(egl), m_width(width), m_height(height),
                  bo_prev(0), bo_next(0)
        {
                gsurface = unique_ptr<GbmSurface>(new GbmSurface(gdev, width, height));
@@ -161,7 +161,6 @@ public:
 
 private:
        Card& card;
-       GbmDevice& gdev;
        const EglState& egl;
 
        unique_ptr<GbmSurface> gsurface;