| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_BUFFER_FORMAT_UTIL_H_ | |
| 6 #define UI_GFX_BUFFER_FORMAT_UTIL_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "ui/gfx/buffer_types.h" | |
| 10 #include "ui/gfx/gfx_export.h" | |
| 11 | |
| 12 namespace gfx { | |
| 13 | |
| 14 // Returns the number of planes for |format|. | |
| 15 GFX_EXPORT size_t NumberOfPlanesForBufferFormat(BufferFormat format); | |
| 16 | |
| 17 } // namespace gfx | |
| 18 | |
| 19 #endif // UI_GFX_BUFFER_FORMAT_UTIL_H_ | |
| OLD | NEW |