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

Side by Side Diff: cc/CCThreadProxy.cpp

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « cc/CCThreadProxy.h ('k') | cc/CCThreadTask.h » ('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 #include "config.h" 5 #include "config.h"
6 6
7 #include "CCThreadProxy.h" 7 #include "CCThreadProxy.h"
8 8
9 #include "CCDelayBasedTimeSource.h" 9 #include "CCDelayBasedTimeSource.h"
10 #include "CCDrawQuad.h" 10 #include "CCDrawQuad.h"
(...skipping 11 matching lines...) Expand all
22 using namespace WTF; 22 using namespace WTF;
23 23
24 using WebKit::WebSharedGraphicsContext3D; 24 using WebKit::WebSharedGraphicsContext3D;
25 namespace { 25 namespace {
26 26
27 // Measured in seconds. 27 // Measured in seconds.
28 static const double contextRecreationTickRate = 0.03; 28 static const double contextRecreationTickRate = 0.03;
29 29
30 } // anonymous namespace 30 } // anonymous namespace
31 31
32 namespace WebCore { 32 namespace cc {
33 33
34 namespace { 34 namespace {
35 35
36 // Type of texture uploader to use for texture updates. 36 // Type of texture uploader to use for texture updates.
37 static TextureUploaderOption textureUploader = ThrottledUploader; 37 static TextureUploaderOption textureUploader = ThrottledUploader;
38 38
39 } // anonymous namespace 39 } // anonymous namespace
40 40
41 PassOwnPtr<CCProxy> CCThreadProxy::create(CCLayerTreeHost* layerTreeHost) 41 PassOwnPtr<CCProxy> CCThreadProxy::create(CCLayerTreeHost* layerTreeHost)
42 { 42 {
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 completion->signal(); 912 completion->signal();
913 } 913 }
914 914
915 void CCThreadProxy::implSideRenderingStatsOnImplThread(CCCompletionEvent* comple tion, CCRenderingStats* stats) 915 void CCThreadProxy::implSideRenderingStatsOnImplThread(CCCompletionEvent* comple tion, CCRenderingStats* stats)
916 { 916 {
917 ASSERT(isImplThread()); 917 ASSERT(isImplThread());
918 m_layerTreeHostImpl->renderingStats(*stats); 918 m_layerTreeHostImpl->renderingStats(*stats);
919 completion->signal(); 919 completion->signal();
920 } 920 }
921 921
922 } // namespace WebCore 922 } // namespace cc
OLDNEW
« no previous file with comments | « cc/CCThreadProxy.h ('k') | cc/CCThreadTask.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698