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

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

Issue 12212100: Provide shared context to Platform API in renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseforreals Created 7 years, 9 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 | 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 "cc/layer_tree_host_client.h" 8 #include "cc/layer_tree_host_client.h"
9 #include "cc/layer_tree_settings.h" 9 #include "cc/layer_tree_settings.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 RenderWidgetCompositor(RenderWidget* widget, 94 RenderWidgetCompositor(RenderWidget* widget,
95 WebKit::WebLayerTreeViewClient* client); 95 WebKit::WebLayerTreeViewClient* client);
96 96
97 bool initialize(cc::LayerTreeSettings settings); 97 bool initialize(cc::LayerTreeSettings settings);
98 98
99 bool threaded_; 99 bool threaded_;
100 bool suppress_schedule_composite_; 100 bool suppress_schedule_composite_;
101 RenderWidget* widget_; 101 RenderWidget* widget_;
102 WebKit::WebLayerTreeViewClient* client_; 102 WebKit::WebLayerTreeViewClient* client_;
103 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; 103 scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
104
105 class MainThreadContextProvider;
106 scoped_refptr<MainThreadContextProvider> contexts_main_thread_;
107 class CompositorThreadContextProvider;
108 scoped_refptr<CompositorThreadContextProvider> contexts_compositor_thread_;
109 }; 104 };
110 105
111 } // namespace content 106 } // namespace content
112 107
113 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ 108 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_
114 109
OLDNEW
« no previous file with comments | « content/common/webkitplatformsupport_impl.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698