Commit bdf91e5f by Manh Nguyen Committed by Commit Bot

Refactor frame_capture_utils.h to frame_capture_test_utils.h

frame_capture_utils.h is only used in tests so changing the name to be frame_capture_test_utils.h is more appropriate. Also frame_capture_utils.h will now be a file in libANGLE_with_capture library where serialization code is stored. Bug: angleproject:4806 Change-Id: I7482693a75b2d0edda7e84ae9b777fd3f46f1855 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2273917 Commit-Queue: Manh Nguyen <nguyenmh@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 58ff77a8
......@@ -9,7 +9,7 @@
#include <functional>
#include "util/frame_capture_utils.h"
#include "util/frame_capture_test_utils.h"
// Build the right context header based on replay ID
// This will expand to "angle_capture_context<#>.h"
......
......@@ -22,7 +22,7 @@
#include <string>
#include <utility>
#include "util/frame_capture_utils.h"
#include "util/frame_capture_test_utils.h"
// Build the right context header based on replay ID
// This will expand to "angle_capture_context<#>.h"
......
......@@ -13,7 +13,7 @@
#include "tests/perf_tests/ANGLEPerfTest.h"
#include "tests/perf_tests/DrawCallPerfParams.h"
#include "util/egl_loader_autogen.h"
#include "util/frame_capture_utils.h"
#include "util/frame_capture_test_utils.h"
#include "util/png_utils.h"
#include "restricted_traces/restricted_traces_autogen.h"
......
......@@ -15,7 +15,7 @@ _util_sources = [
"OSWindow.cpp",
"OSWindow.h",
"com_utils.h",
"frame_capture_utils.h",
"frame_capture_test_utils.h",
"geometry_utils.cpp",
"geometry_utils.h",
"keyboard.h",
......
......@@ -3,12 +3,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// frame_capture_utils:
// frame_capture_test_utils:
// Helper functions for capture and replay of traces.
//
#ifndef UTIL_FRAME_CAPTURE_UTILS_H_
#define UTIL_FRAME_CAPTURE_UTILS_H_
#ifndef UTIL_FRAME_CAPTURE_TEST_UTILS_H_
#define UTIL_FRAME_CAPTURE_TEST_UTILS_H_
#include <iostream>
#include <memory>
......@@ -49,4 +49,4 @@ inline uint8_t *DecompressBinaryData(const std::vector<uint8_t> &compressedData)
} // namespace angle
#endif // UTIL_FRAME_CAPTURE_UTILS_H_
#endif // UTIL_FRAME_CAPTURE_TEST_UTILS_H_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment