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_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ | 6 #define CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // the render pass physical pixels. This scale is applied to the filter | 53 // the render pass physical pixels. This scale is applied to the filter |
54 // parameters for pixel-moving filters. This scale should include | 54 // parameters for pixel-moving filters. This scale should include |
55 // content-to-target-space scale, and device pixel ratio. | 55 // content-to-target-space scale, and device pixel ratio. |
56 gfx::Vector2dF filters_scale; | 56 gfx::Vector2dF filters_scale; |
57 | 57 |
58 // Post-processing filters, applied to the pixels showing through the | 58 // Post-processing filters, applied to the pixels showing through the |
59 // background of the render pass, from behind it. | 59 // background of the render pass, from behind it. |
60 FilterOperations background_filters; | 60 FilterOperations background_filters; |
61 | 61 |
62 virtual void IterateResources(const ResourceIteratorCallback& callback) | 62 virtual void IterateResources(const ResourceIteratorCallback& callback) |
63 OVERRIDE; | 63 override; |
64 | 64 |
65 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); | 65 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); |
66 | 66 |
67 private: | 67 private: |
68 virtual void ExtendValue(base::debug::TracedValue* value) const OVERRIDE; | 68 virtual void ExtendValue(base::debug::TracedValue* value) const override; |
69 }; | 69 }; |
70 | 70 |
71 } // namespace cc | 71 } // namespace cc |
72 | 72 |
73 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ | 73 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
OLD | NEW |