summaryrefslogtreecommitdiffstats
path: root/gfx/gl/GLVendor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/GLVendor.h')
-rw-r--r--gfx/gl/GLVendor.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gfx/gl/GLVendor.h b/gfx/gl/GLVendor.h
new file mode 100644
index 0000000000..ca5d985146
--- /dev/null
+++ b/gfx/gl/GLVendor.h
@@ -0,0 +1,20 @@
+/* -*- mode: c++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* vim: set ts=8 sts=2 et sw=2 tw=80: */
+/* this source code form is subject to the terms of the mozilla public
+ * license, v. 2.0. if a copy of the mpl was not distributed with this
+ * file, you can obtain one at http://mozilla.org/mpl/2.0/. */
+
+#ifndef GLVENDOR_H_
+#define GLVENDOR_H_
+
+#include "mozilla/DefineEnum.h"
+
+namespace mozilla {
+namespace gl {
+MOZ_DEFINE_ENUM(GLVendor, (Intel, NVIDIA, ATI, Qualcomm, Imagination, Nouveau,
+ Vivante, VMware, ARM, Other));
+
+}
+} // namespace mozilla
+
+#endif /* GLVENDOR_H_ */