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

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

Issue 1151093006: Added disabling EGL extensions support with --disable-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Applied nits Created 5 years, 6 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_api_unittest.cc ('k') | ui/gl/gl_egl_api_implementation.h » ('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 #include <string> 8 #include <string>
9 9
10 // Includes the platform independent and platform dependent GL headers. 10 // Includes the platform independent and platform dependent GL headers.
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 #if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || defined(USE_OZ ONE) 379 #if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || defined(USE_OZ ONE)
380 struct GL_EXPORT DriverEGL { 380 struct GL_EXPORT DriverEGL {
381 void InitializeStaticBindings(); 381 void InitializeStaticBindings();
382 void InitializeDebugBindings(); 382 void InitializeDebugBindings();
383 void ClearBindings(); 383 void ClearBindings();
384 384
385 ProcsEGL fn; 385 ProcsEGL fn;
386 ProcsEGL debug_fn; 386 ProcsEGL debug_fn;
387 ExtensionsEGL ext; 387 ExtensionsEGL ext;
388 388
389 private:
390 static std::string GetPlatformExtensions(); 389 static std::string GetPlatformExtensions();
391 static std::string GetClientExtensions(); 390 static std::string GetClientExtensions();
392 }; 391 };
393 #endif 392 #endif
394 393
395 #if defined(USE_X11) 394 #if defined(USE_X11)
396 struct GL_EXPORT DriverGLX { 395 struct GL_EXPORT DriverGLX {
397 void InitializeStaticBindings(); 396 void InitializeStaticBindings();
398 void InitializeDebugBindings(); 397 void InitializeDebugBindings();
399 void ClearBindings(); 398 void ClearBindings();
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 #elif defined(OS_ANDROID) 436 #elif defined(OS_ANDROID)
438 437
439 GL_EXPORT extern EGLApi* g_current_egl_context; 438 GL_EXPORT extern EGLApi* g_current_egl_context;
440 GL_EXPORT extern DriverEGL g_driver_egl; 439 GL_EXPORT extern DriverEGL g_driver_egl;
441 440
442 #endif 441 #endif
443 442
444 } // namespace gfx 443 } // namespace gfx
445 444
446 #endif // UI_GL_GL_BINDINGS_H_ 445 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_api_unittest.cc ('k') | ui/gl/gl_egl_api_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698