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.
5 #ifndef UI_GFX_BUFFER_FORMAT_UTIL_H_
6 #define UI_GFX_BUFFER_FORMAT_UTIL_H_
8 #include "base/basictypes.h"
9 #include "ui/gfx/buffer_types.h"
10 #include "ui/gfx/gfx_export.h"
14 // Returns the number of planes for |format|.
15 GFX_EXPORT
size_t NumberOfPlanesForBufferFormat(BufferFormat format
);
19 #endif // UI_GFX_BUFFER_FORMAT_UTIL_H_