blob: cf3c41bee52f80874b9037ea6c3e1b3e2de030bb [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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_