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

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

Issue 2162083005: Use surface copy requests for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman comment Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_RENDER_WIDGET_COMPOSITOR_H_ 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 void SynchronouslyComposite(); 212 void SynchronouslyComposite();
213 213
214 int num_failed_recreate_attempts_; 214 int num_failed_recreate_attempts_;
215 RenderWidgetCompositorDelegate* const delegate_; 215 RenderWidgetCompositorDelegate* const delegate_;
216 CompositorDependencies* const compositor_deps_; 216 CompositorDependencies* const compositor_deps_;
217 const bool threaded_; 217 const bool threaded_;
218 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_; 218 std::unique_ptr<cc::LayerTreeHost> layer_tree_host_;
219 bool never_visible_; 219 bool never_visible_;
220 220
221 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_; 221 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_;
222 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_;
223 222
224 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; 223 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_;
225 224
226 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; 225 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_;
227 }; 226 };
228 227
229 } // namespace content 228 } // namespace content
230 229
231 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 230 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « cc/test/test_delegating_output_surface.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698