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

Unified Diff: ui/gl/gl_implementation.h

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_glx_api_implementation.cc ('k') | ui/gl/gl_implementation_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_implementation.h
diff --git a/ui/gl/gl_implementation.h b/ui/gl/gl_implementation.h
index c813fcb96ce49881132ef629d114c8a86536acb0..212978270d6f13a38e36429daac67bd2521f05ca 100644
--- a/ui/gl/gl_implementation.h
+++ b/ui/gl/gl_implementation.h
@@ -27,6 +27,12 @@ enum GLImplementation {
kGLImplementationMockGL
};
+struct GLWindowSystemBindingInfo {
+ std::string vendor;
+ std::string version;
+ std::string extensions;
+};
+
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls);
#if defined(OS_WIN)
@@ -80,6 +86,10 @@ void* GetGLCoreProcAddress(const char* name);
// Find an entry point in the current GL implementation.
void* GetGLProcAddress(const char* name);
+// Return information about the GL window system binding implementation (e.g.,
+// EGL, GLX, WGL). Returns true if the information was retrieved successfully.
+GL_EXPORT bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info);
+
} // namespace gfx
#endif // UI_GL_GL_IMPLEMENTATION_H_
« no previous file with comments | « ui/gl/gl_glx_api_implementation.cc ('k') | ui/gl/gl_implementation_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698