| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) | 68 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) |
| 69 OVERRIDE; | 69 OVERRIDE; |
| 70 virtual void RemapResources(const ResourceRemapCallback& remap_callback) |
| 71 OVERRIDE; |
| 70 | 72 |
| 71 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); | 73 static const RenderPassDrawQuad* MaterialCast(const DrawQuad*); |
| 72 | 74 |
| 73 private: | 75 private: |
| 74 RenderPassDrawQuad(); | 76 RenderPassDrawQuad(); |
| 75 }; | 77 }; |
| 76 | 78 |
| 77 } | 79 } |
| 78 | 80 |
| 79 #endif // CC_RENDER_PASS_DRAW_QUAD_H_ | 81 #endif // CC_RENDER_PASS_DRAW_QUAD_H_ |
| OLD | NEW |