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 // frame_capture_utils.h: 7 // ANGLE frame capture utils interface. 8 // 9 #ifndef FRAME_CAPTURE_UTILS_H_ 10 #define FRAME_CAPTURE_UTILS_H_ 11 12 #include "libANGLE/Error.h" 13 14 namespace gl 15 { 16 class Context; 17 } // namespace gl 18 19 namespace angle 20 { 21 Result SerializeContextToString(const gl::Context *context, std::string *stringOut); 22 } // namespace angle 23 #endif // FRAME_CAPTURE_UTILS_H_ 24