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

Unified Diff: ui/gl/gl_wgl_api_implementation.cc

Issue 15890002: Display GL window system binding information in about:gpu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo in unit test. Created 7 years, 7 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
« no previous file with comments | « ui/gl/gl_wgl_api_implementation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_wgl_api_implementation.cc
diff --git a/ui/gl/gl_wgl_api_implementation.cc b/ui/gl/gl_wgl_api_implementation.cc
index 063916af04915cbdc3436c4d19f48826b4abed56..e3f71d8359275fc8847662458f2afeed51934888 100644
--- a/ui/gl/gl_wgl_api_implementation.cc
+++ b/ui/gl/gl_wgl_api_implementation.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "ui/gl/gl_wgl_api_implementation.h"
+#include "ui/gl/gl_implementation.h"
namespace gfx {
@@ -64,6 +65,14 @@ void RealWGLApi::Initialize(DriverWGL* driver) {
TraceWGLApi::~TraceWGLApi() {
}
+bool GetGLWindowSystemBindingInfoWGL(GLWindowSystemBindingInfo* info) {
+ const char* extensions = wglGetExtensionsStringEXT();
+ *info = GLWindowSystemBindingInfo();
+ if (extensions)
+ info->extensions = extensions;
+ return true;
+}
+
} // namespace gfx
« no previous file with comments | « ui/gl/gl_wgl_api_implementation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698