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

Side by Side Diff: content/browser/compositor/gpu_process_transport_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 | « content/browser/BUILD.gn ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('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 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 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override; 60 void SetDisplayVisible(ui::Compositor* compositor, bool visible) override;
61 void ResizeDisplay(ui::Compositor* compositor, 61 void ResizeDisplay(ui::Compositor* compositor,
62 const gfx::Size& size) override; 62 const gfx::Size& size) override;
63 void SetDisplayColorSpace(ui::Compositor* compositor, 63 void SetDisplayColorSpace(ui::Compositor* compositor,
64 const gfx::ColorSpace& color_space) override; 64 const gfx::ColorSpace& color_space) override;
65 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor, 65 void SetAuthoritativeVSyncInterval(ui::Compositor* compositor,
66 base::TimeDelta interval) override; 66 base::TimeDelta interval) override;
67 void SetDisplayVSyncParameters(ui::Compositor* compositor, 67 void SetDisplayVSyncParameters(ui::Compositor* compositor,
68 base::TimeTicks timebase, 68 base::TimeTicks timebase,
69 base::TimeDelta interval) override; 69 base::TimeDelta interval) override;
70 void SwapBeginFrameSource(
71 ui::Compositor* compositor,
72 std::unique_ptr<cc::BeginFrameSource>* begin_frame_source) override;
70 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override; 73 void SetOutputIsSecure(ui::Compositor* compositor, bool secure) override;
71 void AddObserver(ui::ContextFactoryObserver* observer) override; 74 void AddObserver(ui::ContextFactoryObserver* observer) override;
72 void RemoveObserver(ui::ContextFactoryObserver* observer) override; 75 void RemoveObserver(ui::ContextFactoryObserver* observer) override;
73 76
74 // ImageTransportFactory implementation. 77 // ImageTransportFactory implementation.
75 ui::ContextFactory* GetContextFactory() override; 78 ui::ContextFactory* GetContextFactory() override;
76 cc::SurfaceManager* GetSurfaceManager() override; 79 cc::SurfaceManager* GetSurfaceManager() override;
77 display_compositor::GLHelper* GetGLHelper() override; 80 display_compositor::GLHelper* GetGLHelper() override;
78 void SetGpuChannelEstablishFactory( 81 void SetGpuChannelEstablishFactory(
79 gpu::GpuChannelEstablishFactory* factory) override; 82 gpu::GpuChannelEstablishFactory* factory) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr; 129 gpu::GpuChannelEstablishFactory* gpu_channel_factory_ = nullptr;
127 130
128 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_; 131 base::WeakPtrFactory<GpuProcessTransportFactory> callback_factory_;
129 132
130 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory); 133 DISALLOW_COPY_AND_ASSIGN(GpuProcessTransportFactory);
131 }; 134 };
132 135
133 } // namespace content 136 } // namespace content
134 137
135 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_ 138 #endif // CONTENT_BROWSER_COMPOSITOR_GPU_PROCESS_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/compositor/gpu_process_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698