OLD | NEW |
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 "cc/single_thread_proxy.h" | 5 #include "cc/single_thread_proxy.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | 7 #include "base/debug/trace_event.h" |
8 #include "cc/draw_quad.h" | 8 #include "cc/draw_quad.h" |
9 #include "cc/layer_tree_host.h" | 9 #include "cc/layer_tree_host.h" |
10 #include "cc/output_surface.h" | 10 #include "cc/output_surface.h" |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 m_layerTreeHostImpl.reset(); | 262 m_layerTreeHostImpl.reset(); |
263 } | 263 } |
264 m_layerTreeHost = 0; | 264 m_layerTreeHost = 0; |
265 } | 265 } |
266 | 266 |
267 void SingleThreadProxy::setNeedsRedrawOnImplThread() | 267 void SingleThreadProxy::setNeedsRedrawOnImplThread() |
268 { | 268 { |
269 m_layerTreeHost->scheduleComposite(); | 269 m_layerTreeHost->scheduleComposite(); |
270 } | 270 } |
271 | 271 |
| 272 void SingleThreadProxy::didSwapUseIncompleteTextureOnImplThread() |
| 273 { |
| 274 // implSidePainting only. |
| 275 NOTREACHED(); |
| 276 } |
| 277 |
| 278 void SingleThreadProxy::didUploadVisibleHighResolutionTileOnImplTread() |
| 279 { |
| 280 // implSidePainting only. |
| 281 NOTREACHED(); |
| 282 } |
| 283 |
272 void SingleThreadProxy::setNeedsCommitOnImplThread() | 284 void SingleThreadProxy::setNeedsCommitOnImplThread() |
273 { | 285 { |
274 m_layerTreeHost->scheduleComposite(); | 286 m_layerTreeHost->scheduleComposite(); |
275 } | 287 } |
276 | 288 |
277 void SingleThreadProxy::setNeedsManageTilesOnImplThread() | 289 void SingleThreadProxy::setNeedsManageTilesOnImplThread() |
278 { | 290 { |
279 m_layerTreeHost->scheduleComposite(); | 291 m_layerTreeHost->scheduleComposite(); |
280 } | 292 } |
281 | 293 |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 } | 412 } |
401 | 413 |
402 skia::RefPtr<SkPicture> SingleThreadProxy::capturePicture() | 414 skia::RefPtr<SkPicture> SingleThreadProxy::capturePicture() |
403 { | 415 { |
404 // Requires impl-side painting, which is only supported in threaded composit
ing. | 416 // Requires impl-side painting, which is only supported in threaded composit
ing. |
405 NOTREACHED(); | 417 NOTREACHED(); |
406 return skia::RefPtr<SkPicture>(); | 418 return skia::RefPtr<SkPicture>(); |
407 } | 419 } |
408 | 420 |
409 } // namespace cc | 421 } // namespace cc |
OLD | NEW |