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 | 13 |
14 namespace WebCore { | 14 namespace cc { |
15 | 15 |
16 class CCThread; | 16 class CCThread; |
17 struct CCRenderingStats; | 17 struct CCRenderingStats; |
18 struct RendererCapabilities; | 18 struct RendererCapabilities; |
19 | 19 |
20 // 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 |
21 // the compositor over to the compositor implementation. | 21 // the compositor over to the compositor implementation. |
22 class CCProxy { | 22 class CCProxy { |
23 WTF_MAKE_NONCOPYABLE(CCProxy); | 23 WTF_MAKE_NONCOPYABLE(CCProxy); |
24 public: | 24 public: |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 #if !ASSERT_DISABLED | 117 #if !ASSERT_DISABLED |
118 ASSERT(CCProxy::isMainThreadBlocked()); | 118 ASSERT(CCProxy::isMainThreadBlocked()); |
119 CCProxy::setMainThreadBlocked(false); | 119 CCProxy::setMainThreadBlocked(false); |
120 #endif | 120 #endif |
121 } | 121 } |
122 }; | 122 }; |
123 | 123 |
124 } | 124 } |
125 | 125 |
126 #endif | 126 #endif |
OLD | NEW |