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

Side by Side Diff: cc/CCRendererGL.cpp

Issue 10905231: Enable cc_unittests in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark WebThreadImplForMessageLoop ctor/dtor as exported 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/CCProxy.cpp ('k') | cc/CCThreadProxy.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 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 22 matching lines...) Expand all
33 #undef LOG 33 #undef LOG
34 #endif 34 #endif
35 #include "base/string_split.h" 35 #include "base/string_split.h"
36 #include <public/WebGraphicsContext3D.h> 36 #include <public/WebGraphicsContext3D.h>
37 #include <public/WebSharedGraphicsContext3D.h> 37 #include <public/WebSharedGraphicsContext3D.h>
38 #include <public/WebVideoFrame.h> 38 #include <public/WebVideoFrame.h>
39 #include <set> 39 #include <set>
40 #include <string> 40 #include <string>
41 #include <vector> 41 #include <vector>
42 #include <wtf/CurrentTime.h> 42 #include <wtf/CurrentTime.h>
43 #include <wtf/MainThread.h>
44 43
45 using namespace std; 44 using namespace std;
46 using WebKit::WebGraphicsContext3D; 45 using WebKit::WebGraphicsContext3D;
47 using WebKit::WebGraphicsMemoryAllocation; 46 using WebKit::WebGraphicsMemoryAllocation;
48 using WebKit::WebSharedGraphicsContext3D; 47 using WebKit::WebSharedGraphicsContext3D;
49 using WebKit::WebTransformationMatrix; 48 using WebKit::WebTransformationMatrix;
50 49
51 namespace WebCore { 50 namespace WebCore {
52 51
53 namespace { 52 namespace {
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
1503 } 1502 }
1504 1503
1505 bool CCRendererGL::isContextLost() 1504 bool CCRendererGL::isContextLost()
1506 { 1505 {
1507 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO R); 1506 return (m_context->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERRO R);
1508 } 1507 }
1509 1508
1510 } // namespace WebCore 1509 } // namespace WebCore
1511 1510
1512 #endif // USE(ACCELERATED_COMPOSITING) 1511 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/CCProxy.cpp ('k') | cc/CCThreadProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698