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

Side by Side Diff: gpu/ipc/service/direct_composition_surface_win.cc

Issue 2742383006: Display: set color_depth and depth_per_component value based on kEnableHDROutput (Closed)
Patch Set: rebase Created 3 years, 9 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 | « gpu/ipc/service/child_window_surface_win.cc ('k') | media/gpu/BUILD.gn » ('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 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
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
OLDNEW
« no previous file with comments | « gpu/ipc/service/child_window_surface_win.cc ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698