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

Side by Side Diff: cc/CCRendererGL.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/CCRendererGL.h ('k') | cc/CCRenderingStats.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 5
6 #include "config.h" 6 #include "config.h"
7 7
8 #if USE(ACCELERATED_COMPOSITING) 8 #if USE(ACCELERATED_COMPOSITING)
9 #include "CCRendererGL.h" 9 #include "CCRendererGL.h"
10 10
(...skipping 30 matching lines...) Expand all
41 #include <string> 41 #include <string>
42 #include <vector> 42 #include <vector>
43 #include <wtf/CurrentTime.h> 43 #include <wtf/CurrentTime.h>
44 44
45 using namespace std; 45 using namespace std;
46 using WebKit::WebGraphicsContext3D; 46 using WebKit::WebGraphicsContext3D;
47 using WebKit::WebGraphicsMemoryAllocation; 47 using WebKit::WebGraphicsMemoryAllocation;
48 using WebKit::WebSharedGraphicsContext3D; 48 using WebKit::WebSharedGraphicsContext3D;
49 using WebKit::WebTransformationMatrix; 49 using WebKit::WebTransformationMatrix;
50 50
51 namespace WebCore { 51 namespace cc {
52 52
53 namespace { 53 namespace {
54 54
55 bool needsIOSurfaceReadbackWorkaround() 55 bool needsIOSurfaceReadbackWorkaround()
56 { 56 {
57 #if OS(DARWIN) 57 #if OS(DARWIN)
58 return true; 58 return true;
59 #else 59 #else
60 return false; 60 return false;
61 #endif 61 #endif
(...skipping 1455 matching lines...) Expand 10 before | Expand all | Expand 10 after
1517 m_textureUploader.clear(); 1517 m_textureUploader.clear();
1518 1518
1519 releaseRenderPassTextures(); 1519 releaseRenderPassTextures();
1520 } 1520 }
1521 1521
1522 bool CCRendererGL::isContextLost() 1522 bool CCRendererGL::isContextLost()
1523 { 1523 {
1524 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO R); 1524 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO R);
1525 } 1525 }
1526 1526
1527 } // namespace WebCore 1527 } // namespace cc
1528 1528
1529 #endif // USE(ACCELERATED_COMPOSITING) 1529 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCRendererGL.h ('k') | cc/CCRenderingStats.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698