]> git.sesse.net Git - nageru/blobdiff - va_display_with_cleanup.h
Move another file left behind during the directory move.
[nageru] / va_display_with_cleanup.h
diff --git a/va_display_with_cleanup.h b/va_display_with_cleanup.h
deleted file mode 100644 (file)
index 3f9b1c5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef _VA_DISPLAY_WITH_CLEANUP
-#define _VA_DISPLAY_WITH_CLEANUP 1
-
-#include <va/va.h>
-#include <X11/Xlib.h>
-
-#include <memory>
-
-struct VADisplayWithCleanup {
-       ~VADisplayWithCleanup();
-
-       VADisplay va_dpy;
-       Display *x11_display = nullptr;
-       bool can_use_zerocopy = true;
-       int drm_fd = -1;
-};
-std::unique_ptr<VADisplayWithCleanup> va_open_display(const std::string &va_display);  // Can return nullptr on failure.
-
-#endif  // !defined(_VA_DISPLAY_WITH_CLEANUP)