OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "cc/software_renderer.h" | 7 #include "cc/software_renderer.h" |
8 | 8 |
9 #include "cc/debug_border_draw_quad.h" | 9 #include "cc/debug_border_draw_quad.h" |
10 #include "cc/render_pass_draw_quad.h" | 10 #include "cc/render_pass_draw_quad.h" |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 m_outputDevice->unlock(); | 354 m_outputDevice->unlock(); |
355 } | 355 } |
356 | 356 |
357 void SoftwareRenderer::setVisible(bool visible) | 357 void SoftwareRenderer::setVisible(bool visible) |
358 { | 358 { |
359 if (m_visible == visible) | 359 if (m_visible == visible) |
360 return; | 360 return; |
361 m_visible = visible; | 361 m_visible = visible; |
362 } | 362 } |
363 | 363 |
364 } | 364 } // namespace cc |
OLD | NEW |