OLD | NEW |
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 #include <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/at_exit.h" | 7 #include "base/at_exit.h" |
8 #include "base/base_paths.h" | 8 #include "base/base_paths.h" |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 | 370 |
371 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { | 371 bool GetGLWindowSystemBindingInfo(GLWindowSystemBindingInfo* info) { |
372 switch (GetGLImplementation()) { | 372 switch (GetGLImplementation()) { |
373 case kGLImplementationDesktopGL: | 373 case kGLImplementationDesktopGL: |
374 return GetGLWindowSystemBindingInfoWGL(info); | 374 return GetGLWindowSystemBindingInfoWGL(info); |
375 case kGLImplementationEGLGLES2: | 375 case kGLImplementationEGLGLES2: |
376 return GetGLWindowSystemBindingInfoEGL(info); | 376 return GetGLWindowSystemBindingInfoEGL(info); |
377 default: | 377 default: |
378 return false; | 378 return false; |
379 } | 379 } |
380 return false; | |
381 } | 380 } |
382 | 381 |
383 } // namespace gfx | 382 } // namespace gfx |
OLD | NEW |