summaryrefslogtreecommitdiff
path: root/chromium/ui/gfx/buffer_usage_util.h
blob: cf3c41bee52f80874b9037ea6c3e1b3e2de030bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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_