blob: c6267c20878f482c9fdb980e7ed34457e0399957 [file] [log] [blame]
// Copyright 2019 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_USAGE_UTIL_H_
#define UI_GFX_BUFFER_USAGE_UTIL_H_
#include "ui/gfx/buffer_types.h"
#include "ui/gfx/gfx_export.h"
namespace gfx {
// Returns the name of |usage| as a string.
GFX_EXPORT const char* BufferUsageToString(BufferUsage usage);
} // namespace gfx
#endif // UI_GFX_BUFFER_USAGE_UTIL_H_