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

Side by Side Diff: mash/test/mash_test_suite.cc

Issue 2728173004: HDR: Do nonlinear blending in the compositor (Closed)
Patch Set: Fix windows build 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 | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | ui/compositor/compositor.h » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "mash/test/mash_test_suite.h" 5 #include "mash/test/mash_test_suite.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return nullptr; 61 return nullptr;
62 } 62 }
63 void RemoveReflector(ui::Reflector* reflector) override {} 63 void RemoveReflector(ui::Reflector* reflector) override {}
64 cc::FrameSinkId AllocateFrameSinkId() override { 64 cc::FrameSinkId AllocateFrameSinkId() override {
65 return frame_sink_id_allocator_.NextFrameSinkId(); 65 return frame_sink_id_allocator_.NextFrameSinkId();
66 } 66 }
67 cc::SurfaceManager* GetSurfaceManager() override { return &surface_manager_; } 67 cc::SurfaceManager* GetSurfaceManager() override { return &surface_manager_; }
68 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override {} 68 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override {}
69 void ResizeDisplay(ui::Compositor* compositor, 69 void ResizeDisplay(ui::Compositor* compositor,
70 const gfx::Size& size) override {} 70 const gfx::Size& size) override {}
71 void SetDisplayColorSpace(ui::Compositor* compositor, 71 void SetDisplayColorSpace(
72 const gfx::ColorSpace& color_space) override {} 72 ui::Compositor* compositor,
73 const gfx::ColorSpace& blending_color_space,
74 const gfx::ColorSpace& output_color_space) override {}
75
73 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 76 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
74 base::TimeDelta interval) override {} 77 base::TimeDelta interval) override {}
75 void SetDisplayVSyncParameters(ui::Compositor* compositor, 78 void SetDisplayVSyncParameters(ui::Compositor* compositor,
76 base::TimeTicks timebase, 79 base::TimeTicks timebase,
77 base::TimeDelta interval) override {} 80 base::TimeDelta interval) override {}
78 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} 81 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {}
79 82
80 cc::TestTaskGraphRunner task_graph_runner_; 83 cc::TestTaskGraphRunner task_graph_runner_;
81 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_; 84 cc::TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
82 cc::FrameSinkIdAllocator frame_sink_id_allocator_; 85 cc::FrameSinkIdAllocator frame_sink_id_allocator_;
(...skipping 28 matching lines...) Expand all
111 } 114 }
112 115
113 void MashTestSuite::Shutdown() { 116 void MashTestSuite::Shutdown() {
114 env_.reset(); 117 env_.reset();
115 ui::ResourceBundle::CleanupSharedInstance(); 118 ui::ResourceBundle::CleanupSharedInstance();
116 base::TestSuite::Shutdown(); 119 base::TestSuite::Shutdown();
117 } 120 }
118 121
119 } // namespace test 122 } // namespace test
120 } // namespace mash 123 } // namespace mash
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | ui/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698