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

Unified Diff: ui/gl/gl_osmesa_api_implementation.cc

Issue 98643013: Take GL version and extensions correctly into account when binding functions (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Accommodated changes in content tests Created 6 years, 11 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_osmesa_api_implementation.h ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_osmesa_api_implementation.cc
diff --git a/ui/gl/gl_osmesa_api_implementation.cc b/ui/gl/gl_osmesa_api_implementation.cc
index 5b32d22ef1d60af2e6b0198f3c3b3ef8259c9c71..f23c2997b3de0f132694fc4ae480d7df2e3e0768 100644
--- a/ui/gl/gl_osmesa_api_implementation.cc
+++ b/ui/gl/gl_osmesa_api_implementation.cc
@@ -8,8 +8,8 @@ namespace gfx {
RealOSMESAApi* g_real_osmesa;
-void InitializeGLBindingsOSMESA() {
- g_driver_osmesa.InitializeBindings();
+void InitializeStaticGLBindingsOSMESA() {
+ g_driver_osmesa.InitializeStaticBindings();
if (!g_real_osmesa) {
g_real_osmesa = new RealOSMESAApi();
}
@@ -17,8 +17,8 @@ void InitializeGLBindingsOSMESA() {
g_current_osmesa_context = g_real_osmesa;
}
-void InitializeGLExtensionBindingsOSMESA(GLContext* context) {
- g_driver_osmesa.InitializeExtensionBindings(context);
+void InitializeDynamicGLBindingsOSMESA(GLContext* context) {
+ g_driver_osmesa.InitializeDynamicBindings(context);
}
void InitializeDebugGLBindingsOSMESA() {
« no previous file with comments | « ui/gl/gl_osmesa_api_implementation.h ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698