summaryrefslogtreecommitdiffstats
path: root/gfx/angle/checkout/src/libANGLE/capture/frame_capture_utils.h
blob: 18e2fe41cc0011778bf5e03669b86f01f9d2203d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Copyright 2020 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// frame_capture_utils.h:
//   ANGLE frame capture utils interface.
//
#ifndef FRAME_CAPTURE_UTILS_H_
#define FRAME_CAPTURE_UTILS_H_

#include "libANGLE/Error.h"

namespace gl
{
class Context;
}  // namespace gl

namespace angle
{
Result SerializeContextToString(const gl::Context *context, std::string *stringOut);
}  // namespace angle
#endif  // FRAME_CAPTURE_UTILS_H_