| 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_TILE_DRAW_QUAD_H_ | 5 #ifndef CC_TILE_DRAW_QUAD_H_ |
| 6 #define CC_TILE_DRAW_QUAD_H_ | 6 #define CC_TILE_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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 bool top_edge_aa; | 55 bool top_edge_aa; |
| 56 bool right_edge_aa; | 56 bool right_edge_aa; |
| 57 bool bottom_edge_aa; | 57 bool bottom_edge_aa; |
| 58 | 58 |
| 59 bool IsAntialiased() const { | 59 bool IsAntialiased() const { |
| 60 return left_edge_aa || top_edge_aa || right_edge_aa || bottom_edge_aa; | 60 return left_edge_aa || top_edge_aa || right_edge_aa || bottom_edge_aa; |
| 61 } | 61 } |
| 62 | 62 |
| 63 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) | 63 virtual void AppendResources(ResourceProvider::ResourceIdArray* resources) |
| 64 OVERRIDE; | 64 OVERRIDE; |
| 65 virtual void RemapResources(const ResourceRemapCallback& remap_callback) |
| 66 OVERRIDE; |
| 65 | 67 |
| 66 static const TileDrawQuad* MaterialCast(const DrawQuad*); | 68 static const TileDrawQuad* MaterialCast(const DrawQuad*); |
| 67 private: | 69 private: |
| 68 TileDrawQuad(); | 70 TileDrawQuad(); |
| 69 }; | 71 }; |
| 70 | 72 |
| 71 } | 73 } |
| 72 | 74 |
| 73 #endif // CC_TILE_DRAW_QUAD_H_ | 75 #endif // CC_TILE_DRAW_QUAD_H_ |
| OLD | NEW |