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

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

Issue 103163003: Revert 238458 "cc: Defer first OutputSurface creation until clie..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | Annotate | Revision Log
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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 130
131 // cc::LayerTreeHostSingleThreadClient implementation. 131 // cc::LayerTreeHostSingleThreadClient implementation.
132 virtual void ScheduleComposite() OVERRIDE; 132 virtual void ScheduleComposite() OVERRIDE;
133 virtual void ScheduleAnimation() OVERRIDE; 133 virtual void ScheduleAnimation() OVERRIDE;
134 virtual void DidPostSwapBuffers() OVERRIDE; 134 virtual void DidPostSwapBuffers() OVERRIDE;
135 virtual void DidAbortSwapBuffers() OVERRIDE; 135 virtual void DidAbortSwapBuffers() OVERRIDE;
136 136
137 private: 137 private:
138 RenderWidgetCompositor(RenderWidget* widget, bool threaded); 138 RenderWidgetCompositor(RenderWidget* widget, bool threaded);
139 139
140 void Initialize(cc::LayerTreeSettings settings); 140 bool Initialize(cc::LayerTreeSettings settings);
141 141
142 bool threaded_; 142 bool threaded_;
143 bool suppress_schedule_composite_; 143 bool suppress_schedule_composite_;
144 RenderWidget* widget_; 144 RenderWidget* widget_;
145 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 145 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
146 }; 146 };
147 147
148 } // namespace content 148 } // namespace content
149 149
150 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 150 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
OLDNEW
« no previous file with comments | « trunk/src/cc/trees/thread_proxy.cc ('k') | trunk/src/content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698