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_RENDER_PASS_DRAW_QUAD_H_ | 5 #ifndef CC_RENDER_PASS_DRAW_QUAD_H_ |
6 #define CC_RENDER_PASS_DRAW_QUAD_H_ | 6 #define CC_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/cc_export.h" | 10 #include "cc/cc_export.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // Deprecated post-processing filters, applied to the pixels in the render | 58 // Deprecated post-processing filters, applied to the pixels in the render |
59 // pass' texture. | 59 // pass' texture. |
60 WebKit::WebFilterOperations filters; | 60 WebKit::WebFilterOperations filters; |
61 // Post-processing filter applied to the pixels in the render pass' texture. | 61 // Post-processing filter applied to the pixels in the render pass' texture. |
62 skia::RefPtr<SkImageFilter> filter; | 62 skia::RefPtr<SkImageFilter> filter; |
63 | 63 |
64 // Post-processing filters, applied to the pixels showing through the | 64 // Post-processing filters, applied to the pixels showing through the |
65 // background of the render pass, from behind it. | 65 // background of the render pass, from behind it. |
66 WebKit::WebFilterOperations background_filters; | 66 WebKit::WebFilterOperations background_filters; |
67 | 67 |
| 68 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) |
| 69 OVERRIDE; |
| 70 |
68 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); | 71 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); |
69 | 72 |
70 private: | 73 private: |
71 RenderPassDrawQuad(); | 74 RenderPassDrawQuad(); |
72 }; | 75 }; |
73 | 76 |
74 } | 77 } |
75 | 78 |
76 #endif // CC_RENDER_PASS_DRAW_QUAD_H_ | 79 #endif // CC_RENDER_PASS_DRAW_QUAD_H_ |
OLD | NEW |