| OLD | NEW |
| 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 #ifndef CC_QUADS_RENDER_PASS_H_ | 5 #ifndef CC_QUADS_RENDER_PASS_H_ |
| 6 #define CC_QUADS_RENDER_PASS_H_ | 6 #define CC_QUADS_RENDER_PASS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <unordered_map> | 10 #include <unordered_map> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/hash.h" | 15 #include "base/hash.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "cc/base/cc_export.h" | |
| 18 #include "cc/base/list_container.h" | 17 #include "cc/base/list_container.h" |
| 19 #include "cc/output/filter_operations.h" | 18 #include "cc/cc_export.h" |
| 19 #include "cc/paint/filter_operations.h" |
| 20 #include "cc/quads/draw_quad.h" | 20 #include "cc/quads/draw_quad.h" |
| 21 #include "cc/quads/largest_draw_quad.h" | 21 #include "cc/quads/largest_draw_quad.h" |
| 22 #include "ui/gfx/color_space.h" | 22 #include "ui/gfx/color_space.h" |
| 23 #include "ui/gfx/geometry/rect.h" | 23 #include "ui/gfx/geometry/rect.h" |
| 24 #include "ui/gfx/geometry/rect_f.h" | 24 #include "ui/gfx/geometry/rect_f.h" |
| 25 #include "ui/gfx/transform.h" | 25 #include "ui/gfx/transform.h" |
| 26 | 26 |
| 27 namespace base { | 27 namespace base { |
| 28 namespace trace_event { | 28 namespace trace_event { |
| 29 class TracedValue; | 29 class TracedValue; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 | 153 |
| 154 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; | 154 using RenderPassList = std::vector<std::unique_ptr<RenderPass>>; |
| 155 | 155 |
| 156 // List of pairs of render pass id and filter, sorted by render pass id so that | 156 // List of pairs of render pass id and filter, sorted by render pass id so that |
| 157 // it can be searched using std::lower_bound. | 157 // it can be searched using std::lower_bound. |
| 158 using RenderPassFilterList = std::vector<std::pair<int, FilterOperations*>>; | 158 using RenderPassFilterList = std::vector<std::pair<int, FilterOperations*>>; |
| 159 | 159 |
| 160 } // namespace cc | 160 } // namespace cc |
| 161 | 161 |
| 162 #endif // CC_QUADS_RENDER_PASS_H_ | 162 #endif // CC_QUADS_RENDER_PASS_H_ |
| OLD | NEW |