1 // 2 // Copyright 2020 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.h: 7 // ANGLE GL state serialization. 8 // 9 10 #ifndef LIBANGLE_SERIALIZE_H_ 11 #define LIBANGLE_SERIALIZE_H_ 12 13 #include "libANGLE/Error.h" 14 15 namespace gl 16 { 17 class Context; 18 } // namespace gl 19 20 namespace angle 21 { 22 Result SerializeContextToString(const gl::Context *context, std::string *stringOut); 23 } // namespace angle 24 #endif // LIBANGLE_SERIALIZE_H_ 25