Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: src/gpu/gl/glx/GrNativeDisplay_glx.h

Issue 1410593002: Use common display initialization logic for Unix (Closed) Base URL: https://skia.googlesource.com/skia.git@vbnvpr
Patch Set: minor tidy Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698