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 // This include must be here so that the includes provided transitively | 5 // This include must be here so that the includes provided transitively |
6 // by gl_surface_egl.h don't make it impossible to compile this code. | 6 // by gl_surface_egl.h don't make it impossible to compile this code. |
7 #include "third_party/mesa/src/include/GL/osmesa.h" | 7 #include "third_party/mesa/src/include/GL/osmesa.h" |
8 | 8 |
9 #include "ui/gl/gl_surface_egl.h" | 9 #include "ui/gl/gl_surface_egl.h" |
10 | 10 |
11 #if defined(OS_ANDROID) | 11 #if defined(OS_ANDROID) |
12 #include <android/native_window_jni.h> | 12 #include <android/native_window_jni.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/logging.h" | 16 #include "base/logging.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "ui/gl/egl_util.h" | 20 #include "ui/gl/egl_util.h" |
21 #include "ui/gl/gl_context.h" | 21 #include "ui/gl/gl_context.h" |
22 #include "ui/gl/gl_implementation.h" | 22 #include "ui/gl/gl_implementation.h" |
23 #include "ui/gl/gl_surface_osmesa.h" | 23 #include "ui/gl/gl_surface_osmesa.h" |
24 #include "ui/gl/gl_surface_stub.h" | 24 #include "ui/gl/gl_surface_stub.h" |
25 #include "ui/gl/gl_switches.h" | 25 #include "ui/gl/gl_switches.h" |
26 #include "ui/gl/scoped_make_current.h" | 26 #include "ui/gl/scoped_make_current.h" |
27 | 27 |
28 #if defined(USE_X11) | 28 #if defined(USE_X11) |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 } | 675 } |
676 default: | 676 default: |
677 NOTREACHED(); | 677 NOTREACHED(); |
678 return NULL; | 678 return NULL; |
679 } | 679 } |
680 } | 680 } |
681 | 681 |
682 #endif | 682 #endif |
683 | 683 |
684 } // namespace gfx | 684 } // namespace gfx |
OLD | NEW |