OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "cc/output/gl_renderer.h" | 5 #include "cc/output/gl_renderer.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "cc/base/math_util.h" | 9 #include "cc/base/math_util.h" |
10 #include "cc/output/compositor_frame_metadata.h" | 10 #include "cc/output/compositor_frame_metadata.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 #include "ui/gfx/transform.h" | 30 #include "ui/gfx/transform.h" |
31 | 31 |
32 using testing::_; | 32 using testing::_; |
33 using testing::AnyNumber; | 33 using testing::AnyNumber; |
34 using testing::AtLeast; | 34 using testing::AtLeast; |
35 using testing::Expectation; | 35 using testing::Expectation; |
36 using testing::InSequence; | 36 using testing::InSequence; |
37 using testing::Mock; | 37 using testing::Mock; |
38 using testing::Return; | 38 using testing::Return; |
39 using testing::StrictMock; | 39 using testing::StrictMock; |
40 using WebKit::WebGraphicsMemoryAllocation; | |
41 using WebKit::WebGLId; | 40 using WebKit::WebGLId; |
42 using WebKit::WebString; | 41 using WebKit::WebString; |
43 using WebKit::WGC3Dbitfield; | 42 using WebKit::WGC3Dbitfield; |
44 using WebKit::WGC3Dboolean; | 43 using WebKit::WGC3Dboolean; |
45 using WebKit::WGC3Dchar; | 44 using WebKit::WGC3Dchar; |
46 using WebKit::WGC3Denum; | 45 using WebKit::WGC3Denum; |
47 using WebKit::WGC3Dfloat; | 46 using WebKit::WGC3Dfloat; |
48 using WebKit::WGC3Dint; | 47 using WebKit::WGC3Dint; |
49 using WebKit::WGC3Dintptr; | 48 using WebKit::WGC3Dintptr; |
50 using WebKit::WGC3Dsizei; | 49 using WebKit::WGC3Dsizei; |
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1551 base::MessageLoop::current()->Run(); | 1550 base::MessageLoop::current()->Run(); |
1552 | 1551 |
1553 // The sync point should have happened. | 1552 // The sync point should have happened. |
1554 EXPECT_EQ(1, sync_point_callback_count); | 1553 EXPECT_EQ(1, sync_point_callback_count); |
1555 EXPECT_EQ(1, other_callback_count); | 1554 EXPECT_EQ(1, other_callback_count); |
1556 } | 1555 } |
1557 #endif // OS_ANDROID | 1556 #endif // OS_ANDROID |
1558 | 1557 |
1559 } // namespace | 1558 } // namespace |
1560 } // namespace cc | 1559 } // namespace cc |
OLD | NEW |