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

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

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_fence.h ('k') | ui/gl/gl_helper.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 "ui/gl/gl_fence.h" 5 #include "ui/gl/gl_fence.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "build/build_config.h"
8 #include "ui/gl/gl_bindings.h" 9 #include "ui/gl/gl_bindings.h"
9 #include "ui/gl/gl_context.h" 10 #include "ui/gl/gl_context.h"
10 #include "ui/gl/gl_fence_arb.h" 11 #include "ui/gl/gl_fence_arb.h"
11 #include "ui/gl/gl_fence_egl.h" 12 #include "ui/gl/gl_fence_egl.h"
12 #include "ui/gl/gl_fence_nv.h" 13 #include "ui/gl/gl_fence_nv.h"
13 #include "ui/gl/gl_gl_api_implementation.h" 14 #include "ui/gl/gl_gl_api_implementation.h"
14 #include "ui/gl/gl_implementation.h" 15 #include "ui/gl/gl_implementation.h"
15 #include "ui/gl/gl_version_info.h" 16 #include "ui/gl/gl_version_info.h"
16 17
17 #if defined(OS_MACOSX) 18 #if defined(OS_MACOSX)
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #endif 58 #endif
58 } else if (g_driver_gl.ext.b_GL_NV_fence) { 59 } else if (g_driver_gl.ext.b_GL_NV_fence) {
59 fence.reset(new GLFenceNV); 60 fence.reset(new GLFenceNV);
60 } 61 }
61 62
62 DCHECK_EQ(!!fence.get(), GLFence::IsSupported()); 63 DCHECK_EQ(!!fence.get(), GLFence::IsSupported());
63 return fence.release(); 64 return fence.release();
64 } 65 }
65 66
66 } // namespace gfx 67 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_fence.h ('k') | ui/gl/gl_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698