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

Side by Side Diff: ui/gl/gl_bindings.h

Issue 2136553002: Remove GetPlatformDefaultEGLNativeDisplay() function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to original. Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_bindings.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_BINDINGS_H_ 5 #ifndef UI_GL_GL_BINDINGS_H_
6 #define UI_GL_GL_BINDINGS_H_ 6 #define UI_GL_GL_BINDINGS_H_
7 7
8 // Includes the platform independent and platform dependent GL headers. 8 // Includes the platform independent and platform dependent GL headers.
9 // Only include this in cc files. It pulls in system headers, including 9 // Only include this in cc files. It pulls in system headers, including
10 // the X11 headers on linux, which define all kinds of macros that are 10 // the X11 headers on linux, which define all kinds of macros that are
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 ExtensionsWGL ext; 440 ExtensionsWGL ext;
441 441
442 private: 442 private:
443 static std::string GetPlatformExtensions(); 443 static std::string GetPlatformExtensions();
444 }; 444 };
445 #endif 445 #endif
446 446
447 #if defined(USE_EGL) 447 #if defined(USE_EGL)
448 struct GL_EXPORT DriverEGL { 448 struct GL_EXPORT DriverEGL {
449 void InitializeStaticBindings(); 449 void InitializeStaticBindings();
450 void InitializeClientExtensionBindings();
450 void InitializeExtensionBindings(); 451 void InitializeExtensionBindings();
451 void InitializeDebugBindings(); 452 void InitializeDebugBindings();
452 void ClearBindings(); 453 void ClearBindings();
453 454
454 ProcsEGL fn; 455 ProcsEGL fn;
455 ProcsEGL debug_fn; 456 ProcsEGL debug_fn;
456 ExtensionsEGL ext; 457 ExtensionsEGL ext;
457 458
458 static std::string GetPlatformExtensions(); 459 static std::string GetPlatformExtensions();
459 static std::string GetClientExtensions(); 460 static std::string GetClientExtensions();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 #endif 496 #endif
496 497
497 #if defined(USE_GLX) 498 #if defined(USE_GLX)
498 GL_EXPORT extern GLXApi* g_current_glx_context; 499 GL_EXPORT extern GLXApi* g_current_glx_context;
499 GL_EXPORT extern DriverGLX g_driver_glx; 500 GL_EXPORT extern DriverGLX g_driver_glx;
500 #endif 501 #endif
501 502
502 } // namespace gl 503 } // namespace gl
503 504
504 #endif // UI_GL_GL_BINDINGS_H_ 505 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/gl.gyp ('k') | ui/gl/gl_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698