Commit d276773a by Cody Northrop Committed by Commit Bot

Tests: Add Real Commando Secret Mission trace

Test: angle_perftests --gtest_filter="*real_commando_secret_mission*" Bug: b/172979023 Change-Id: Ifcb283d06bea78732d0f5daf9b1dfbb915fb9fab Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2530458Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent c43088c6
{ {
"src/tests/restricted_traces/.gitignore": "src/tests/restricted_traces/.gitignore":
"737ec95dcd9772d5c3429da279f0e008", "d5726b6a94502ab787506adff19284ee",
"src/tests/restricted_traces/angry_birds_2_1500.tar.gz.sha1": "src/tests/restricted_traces/angry_birds_2_1500.tar.gz.sha1":
"2b5d6505d6a8b6f3bbfbad2c8405a89d", "2b5d6505d6a8b6f3bbfbad2c8405a89d",
"src/tests/restricted_traces/arena_of_valor.tar.gz.sha1": "src/tests/restricted_traces/arena_of_valor.tar.gz.sha1":
...@@ -35,14 +35,16 @@ ...@@ -35,14 +35,16 @@
"9a97bffd4c6c156a14308bb1c6f50a7e", "9a97bffd4c6c156a14308bb1c6f50a7e",
"src/tests/restricted_traces/pubg_mobile_lite.tar.gz.sha1": "src/tests/restricted_traces/pubg_mobile_lite.tar.gz.sha1":
"6a77372489ee4b43639b684a39ab8d71", "6a77372489ee4b43639b684a39ab8d71",
"src/tests/restricted_traces/real_commando_secret_mission.tar.gz.sha1":
"4b484dd9c53a79100ec13b6f1c86040d",
"src/tests/restricted_traces/restricted_traces.json": "src/tests/restricted_traces/restricted_traces.json":
"2e5e53faaaffae07d60240b3623ab56b", "409567d34961d31f9624ba43783fe2f3",
"src/tests/restricted_traces/restricted_traces_autogen.cpp": "src/tests/restricted_traces/restricted_traces_autogen.cpp":
"59642dd94d215e99dc6a4218377e53ce", "47e925e155579d8293858bee531aa3e3",
"src/tests/restricted_traces/restricted_traces_autogen.gni": "src/tests/restricted_traces/restricted_traces_autogen.gni":
"78f0f06f56b09719f72ce449f8ea86f0", "217b5f08593e80c6d3beb9e8a88055cd",
"src/tests/restricted_traces/restricted_traces_autogen.h": "src/tests/restricted_traces/restricted_traces_autogen.h":
"f4b0de9cf67a9366564fd29aebb945da", "599c5bd34872a7ca9e70adb1d5bcd7ba",
"src/tests/restricted_traces/temple_run_300.tar.gz.sha1": "src/tests/restricted_traces/temple_run_300.tar.gz.sha1":
"0a08ce3df88cb358ccac3ac63ba04955", "0a08ce3df88cb358ccac3ac63ba04955",
"src/tests/restricted_traces/trex_200.tar.gz.sha1": "src/tests/restricted_traces/trex_200.tar.gz.sha1":
......
...@@ -30,6 +30,8 @@ nba2k20_800.tar.gz ...@@ -30,6 +30,8 @@ nba2k20_800.tar.gz
nba2k20_800/ nba2k20_800/
pubg_mobile_lite.tar.gz pubg_mobile_lite.tar.gz
pubg_mobile_lite/ pubg_mobile_lite/
real_commando_secret_mission.tar.gz
real_commando_secret_mission/
temple_run_300.tar.gz temple_run_300.tar.gz
temple_run_300/ temple_run_300/
trex_200.tar.gz trex_200.tar.gz
......
10472ddea67f8b3179b3f5235666ccc1d8a7b8dd
\ No newline at end of file
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"mobile_legends", "mobile_legends",
"nba2k20_800", "nba2k20_800",
"pubg_mobile_lite", "pubg_mobile_lite",
"real_commando_secret_mission",
"temple_run_300", "temple_run_300",
"trex_200", "trex_200",
"world_of_tanks_blitz" "world_of_tanks_blitz"
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include "mobile_legends/mobile_legends_capture_context1.h" #include "mobile_legends/mobile_legends_capture_context1.h"
#include "nba2k20_800/nba2k20_800_capture_context1.h" #include "nba2k20_800/nba2k20_800_capture_context1.h"
#include "pubg_mobile_lite/pubg_mobile_lite_capture_context1.h" #include "pubg_mobile_lite/pubg_mobile_lite_capture_context1.h"
#include "real_commando_secret_mission/real_commando_secret_mission_capture_context1.h"
#include "temple_run_300/temple_run_300_capture_context1.h" #include "temple_run_300/temple_run_300_capture_context1.h"
#include "trex_200/trex_200_capture_context1.h" #include "trex_200/trex_200_capture_context1.h"
#include "world_of_tanks_blitz/world_of_tanks_blitz_capture_context1.h" #include "world_of_tanks_blitz/world_of_tanks_blitz_capture_context1.h"
...@@ -95,6 +96,11 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { ...@@ -95,6 +96,11 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
{pubg_mobile_lite::kReplayFrameStart, pubg_mobile_lite::kReplayFrameEnd, {pubg_mobile_lite::kReplayFrameStart, pubg_mobile_lite::kReplayFrameEnd,
pubg_mobile_lite::kReplayDrawSurfaceWidth, pubg_mobile_lite::kReplayDrawSurfaceHeight, pubg_mobile_lite::kReplayDrawSurfaceWidth, pubg_mobile_lite::kReplayDrawSurfaceHeight,
"pubg_mobile_lite"}}, "pubg_mobile_lite"}},
{RestrictedTraceID::real_commando_secret_mission,
{real_commando_secret_mission::kReplayFrameStart,
real_commando_secret_mission::kReplayFrameEnd,
real_commando_secret_mission::kReplayDrawSurfaceWidth,
real_commando_secret_mission::kReplayDrawSurfaceHeight, "real_commando_secret_mission"}},
{RestrictedTraceID::temple_run_300, {RestrictedTraceID::temple_run_300,
{temple_run_300::kReplayFrameStart, temple_run_300::kReplayFrameEnd, {temple_run_300::kReplayFrameStart, temple_run_300::kReplayFrameEnd,
temple_run_300::kReplayDrawSurfaceWidth, temple_run_300::kReplayDrawSurfaceHeight, temple_run_300::kReplayDrawSurfaceWidth, temple_run_300::kReplayDrawSurfaceHeight,
...@@ -165,6 +171,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex) ...@@ -165,6 +171,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex)
case RestrictedTraceID::pubg_mobile_lite: case RestrictedTraceID::pubg_mobile_lite:
pubg_mobile_lite::ReplayContext1Frame(frameIndex); pubg_mobile_lite::ReplayContext1Frame(frameIndex);
break; break;
case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::ReplayContext1Frame(frameIndex);
break;
case RestrictedTraceID::temple_run_300: case RestrictedTraceID::temple_run_300:
temple_run_300::ReplayContext1Frame(frameIndex); temple_run_300::ReplayContext1Frame(frameIndex);
break; break;
...@@ -233,6 +242,9 @@ void ResetReplay(RestrictedTraceID traceID) ...@@ -233,6 +242,9 @@ void ResetReplay(RestrictedTraceID traceID)
case RestrictedTraceID::pubg_mobile_lite: case RestrictedTraceID::pubg_mobile_lite:
pubg_mobile_lite::ResetContext1Replay(); pubg_mobile_lite::ResetContext1Replay();
break; break;
case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::ResetContext1Replay();
break;
case RestrictedTraceID::temple_run_300: case RestrictedTraceID::temple_run_300:
temple_run_300::ResetContext1Replay(); temple_run_300::ResetContext1Replay();
break; break;
...@@ -301,6 +313,9 @@ void SetupReplay(RestrictedTraceID traceID) ...@@ -301,6 +313,9 @@ void SetupReplay(RestrictedTraceID traceID)
case RestrictedTraceID::pubg_mobile_lite: case RestrictedTraceID::pubg_mobile_lite:
pubg_mobile_lite::SetupContext1Replay(); pubg_mobile_lite::SetupContext1Replay();
break; break;
case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetupContext1Replay();
break;
case RestrictedTraceID::temple_run_300: case RestrictedTraceID::temple_run_300:
temple_run_300::SetupContext1Replay(); temple_run_300::SetupContext1Replay();
break; break;
...@@ -369,6 +384,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir) ...@@ -369,6 +384,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir)
case RestrictedTraceID::pubg_mobile_lite: case RestrictedTraceID::pubg_mobile_lite:
pubg_mobile_lite::SetBinaryDataDir(dataDir); pubg_mobile_lite::SetBinaryDataDir(dataDir);
break; break;
case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetBinaryDataDir(dataDir);
break;
case RestrictedTraceID::temple_run_300: case RestrictedTraceID::temple_run_300:
temple_run_300::SetBinaryDataDir(dataDir); temple_run_300::SetBinaryDataDir(dataDir);
break; break;
...@@ -437,6 +455,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba ...@@ -437,6 +455,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba
case RestrictedTraceID::pubg_mobile_lite: case RestrictedTraceID::pubg_mobile_lite:
pubg_mobile_lite::SetBinaryDataDecompressCallback(callback); pubg_mobile_lite::SetBinaryDataDecompressCallback(callback);
break; break;
case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetBinaryDataDecompressCallback(callback);
break;
case RestrictedTraceID::temple_run_300: case RestrictedTraceID::temple_run_300:
temple_run_300::SetBinaryDataDecompressCallback(callback); temple_run_300::SetBinaryDataDecompressCallback(callback);
break; break;
......
...@@ -25,6 +25,7 @@ angle_restricted_traces = [ ...@@ -25,6 +25,7 @@ angle_restricted_traces = [
"mobile_legends 1", "mobile_legends 1",
"nba2k20_800 1", "nba2k20_800 1",
"pubg_mobile_lite 1", "pubg_mobile_lite 1",
"real_commando_secret_mission 1",
"temple_run_300 1", "temple_run_300 1",
"trex_200 1", "trex_200 1",
"world_of_tanks_blitz 1", "world_of_tanks_blitz 1",
......
...@@ -70,6 +70,7 @@ enum class RestrictedTraceID ...@@ -70,6 +70,7 @@ enum class RestrictedTraceID
mobile_legends, mobile_legends,
nba2k20_800, nba2k20_800,
pubg_mobile_lite, pubg_mobile_lite,
real_commando_secret_mission,
temple_run_300, temple_run_300,
trex_200, trex_200,
world_of_tanks_blitz, world_of_tanks_blitz,
......
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