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

Side by Side Diff: ui/views/mus/surface_context_factory.h

Issue 2411793008: Adds BeginFrameControl via DevTools.
Patch Set: BFC prototype v2 with allow_latency_opts and waiting for BFOs. Created 4 years 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 | « ui/compositor/test/in_process_context_factory.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 5 #ifndef UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 6 #define UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override; 45 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override;
46 void ResizeDisplay(ui::Compositor* compositor, 46 void ResizeDisplay(ui::Compositor* compositor,
47 const gfx::Size& size) override; 47 const gfx::Size& size) override;
48 void SetDisplayColorSpace(ui::Compositor* compositor, 48 void SetDisplayColorSpace(ui::Compositor* compositor,
49 const gfx::ColorSpace& color_space) override {} 49 const gfx::ColorSpace& color_space) override {}
50 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 50 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
51 base::TimeDelta interval) override {} 51 base::TimeDelta interval) override {}
52 void SetDisplayVSyncParameters(ui::Compositor* compositor, 52 void SetDisplayVSyncParameters(ui::Compositor* compositor,
53 base::TimeTicks timebase, 53 base::TimeTicks timebase,
54 base::TimeDelta interval) override {} 54 base::TimeDelta interval) override {}
55 void SwapBeginFrameSource(
56 ui::Compositor* compositor,
57 std::unique_ptr<cc::BeginFrameSource>* begin_frame_source) override {}
55 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {} 58 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override {}
56 void AddObserver(ui::ContextFactoryObserver* observer) override {} 59 void AddObserver(ui::ContextFactoryObserver* observer) override {}
57 void RemoveObserver(ui::ContextFactoryObserver* observer) override {} 60 void RemoveObserver(ui::ContextFactoryObserver* observer) override {}
58 61
59 cc::SurfaceManager surface_manager_; 62 cc::SurfaceManager surface_manager_;
60 uint32_t next_sink_id_; 63 uint32_t next_sink_id_;
61 ui::RasterThreadHelper raster_thread_helper_; 64 ui::RasterThreadHelper raster_thread_helper_;
62 ui::GpuService* gpu_service_; 65 ui::GpuService* gpu_service_;
63 66
64 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory); 67 DISALLOW_COPY_AND_ASSIGN(SurfaceContextFactory);
65 }; 68 };
66 69
67 } // namespace views 70 } // namespace views
68 71
69 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_ 72 #endif // UI_VIEWS_MUS_SURFACE_CONTEXT_FACTORY_H_
OLDNEW
« no previous file with comments | « ui/compositor/test/in_process_context_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698