Commit 4e1aa85e by Cody Northrop Committed by Commit Bot

Tests: Add RAID: Shadow Legends trace

Test: angle_perftests --gtest_filter="*raid_shadow_legends*" Bug: angleproject:5602 Change-Id: I4df06d09db57bb3d6ab0dcaf86e84f418c248a0b Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2668066Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 442472e8
{ {
"src/tests/restricted_traces/.gitignore": "src/tests/restricted_traces/.gitignore":
"2c775f1c9d9e46c43e8c050869d92e1f", "f5b5e19e5cb4e6f06a3d6247ef2b7c7e",
"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":
...@@ -53,18 +53,20 @@ ...@@ -53,18 +53,20 @@
"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/raid_shadow_legends.tar.gz.sha1":
"18b0f7f021bd65340f25a70b79dd4789",
"src/tests/restricted_traces/real_commando_secret_mission.tar.gz.sha1": "src/tests/restricted_traces/real_commando_secret_mission.tar.gz.sha1":
"4b484dd9c53a79100ec13b6f1c86040d", "4b484dd9c53a79100ec13b6f1c86040d",
"src/tests/restricted_traces/real_gangster_crime.tar.gz.sha1": "src/tests/restricted_traces/real_gangster_crime.tar.gz.sha1":
"c85be329035a760edad673eb2ca7c3f1", "c85be329035a760edad673eb2ca7c3f1",
"src/tests/restricted_traces/restricted_traces.json": "src/tests/restricted_traces/restricted_traces.json":
"9ae233f47c0857d525882d4a313d8449", "38694388835faf74259c531e15c09eb5",
"src/tests/restricted_traces/restricted_traces_autogen.cpp": "src/tests/restricted_traces/restricted_traces_autogen.cpp":
"498f967b07e0569a921a589fb164d45e", "c4e4965f35899ed029bfc4a10d17f76d",
"src/tests/restricted_traces/restricted_traces_autogen.gni": "src/tests/restricted_traces/restricted_traces_autogen.gni":
"40b3ca546d28bb3bd20309abba8487f0", "b699a4d736ebb379cb00d666aa4b49e4",
"src/tests/restricted_traces/restricted_traces_autogen.h": "src/tests/restricted_traces/restricted_traces_autogen.h":
"fa27226508cb56b1eff8a70eb15272a7", "ebdd9a1860ce3fdc7ab01f538ace787c",
"src/tests/restricted_traces/saint_seiya_awakening.tar.gz.sha1": "src/tests/restricted_traces/saint_seiya_awakening.tar.gz.sha1":
"c9cde6bdfd9096a44d5f03d905a45a4f", "c9cde6bdfd9096a44d5f03d905a45a4f",
"src/tests/restricted_traces/subway_surfers.tar.gz.sha1": "src/tests/restricted_traces/subway_surfers.tar.gz.sha1":
......
...@@ -48,6 +48,8 @@ nba2k20_800.tar.gz ...@@ -48,6 +48,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/
raid_shadow_legends.tar.gz
raid_shadow_legends/
real_commando_secret_mission.tar.gz real_commando_secret_mission.tar.gz
real_commando_secret_mission/ real_commando_secret_mission/
real_gangster_crime.tar.gz real_gangster_crime.tar.gz
......
dbc9e93eb869b743f1f75c731405817ef6374cb8
\ No newline at end of file
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
"mobile_legends", "mobile_legends",
"nba2k20_800", "nba2k20_800",
"pubg_mobile_lite", "pubg_mobile_lite",
"raid_shadow_legends",
"real_commando_secret_mission", "real_commando_secret_mission",
"real_gangster_crime", "real_gangster_crime",
"saint_seiya_awakening", "saint_seiya_awakening",
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,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 "raid_shadow_legends/raid_shadow_legends_capture_context2.h"
#include "real_commando_secret_mission/real_commando_secret_mission_capture_context1.h" #include "real_commando_secret_mission/real_commando_secret_mission_capture_context1.h"
#include "real_gangster_crime/real_gangster_crime_capture_context3.h" #include "real_gangster_crime/real_gangster_crime_capture_context3.h"
#include "saint_seiya_awakening/saint_seiya_awakening_capture_context2.h" #include "saint_seiya_awakening/saint_seiya_awakening_capture_context2.h"
...@@ -141,6 +142,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { ...@@ -141,6 +142,10 @@ 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::raid_shadow_legends,
{raid_shadow_legends::kReplayFrameStart, raid_shadow_legends::kReplayFrameEnd,
raid_shadow_legends::kReplayDrawSurfaceWidth, raid_shadow_legends::kReplayDrawSurfaceHeight,
"raid_shadow_legends"}},
{RestrictedTraceID::real_commando_secret_mission, {RestrictedTraceID::real_commando_secret_mission,
{real_commando_secret_mission::kReplayFrameStart, {real_commando_secret_mission::kReplayFrameStart,
real_commando_secret_mission::kReplayFrameEnd, real_commando_secret_mission::kReplayFrameEnd,
...@@ -262,6 +267,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex) ...@@ -262,6 +267,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::raid_shadow_legends:
raid_shadow_legends::ReplayContext2Frame(frameIndex);
break;
case RestrictedTraceID::real_commando_secret_mission: case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::ReplayContext1Frame(frameIndex); real_commando_secret_mission::ReplayContext1Frame(frameIndex);
break; break;
...@@ -375,6 +383,9 @@ void ResetReplay(RestrictedTraceID traceID) ...@@ -375,6 +383,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::raid_shadow_legends:
raid_shadow_legends::ResetContext2Replay();
break;
case RestrictedTraceID::real_commando_secret_mission: case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::ResetContext1Replay(); real_commando_secret_mission::ResetContext1Replay();
break; break;
...@@ -488,6 +499,9 @@ void SetupReplay(RestrictedTraceID traceID) ...@@ -488,6 +499,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::raid_shadow_legends:
raid_shadow_legends::SetupContext2Replay();
break;
case RestrictedTraceID::real_commando_secret_mission: case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetupContext1Replay(); real_commando_secret_mission::SetupContext1Replay();
break; break;
...@@ -601,6 +615,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir) ...@@ -601,6 +615,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::raid_shadow_legends:
raid_shadow_legends::SetBinaryDataDir(dataDir);
break;
case RestrictedTraceID::real_commando_secret_mission: case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetBinaryDataDir(dataDir); real_commando_secret_mission::SetBinaryDataDir(dataDir);
break; break;
...@@ -714,6 +731,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba ...@@ -714,6 +731,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::raid_shadow_legends:
raid_shadow_legends::SetBinaryDataDecompressCallback(callback);
break;
case RestrictedTraceID::real_commando_secret_mission: case RestrictedTraceID::real_commando_secret_mission:
real_commando_secret_mission::SetBinaryDataDecompressCallback(callback); real_commando_secret_mission::SetBinaryDataDecompressCallback(callback);
break; break;
......
...@@ -34,6 +34,7 @@ angle_restricted_traces = [ ...@@ -34,6 +34,7 @@ angle_restricted_traces = [
"mobile_legends 1", "mobile_legends 1",
"nba2k20_800 1", "nba2k20_800 1",
"pubg_mobile_lite 1", "pubg_mobile_lite 1",
"raid_shadow_legends 2",
"real_commando_secret_mission 1", "real_commando_secret_mission 1",
"real_gangster_crime 3", "real_gangster_crime 3",
"saint_seiya_awakening 2", "saint_seiya_awakening 2",
......
...@@ -79,6 +79,7 @@ enum class RestrictedTraceID ...@@ -79,6 +79,7 @@ enum class RestrictedTraceID
mobile_legends, mobile_legends,
nba2k20_800, nba2k20_800,
pubg_mobile_lite, pubg_mobile_lite,
raid_shadow_legends,
real_commando_secret_mission, real_commando_secret_mission,
real_gangster_crime, real_gangster_crime,
saint_seiya_awakening, saint_seiya_awakening,
......
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