Hash :
4bfb749f
Author :
Date :
2022-10-10T20:59:48
Capture/Replay: Move shared trace code into src/common. This will let them be accessible to the test harnesses. The trace tests interpreter will need direct access to the classes that we move in this CL. This CL also moves the GLenum utils into the common folder, where they were already used by some other tests. Bug: angleproject:7752 Change-Id: I97ad607938ef29bc316f6d40098478e002ea8128 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3963362 Reviewed-by: Yuxin Hu <yuxinhu@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
//
// Copyright 2021 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.
//
// serialize_mock.cpp:
// GL state serialization stub implementation.
//
#include "libANGLE/capture/serialize.h"
namespace angle
{
Result SerializeContextToString(const gl::Context *context, std::string *stringOut)
{
*stringOut = "SerializationNotAvailable";
return angle::Result::Continue;
}
} // namespace angle