OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 "gpu/ipc/service/direct_composition_surface_win.h" | 5 #include "gpu/ipc/service/direct_composition_surface_win.h" |
6 | 6 |
7 #include "base/optional.h" | 7 #include "base/optional.h" |
8 #include "base/synchronization/waitable_event.h" | 8 #include "base/synchronization/waitable_event.h" |
9 #include "gpu/ipc/service/gpu_channel_manager.h" | 9 #include "gpu/ipc/service/gpu_channel_manager.h" |
10 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" | 10 #include "gpu/ipc/service/gpu_channel_manager_delegate.h" |
11 #include "gpu/ipc/service/switches.h" | 11 #include "gpu/ipc/service/switches.h" |
12 #include "ui/base/ui_base_switches.h" | 12 #include "ui/display/display_switches.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gl/egl_util.h" | 14 #include "ui/gl/egl_util.h" |
15 #include "ui/gl/gl_angle_util_win.h" | 15 #include "ui/gl/gl_angle_util_win.h" |
16 #include "ui/gl/gl_context.h" | 16 #include "ui/gl/gl_context.h" |
17 #include "ui/gl/gl_surface_egl.h" | 17 #include "ui/gl/gl_surface_egl.h" |
18 #include "ui/gl/scoped_make_current.h" | 18 #include "ui/gl/scoped_make_current.h" |
19 | 19 |
20 #ifndef EGL_ANGLE_flexible_surface_compatibility | 20 #ifndef EGL_ANGLE_flexible_surface_compatibility |
21 #define EGL_ANGLE_flexible_surface_compatibility 1 | 21 #define EGL_ANGLE_flexible_surface_compatibility 1 |
22 #define EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE 0x33A6 | 22 #define EGL_FLEXIBLE_SURFACE_COMPATIBILITY_SUPPORTED_ANGLE 0x33A6 |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 transform(transform), | 455 transform(transform), |
456 image(image), | 456 image(image), |
457 bounds_rect(bounds_rect), | 457 bounds_rect(bounds_rect), |
458 crop_rect(crop_rect) {} | 458 crop_rect(crop_rect) {} |
459 | 459 |
460 DirectCompositionSurfaceWin::Overlay::Overlay(const Overlay& overlay) = default; | 460 DirectCompositionSurfaceWin::Overlay::Overlay(const Overlay& overlay) = default; |
461 | 461 |
462 DirectCompositionSurfaceWin::Overlay::~Overlay() {} | 462 DirectCompositionSurfaceWin::Overlay::~Overlay() {} |
463 | 463 |
464 } // namespace gpu | 464 } // namespace gpu |
OLD | NEW |