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 #ifndef CCProxy_h | 5 #ifndef CCProxy_h |
6 #define CCProxy_h | 6 #define CCProxy_h |
7 | 7 |
8 #include "IntRect.h" | 8 #include "IntRect.h" |
9 #include <public/WebCompositorOutputSurface.h> | 9 #include <public/WebCompositorOutputSurface.h> |
10 #include <wtf/Noncopyable.h> | 10 #include <wtf/Noncopyable.h> |
11 #include <wtf/PassOwnPtr.h> | 11 #include <wtf/PassOwnPtr.h> |
12 #include <wtf/PassRefPtr.h> | 12 #include <wtf/PassRefPtr.h> |
13 #include <wtf/Threading.h> | |
14 | 13 |
15 namespace WebCore { | 14 namespace WebCore { |
16 | 15 |
17 class CCThread; | 16 class CCThread; |
18 struct CCRenderingStats; | 17 struct CCRenderingStats; |
19 struct RendererCapabilities; | 18 struct RendererCapabilities; |
20 | 19 |
21 // Abstract class responsible for proxying commands from the main-thread side of | 20 // Abstract class responsible for proxying commands from the main-thread side of |
22 // the compositor over to the compositor implementation. | 21 // the compositor over to the compositor implementation. |
23 class CCProxy { | 22 class CCProxy { |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 #if !ASSERT_DISABLED | 117 #if !ASSERT_DISABLED |
119 ASSERT(CCProxy::isMainThreadBlocked()); | 118 ASSERT(CCProxy::isMainThreadBlocked()); |
120 CCProxy::setMainThreadBlocked(false); | 119 CCProxy::setMainThreadBlocked(false); |
121 #endif | 120 #endif |
122 } | 121 } |
123 }; | 122 }; |
124 | 123 |
125 } | 124 } |
126 | 125 |
127 #endif | 126 #endif |
OLD | NEW |