Commit ecbd870f by Cody Northrop Committed by Commit Bot

Tests: Add Avakin Life - 3D Virtual World trace

Test: angle_perftest --gtest_filter="*avakin_life*" TBR: jmadill@google.com,timvp@google.com Bug: b/183344915 Bug: angleproject:5779 Change-Id: Iaf2d8341055d5b7c6f3c8a7a7a1fb3d1399fabc5 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2776746Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 0380f115
{ {
"src/tests/restricted_traces/.gitignore": "src/tests/restricted_traces/.gitignore":
"f5f9499ae2af272b495047184e990e8a", "c29171b000c2d404c49cced86e674361",
"src/tests/restricted_traces/aliexpress.tar.gz.sha1": "src/tests/restricted_traces/aliexpress.tar.gz.sha1":
"12f48ff0c4ca7980ea879c81b0c9518b", "12f48ff0c4ca7980ea879c81b0c9518b",
"src/tests/restricted_traces/among_us.tar.gz.sha1": "src/tests/restricted_traces/among_us.tar.gz.sha1":
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
"b775f6c42b1a09065c9c19660fb82113", "b775f6c42b1a09065c9c19660fb82113",
"src/tests/restricted_traces/asphalt_8.tar.gz.sha1": "src/tests/restricted_traces/asphalt_8.tar.gz.sha1":
"83e8aa4663fa6130db0bff09fb915f36", "83e8aa4663fa6130db0bff09fb915f36",
"src/tests/restricted_traces/avakin_life.tar.gz.sha1":
"371845cdb84fddc484fed2c857d3b9db",
"src/tests/restricted_traces/brawl_stars.tar.gz.sha1": "src/tests/restricted_traces/brawl_stars.tar.gz.sha1":
"8b1cf8ebd8a1099b4d298bb3b446e8bd", "8b1cf8ebd8a1099b4d298bb3b446e8bd",
"src/tests/restricted_traces/bus_simulator_indonesia.tar.gz.sha1": "src/tests/restricted_traces/bus_simulator_indonesia.tar.gz.sha1":
...@@ -98,13 +100,13 @@ ...@@ -98,13 +100,13 @@
"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":
"3ab4afd98fb76838fcf0a105be9921d0", "7db9f776c0d0b4097b6b57f5e73e719c",
"src/tests/restricted_traces/restricted_traces_autogen.cpp": "src/tests/restricted_traces/restricted_traces_autogen.cpp":
"8d1cb4e5cbf99156eb8e98292f48ebe4", "1d2f1267d9c6f9d4d7fd82798a75a4e2",
"src/tests/restricted_traces/restricted_traces_autogen.gni": "src/tests/restricted_traces/restricted_traces_autogen.gni":
"cb771409fc0f33ee841316567f81f443", "c2fdaa88969fb4c588900fdb4e05228e",
"src/tests/restricted_traces/restricted_traces_autogen.h": "src/tests/restricted_traces/restricted_traces_autogen.h":
"4936c5880b688e115fbafa03348ee9fa", "b6d05e2c2bf19135af3c1dee6900a4cf",
"src/tests/restricted_traces/rise_of_kingdoms.tar.gz.sha1": "src/tests/restricted_traces/rise_of_kingdoms.tar.gz.sha1":
"d4618f857c44f0dfa642ae3af8f161d9", "d4618f857c44f0dfa642ae3af8f161d9",
"src/tests/restricted_traces/romancing_saga.tar.gz.sha1": "src/tests/restricted_traces/romancing_saga.tar.gz.sha1":
......
...@@ -8,6 +8,8 @@ arena_of_valor.tar.gz ...@@ -8,6 +8,8 @@ arena_of_valor.tar.gz
arena_of_valor/ arena_of_valor/
asphalt_8.tar.gz asphalt_8.tar.gz
asphalt_8/ asphalt_8/
avakin_life.tar.gz
avakin_life/
brawl_stars.tar.gz brawl_stars.tar.gz
brawl_stars/ brawl_stars/
bus_simulator_indonesia.tar.gz bus_simulator_indonesia.tar.gz
......
eeb22e4f17e63bc87a4adb31b53a13c2c11bf31d
\ No newline at end of file
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"angry_birds_2_1500", "angry_birds_2_1500",
"arena_of_valor", "arena_of_valor",
"asphalt_8", "asphalt_8",
"avakin_life",
"brawl_stars", "brawl_stars",
"bus_simulator_indonesia", "bus_simulator_indonesia",
"candy_crush_500", "candy_crush_500",
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include "angry_birds_2_1500/angry_birds_2_1500_capture_context1.h" #include "angry_birds_2_1500/angry_birds_2_1500_capture_context1.h"
#include "arena_of_valor/arena_of_valor_capture_context1.h" #include "arena_of_valor/arena_of_valor_capture_context1.h"
#include "asphalt_8/asphalt_8_capture_context2.h" #include "asphalt_8/asphalt_8_capture_context2.h"
#include "avakin_life/avakin_life_capture_context2.h"
#include "brawl_stars/brawl_stars_capture_context1.h" #include "brawl_stars/brawl_stars_capture_context1.h"
#include "bus_simulator_indonesia/bus_simulator_indonesia_capture_context1.h" #include "bus_simulator_indonesia/bus_simulator_indonesia_capture_context1.h"
#include "candy_crush_500/candy_crush_500_capture_context1.h" #include "candy_crush_500/candy_crush_500_capture_context1.h"
...@@ -102,6 +103,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { ...@@ -102,6 +103,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
{kDefaultReplayContextClientMajorVersion, kDefaultReplayContextClientMinorVersion, {kDefaultReplayContextClientMajorVersion, kDefaultReplayContextClientMinorVersion,
asphalt_8::kReplayFrameStart, asphalt_8::kReplayFrameEnd, asphalt_8::kReplayDrawSurfaceWidth, asphalt_8::kReplayFrameStart, asphalt_8::kReplayFrameEnd, asphalt_8::kReplayDrawSurfaceWidth,
asphalt_8::kReplayDrawSurfaceHeight, "asphalt_8"}}, asphalt_8::kReplayDrawSurfaceHeight, "asphalt_8"}},
{RestrictedTraceID::avakin_life,
{avakin_life::kReplayContextClientMajorVersion, avakin_life::kReplayContextClientMinorVersion,
avakin_life::kReplayFrameStart, avakin_life::kReplayFrameEnd,
avakin_life::kReplayDrawSurfaceWidth, avakin_life::kReplayDrawSurfaceHeight, "avakin_life"}},
{RestrictedTraceID::brawl_stars, {RestrictedTraceID::brawl_stars,
{kDefaultReplayContextClientMajorVersion, kDefaultReplayContextClientMinorVersion, {kDefaultReplayContextClientMajorVersion, kDefaultReplayContextClientMinorVersion,
brawl_stars::kReplayFrameStart, brawl_stars::kReplayFrameEnd, brawl_stars::kReplayFrameStart, brawl_stars::kReplayFrameEnd,
...@@ -408,6 +413,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex) ...@@ -408,6 +413,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex)
case RestrictedTraceID::asphalt_8: case RestrictedTraceID::asphalt_8:
asphalt_8::ReplayContext2Frame(frameIndex); asphalt_8::ReplayContext2Frame(frameIndex);
break; break;
case RestrictedTraceID::avakin_life:
avakin_life::ReplayContext2Frame(frameIndex);
break;
case RestrictedTraceID::brawl_stars: case RestrictedTraceID::brawl_stars:
brawl_stars::ReplayContext1Frame(frameIndex); brawl_stars::ReplayContext1Frame(frameIndex);
break; break;
...@@ -608,6 +616,9 @@ void ResetReplay(RestrictedTraceID traceID) ...@@ -608,6 +616,9 @@ void ResetReplay(RestrictedTraceID traceID)
case RestrictedTraceID::asphalt_8: case RestrictedTraceID::asphalt_8:
asphalt_8::ResetContext2Replay(); asphalt_8::ResetContext2Replay();
break; break;
case RestrictedTraceID::avakin_life:
avakin_life::ResetContext2Replay();
break;
case RestrictedTraceID::brawl_stars: case RestrictedTraceID::brawl_stars:
brawl_stars::ResetContext1Replay(); brawl_stars::ResetContext1Replay();
break; break;
...@@ -808,6 +819,9 @@ void SetupReplay(RestrictedTraceID traceID) ...@@ -808,6 +819,9 @@ void SetupReplay(RestrictedTraceID traceID)
case RestrictedTraceID::asphalt_8: case RestrictedTraceID::asphalt_8:
asphalt_8::SetupContext2Replay(); asphalt_8::SetupContext2Replay();
break; break;
case RestrictedTraceID::avakin_life:
avakin_life::SetupContext2Replay();
break;
case RestrictedTraceID::brawl_stars: case RestrictedTraceID::brawl_stars:
brawl_stars::SetupContext1Replay(); brawl_stars::SetupContext1Replay();
break; break;
...@@ -1008,6 +1022,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir) ...@@ -1008,6 +1022,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir)
case RestrictedTraceID::asphalt_8: case RestrictedTraceID::asphalt_8:
asphalt_8::SetBinaryDataDir(dataDir); asphalt_8::SetBinaryDataDir(dataDir);
break; break;
case RestrictedTraceID::avakin_life:
avakin_life::SetBinaryDataDir(dataDir);
break;
case RestrictedTraceID::brawl_stars: case RestrictedTraceID::brawl_stars:
brawl_stars::SetBinaryDataDir(dataDir); brawl_stars::SetBinaryDataDir(dataDir);
break; break;
...@@ -1208,6 +1225,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba ...@@ -1208,6 +1225,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba
case RestrictedTraceID::asphalt_8: case RestrictedTraceID::asphalt_8:
asphalt_8::SetBinaryDataDecompressCallback(callback); asphalt_8::SetBinaryDataDecompressCallback(callback);
break; break;
case RestrictedTraceID::avakin_life:
avakin_life::SetBinaryDataDecompressCallback(callback);
break;
case RestrictedTraceID::brawl_stars: case RestrictedTraceID::brawl_stars:
brawl_stars::SetBinaryDataDecompressCallback(callback); brawl_stars::SetBinaryDataDecompressCallback(callback);
break; break;
......
...@@ -14,6 +14,7 @@ angle_restricted_traces = [ ...@@ -14,6 +14,7 @@ angle_restricted_traces = [
"angry_birds_2_1500 1", "angry_birds_2_1500 1",
"arena_of_valor 1", "arena_of_valor 1",
"asphalt_8 2", "asphalt_8 2",
"avakin_life 2",
"brawl_stars 1", "brawl_stars 1",
"bus_simulator_indonesia 1", "bus_simulator_indonesia 1",
"candy_crush_500 1", "candy_crush_500 1",
......
...@@ -59,6 +59,7 @@ enum class RestrictedTraceID ...@@ -59,6 +59,7 @@ enum class RestrictedTraceID
angry_birds_2_1500, angry_birds_2_1500,
arena_of_valor, arena_of_valor,
asphalt_8, asphalt_8,
avakin_life,
brawl_stars, brawl_stars,
bus_simulator_indonesia, bus_simulator_indonesia,
candy_crush_500, candy_crush_500,
......
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