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

Side by Side Diff: cc/CCProxy.h

Issue 10913158: Avoid using WTF threading code in cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months 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
« no previous file with comments | « no previous file | cc/CCProxy.cpp » ('j') | 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 #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
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
OLDNEW
« no previous file with comments | « no previous file | cc/CCProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698