OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_IO_SURFACE_DRAW_QUAD_H_ | 5 #ifndef CC_IO_SURFACE_DRAW_QUAD_H_ |
6 #define CC_IO_SURFACE_DRAW_QUAD_H_ | 6 #define CC_IO_SURFACE_DRAW_QUAD_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/cc_export.h" | 9 #include "cc/cc_export.h" |
10 #include "cc/draw_quad.h" | 10 #include "cc/draw_quad.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 gfx::Rect visible_rect, | 34 gfx::Rect visible_rect, |
35 bool needs_blending, | 35 bool needs_blending, |
36 gfx::Size io_surface_size, | 36 gfx::Size io_surface_size, |
37 unsigned io_surface_texture_id, | 37 unsigned io_surface_texture_id, |
38 Orientation orientation); | 38 Orientation orientation); |
39 | 39 |
40 gfx::Size io_surface_size; | 40 gfx::Size io_surface_size; |
41 unsigned io_surface_texture_id; | 41 unsigned io_surface_texture_id; |
42 Orientation orientation; | 42 Orientation orientation; |
43 | 43 |
| 44 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) |
| 45 OVERRIDE; |
| 46 |
44 static const IOSurfaceDrawQuad* MaterialCast(const DrawQuad*); | 47 static const IOSurfaceDrawQuad* MaterialCast(const DrawQuad*); |
45 private: | 48 private: |
46 IOSurfaceDrawQuad(); | 49 IOSurfaceDrawQuad(); |
47 }; | 50 }; |
48 | 51 |
49 } | 52 } |
50 | 53 |
51 #endif // CC_IO_SURFACE_DRAW_QUAD_H_ | 54 #endif // CC_IO_SURFACE_DRAW_QUAD_H_ |
OLD | NEW |