Index: src/gpu/gl/glx/GrNativeDisplay_glx.h |
diff --git a/src/gpu/gl/glx/GrNativeDisplay_glx.h b/src/gpu/gl/glx/GrNativeDisplay_glx.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a24c9c104a06e50b7114437097e174d7a74aaf2c |
--- /dev/null |
+++ b/src/gpu/gl/glx/GrNativeDisplay_glx.h |
@@ -0,0 +1,20 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ * |
+ */ |
+ |
robertphillips
2015/10/16 14:54:40
GrNativeDisplay_glx_DEFINED ?
|
+#ifndef GrNativeDrawable_glx_DEFINED |
+#define GrNativeDrawable_glx_DEFINED |
+ |
+#include <GL/glx.h> |
+ |
+namespace GrNativeDisplay { |
bsalomon
2015/10/15 20:55:27
Wondering why a namespace and generic function nam
|
+ |
robertphillips
2015/10/16 14:54:40
// Iterate through all the configs compatible with
|
+bool Initialize(int* visualAttribs, Display*, GLXFBConfig* outBestConfig); |
+ |
+}; |
+ |
+#endif |