| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LARGEST_DRAW_QUAD_H_ | 5 #ifndef CC_QUADS_LARGEST_DRAW_QUAD_H_ |
| 6 #define CC_QUADS_LARGEST_DRAW_QUAD_H_ | 6 #define CC_QUADS_LARGEST_DRAW_QUAD_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" |
| 9 #include "cc/base/cc_export.h" |
| 10 |
| 8 namespace cc { | 11 namespace cc { |
| 9 class StreamVideoDrawQuad; | |
| 10 class RenderPassDrawQuad; | |
| 11 | 12 |
| 12 #if defined(ARCH_CPU_64_BITS) | 13 CC_EXPORT size_t LargestDrawQuadSize(); |
| 13 typedef RenderPassDrawQuad kLargestDrawQuad; | |
| 14 #else | |
| 15 typedef StreamVideoDrawQuad kLargestDrawQuad; | |
| 16 #endif | |
| 17 | 14 |
| 18 } // namespace cc | 15 } // namespace cc |
| 19 | 16 |
| 20 #endif // CC_QUADS_LARGEST_DRAW_QUAD_H_ | 17 #endif // CC_QUADS_LARGEST_DRAW_QUAD_H_ |
| OLD | NEW |