xref: /aosp_15_r20/external/angle/src/libANGLE/capture/serialize_mock.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2021 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // serialize_mock.cpp:
7 //   GL state serialization stub implementation.
8 //
9 
10 #include "libANGLE/capture/serialize.h"
11 
12 namespace angle
13 {
SerializeContextToString(const gl::Context * context,std::string * stringOut)14 Result SerializeContextToString(const gl::Context *context, std::string *stringOut)
15 {
16     *stringOut = "SerializationNotAvailable";
17     return angle::Result::Continue;
18 }
19 }  // namespace angle
20