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

Side by Side Diff: ui/gl/gl_implementation_win.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_implementation_mac.cc ('k') | ui/gl/gl_interface.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 #include <d3dx9.h> 5 #include <d3dx9.h>
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/base_paths.h" 10 #include "base/base_paths.h"
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/native_library.h" 15 #include "base/native_library.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/stringprintf.h" 17 #include "base/stringprintf.h"
18 #include "base/threading/thread_restrictions.h" 18 #include "base/threading/thread_restrictions.h"
19 #include "ui/gfx/gl/gl_bindings.h" 19 #include "ui/gl/gl_bindings.h"
20 #include "ui/gfx/gl/gl_implementation.h" 20 #include "ui/gl/gl_implementation.h"
21 21
22 #if defined(ENABLE_SWIFTSHADER) 22 #if defined(ENABLE_SWIFTSHADER)
23 #include "software_renderer.h" 23 #include "software_renderer.h"
24 #endif 24 #endif
25 25
26 namespace gfx { 26 namespace gfx {
27 27
28 namespace { 28 namespace {
29 29
30 typedef std::vector<base::NativeLibrary> LibraryArray; 30 typedef std::vector<base::NativeLibrary> LibraryArray;
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 ClearGLBindingsGL(); 281 ClearGLBindingsGL();
282 ClearGLBindingsOSMESA(); 282 ClearGLBindingsOSMESA();
283 ClearGLBindingsWGL(); 283 ClearGLBindingsWGL();
284 SetGLImplementation(kGLImplementationNone); 284 SetGLImplementation(kGLImplementationNone);
285 285
286 UnloadGLNativeLibraries(); 286 UnloadGLNativeLibraries();
287 UnloadD3DXLibraries(NULL); 287 UnloadD3DXLibraries(NULL);
288 } 288 }
289 289
290 } // namespace gfx 290 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_implementation_mac.cc ('k') | ui/gl/gl_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698