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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 FilterOperations background_filters; | 63 FilterOperations background_filters; |
64 | 64 |
65 // Helper function to generate the normalized uv rect. | 65 // Helper function to generate the normalized uv rect. |
66 gfx::RectF MaskUVRect() const; | 66 gfx::RectF MaskUVRect() const; |
67 | 67 |
68 void IterateResources(const ResourceIteratorCallback& callback) override; | 68 void IterateResources(const ResourceIteratorCallback& callback) override; |
69 | 69 |
70 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); | 70 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); |
71 | 71 |
72 private: | 72 private: |
73 void ExtendValue(base::debug::TracedValue* value) const override; | 73 void ExtendValue(base::trace_event::TracedValue* value) const override; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace cc | 76 } // namespace cc |
77 | 77 |
78 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ | 78 #endif // CC_QUADS_RENDER_PASS_DRAW_QUAD_H_ |
OLD | NEW |