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 "ui/gl/gl_context_egl.h" | 5 #include "ui/gl/gl_context_egl.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | |
8 #include "base/logging.h" | 7 #include "base/logging.h" |
9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/trace_event/trace_event.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "third_party/khronos/EGL/egl.h" | 11 #include "third_party/khronos/EGL/egl.h" |
12 #include "third_party/khronos/EGL/eglext.h" | 12 #include "third_party/khronos/EGL/eglext.h" |
13 #include "ui/gl/egl_util.h" | 13 #include "ui/gl/egl_util.h" |
14 #include "ui/gl/gl_bindings.h" | 14 #include "ui/gl/gl_bindings.h" |
15 #include "ui/gl/gl_surface_egl.h" | 15 #include "ui/gl/gl_surface_egl.h" |
16 | 16 |
17 #if defined(USE_X11) | 17 #if defined(USE_X11) |
18 extern "C" { | 18 extern "C" { |
19 #include <X11/Xlib.h> | 19 #include <X11/Xlib.h> |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 #if !defined(OS_ANDROID) | 212 #if !defined(OS_ANDROID) |
213 bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { | 213 bool GLContextEGL::GetTotalGpuMemory(size_t* bytes) { |
214 DCHECK(bytes); | 214 DCHECK(bytes); |
215 *bytes = 0; | 215 *bytes = 0; |
216 return false; | 216 return false; |
217 } | 217 } |
218 #endif | 218 #endif |
219 | 219 |
220 } // namespace gfx | 220 } // namespace gfx |
OLD | NEW |