OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_surface.h" | 5 #include "ui/gl/gl_surface.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/callback.h" | 10 #include "base/callback.h" |
9 #include "base/location.h" | 11 #include "base/location.h" |
10 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_vector.h" | 15 #include "base/memory/scoped_vector.h" |
13 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
14 #include "base/threading/worker_pool.h" | 17 #include "base/threading/worker_pool.h" |
15 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
16 #include "ui/gl/gl_context.h" | 19 #include "ui/gl/gl_context.h" |
17 #include "ui/gl/gl_image.h" | 20 #include "ui/gl/gl_image.h" |
18 #include "ui/gl/gl_image_ozone_native_pixmap.h" | 21 #include "ui/gl/gl_image_ozone_native_pixmap.h" |
19 #include "ui/gl/gl_implementation.h" | 22 #include "ui/gl/gl_implementation.h" |
20 #include "ui/gl/gl_surface_egl.h" | 23 #include "ui/gl/gl_surface_egl.h" |
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 } | 716 } |
714 } | 717 } |
715 | 718 |
716 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { | 719 EGLNativeDisplayType GetPlatformDefaultEGLNativeDisplay() { |
717 return ui::OzonePlatform::GetInstance() | 720 return ui::OzonePlatform::GetInstance() |
718 ->GetSurfaceFactoryOzone() | 721 ->GetSurfaceFactoryOzone() |
719 ->GetNativeDisplay(); | 722 ->GetNativeDisplay(); |
720 } | 723 } |
721 | 724 |
722 } // namespace gfx | 725 } // namespace gfx |
OLD | NEW |