blob: 67ffe7b11c20386bf08db30de9bcc0af6e2488dc [file] [log] [blame]
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_GFX_BUFFER_FORMAT_UTIL_H_
#define UI_GFX_BUFFER_FORMAT_UTIL_H_
#include <stddef.h>
#include "base/component_export.h"
#include "ui/gfx/buffer_types.h"
namespace gfx {
// Returns the name of |format| as a string.
COMPONENT_EXPORT(GFX) const char* BufferFormatToString(BufferFormat format);
} // namespace gfx
#endif // UI_GFX_BUFFER_FORMAT_UTIL_H_