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

Side by Side Diff: content/renderer/gpu/compositor_output_surface.h

Issue 2083423006: Remove default begin frame sources from the renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 3 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 | « cc/trees/single_thread_proxy.cc ('k') | content/renderer/gpu/compositor_output_surface.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 private: 80 private:
81 friend class base::RefCountedThreadSafe<CompositorOutputSurfaceProxy>; 81 friend class base::RefCountedThreadSafe<CompositorOutputSurfaceProxy>;
82 ~CompositorOutputSurfaceProxy() {} 82 ~CompositorOutputSurfaceProxy() {}
83 CompositorOutputSurface* output_surface_; 83 CompositorOutputSurface* output_surface_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(CompositorOutputSurfaceProxy); 85 DISALLOW_COPY_AND_ASSIGN(CompositorOutputSurfaceProxy);
86 }; 86 };
87 87
88 void OnMessageReceived(const IPC::Message& message); 88 void OnMessageReceived(const IPC::Message& message);
89 void OnUpdateVSyncParametersFromBrowser(base::TimeTicks timebase,
90 base::TimeDelta interval);
91 void OnReclaimCompositorResources(uint32_t output_surface_id, 89 void OnReclaimCompositorResources(uint32_t output_surface_id,
92 bool is_swap_ack, 90 bool is_swap_ack,
93 const cc::ReturnedResourceArray& resources); 91 const cc::ReturnedResourceArray& resources);
94 bool Send(IPC::Message* message); 92 bool Send(IPC::Message* message);
95 93
96 scoped_refptr<CompositorForwardingMessageFilter> output_surface_filter_; 94 scoped_refptr<CompositorForwardingMessageFilter> output_surface_filter_;
97 CompositorForwardingMessageFilter::Handler output_surface_filter_handler_; 95 CompositorForwardingMessageFilter::Handler output_surface_filter_handler_;
98 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_; 96 scoped_refptr<CompositorOutputSurfaceProxy> output_surface_proxy_;
99 scoped_refptr<IPC::SyncMessageFilter> message_sender_; 97 scoped_refptr<IPC::SyncMessageFilter> message_sender_;
100 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_; 98 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
101 int routing_id_; 99 int routing_id_;
102 }; 100 };
103 101
104 } // namespace content 102 } // namespace content
105 103
106 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_ 104 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_OUTPUT_SURFACE_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698