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

Unified Diff: ui/gl/gl_wgl_api_implementation.cc

Issue 94963003: Take GL version and extensions correctly into account when binding functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed review feedback and Mac build failure Created 7 years 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
« ui/gl/gl_version_info.cc ('K') | « 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 e3f71d8359275fc8847662458f2afeed51934888..889a53f1b8d1e40761842fe0d3ecc66c184e6ec9 100644
--- a/ui/gl/gl_wgl_api_implementation.cc
+++ b/ui/gl/gl_wgl_api_implementation.cc
@@ -9,8 +9,8 @@ namespace gfx {
RealWGLApi* g_real_wgl;
-void InitializeGLBindingsWGL() {
- g_driver_wgl.InitializeBindings();
+void InitializeStaticGLBindingsWGL() {
+ g_driver_wgl.InitializeStaticBindings();
if (!g_real_wgl) {
g_real_wgl = new RealWGLApi();
}
@@ -18,8 +18,8 @@ void InitializeGLBindingsWGL() {
g_current_wgl_context = g_real_wgl;
}
-void InitializeGLExtensionBindingsWGL(GLContext* context) {
- g_driver_wgl.InitializeExtensionBindings(context);
+void InitializeDynamicGLBindingsWGL(GLContext* context) {
+ g_driver_wgl.InitializeDynamicBindings(context);
}
void InitializeDebugGLBindingsWGL() {
« ui/gl/gl_version_info.cc ('K') | « 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