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

Side by Side Diff: webkit/compositor_bindings/web_layer_tree_view_impl.cc

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« cc/layer_tree_host.cc ('K') | « cc/video_layer_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 #include "web_layer_tree_view_impl.h" 5 #include "web_layer_tree_view_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "cc/font_atlas.h" 8 #include "cc/font_atlas.h"
9 #include "cc/input_handler.h" 9 #include "cc/input_handler.h"
10 #include "cc/layer.h" 10 #include "cc/layer.h"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 m_client->createFontAtlas(bitmap, asciiToWebRectTable, fontHeight); 201 m_client->createFontAtlas(bitmap, asciiToWebRectTable, fontHeight);
202 202
203 for (int i = 0; i < 128; ++i) 203 for (int i = 0; i < 128; ++i)
204 asciiToRectTable[i] = asciiToWebRectTable[i]; 204 asciiToRectTable[i] = asciiToWebRectTable[i];
205 205
206 return FontAtlas::create(bitmap, asciiToRectTable, fontHeight).Pass(); 206 return FontAtlas::create(bitmap, asciiToRectTable, fontHeight).Pass();
207 } 207 }
208 208
209 void WebLayerTreeViewImpl::loseCompositorContext(int numTimes) 209 void WebLayerTreeViewImpl::loseCompositorContext(int numTimes)
210 { 210 {
211 m_layerTreeHost->loseContext(numTimes); 211 m_layerTreeHost->loseOutputSurface(numTimes);
212 } 212 }
213 213
214 void WebLayerTreeViewImpl::willBeginFrame() 214 void WebLayerTreeViewImpl::willBeginFrame()
215 { 215 {
216 m_client->willBeginFrame(); 216 m_client->willBeginFrame();
217 } 217 }
218 218
219 void WebLayerTreeViewImpl::didBeginFrame() 219 void WebLayerTreeViewImpl::didBeginFrame()
220 { 220 {
221 m_client->didBeginFrame(); 221 m_client->didBeginFrame();
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 { 274 {
275 m_client->didCompleteSwapBuffers(); 275 m_client->didCompleteSwapBuffers();
276 } 276 }
277 277
278 void WebLayerTreeViewImpl::scheduleComposite() 278 void WebLayerTreeViewImpl::scheduleComposite()
279 { 279 {
280 m_client->scheduleComposite(); 280 m_client->scheduleComposite();
281 } 281 }
282 282
283 } // namespace WebKit 283 } // namespace WebKit
OLDNEW
« cc/layer_tree_host.cc ('K') | « cc/video_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698