| 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 #include "cc/test/test_shared_bitmap_manager.h" | 32 #include "cc/test/test_shared_bitmap_manager.h" |
| 33 #include "cc/test/test_web_graphics_context_3d.h" | 33 #include "cc/test/test_web_graphics_context_3d.h" |
| 34 #include "gpu/GLES2/gl2extchromium.h" | 34 #include "gpu/GLES2/gl2extchromium.h" |
| 35 #include "gpu/command_buffer/client/context_support.h" | 35 #include "gpu/command_buffer/client/context_support.h" |
| 36 #include "testing/gmock/include/gmock/gmock.h" | 36 #include "testing/gmock/include/gmock/gmock.h" |
| 37 #include "testing/gtest/include/gtest/gtest.h" | 37 #include "testing/gtest/include/gtest/gtest.h" |
| 38 #include "third_party/skia/include/core/SkImageFilter.h" | 38 #include "third_party/skia/include/core/SkImageFilter.h" |
| 39 #include "third_party/skia/include/core/SkMatrix.h" | 39 #include "third_party/skia/include/core/SkMatrix.h" |
| 40 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" | 40 #include "third_party/skia/include/effects/SkColorFilterImageFilter.h" |
| 41 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" | 41 #include "third_party/skia/include/effects/SkColorMatrixFilter.h" |
| 42 #include "ui/events/latency_info.h" | |
| 43 #include "ui/gfx/transform.h" | 42 #include "ui/gfx/transform.h" |
| 43 #include "ui/latency/latency_info.h" |
| 44 | 44 |
| 45 using testing::_; | 45 using testing::_; |
| 46 using testing::AnyNumber; | 46 using testing::AnyNumber; |
| 47 using testing::Args; | 47 using testing::Args; |
| 48 using testing::AtLeast; | 48 using testing::AtLeast; |
| 49 using testing::ElementsAre; | 49 using testing::ElementsAre; |
| 50 using testing::Expectation; | 50 using testing::Expectation; |
| 51 using testing::InSequence; | 51 using testing::InSequence; |
| 52 using testing::Mock; | 52 using testing::Mock; |
| 53 using testing::Return; | 53 using testing::Return; |
| (...skipping 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2259 | 2259 |
| 2260 TEST_F(GLRendererSwapWithBoundsTest, NonEmpty) { | 2260 TEST_F(GLRendererSwapWithBoundsTest, NonEmpty) { |
| 2261 std::vector<gfx::Rect> content_bounds; | 2261 std::vector<gfx::Rect> content_bounds; |
| 2262 content_bounds.push_back(gfx::Rect(0, 0, 10, 10)); | 2262 content_bounds.push_back(gfx::Rect(0, 0, 10, 10)); |
| 2263 content_bounds.push_back(gfx::Rect(20, 20, 30, 30)); | 2263 content_bounds.push_back(gfx::Rect(20, 20, 30, 30)); |
| 2264 RunTest(content_bounds); | 2264 RunTest(content_bounds); |
| 2265 } | 2265 } |
| 2266 | 2266 |
| 2267 } // namespace | 2267 } // namespace |
| 2268 } // namespace cc | 2268 } // namespace cc |
| OLD | NEW |