Tests: Add Sonic The Hedgehog trace.

Test: angle_perftests --gtest_filter="*sonic_the_hedgehog*"
Bug: angleproject:6181
Change-Id: I40a5affe804a747445ef620c4f78e842c1eed1ad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3087444
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Lubosz Sarnecki
2021-08-11 11:28:29 +02:00
committed by Angle LUCI CQ
parent d3031c6540
commit 331be08ffa
7 changed files with 83 additions and 5 deletions

10
DEPS
View File

@@ -1464,6 +1464,16 @@ deps = {
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/sonic_the_hedgehog': {
'packages': [
{
'package': 'angle/traces/sonic_the_hedgehog',
'version': 'version:1',
},
],
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/standoff_2': {
'packages': [
{

View File

@@ -1,14 +1,14 @@
{
"src/tests/restricted_traces/.gitignore":
"43f45f3393334e258e1d281aa35de857",
"ab3f2b64ccf3135be3089fb46ad7de08",
"src/tests/restricted_traces/gen_restricted_traces.py":
"2719e293d10ef48a83724caa1cfe1b66",
"src/tests/restricted_traces/restricted_traces.json":
"ccc1286244612f3b8948396b16e30425",
"7543a73b035249228431cb62861e72b7",
"src/tests/restricted_traces/restricted_traces_autogen.cpp":
"d51e6f2bcbd425d6064348b44bd2f542",
"28c47e947ef99d3b2b37d5436ec21d40",
"src/tests/restricted_traces/restricted_traces_autogen.gni":
"35eda20ae2c89e54265031829d28ce3a",
"c486af7d9053a99fa6d74d4e7bfae361",
"src/tests/restricted_traces/restricted_traces_autogen.h":
"ab68f64e8d888d8e875d94780b8ce314"
"971ef4ea97250cf83465a05fc6bb32bb"
}

View File

@@ -81,6 +81,7 @@ shadow_fight_2/
slingshot_test1/
slingshot_test2/
sniper_3d/
sonic_the_hedgehog/
standoff_2/
subway_princess_runner/
subway_surfers/

View File

@@ -91,6 +91,7 @@
"slingshot_test1 1",
"slingshot_test2 1",
"sniper_3d 1",
"sonic_the_hedgehog 1",
"standoff_2 1",
"subway_princess_runner 1",
"subway_surfers 1",

View File

@@ -95,6 +95,7 @@
#include "slingshot_test1/slingshot_test1_capture_context2.h"
#include "slingshot_test2/slingshot_test2_capture_context2.h"
#include "sniper_3d/sniper_3d_capture_context1.h"
#include "sonic_the_hedgehog/sonic_the_hedgehog_capture_context2.h"
#include "standoff_2/standoff_2_capture_context1.h"
#include "subway_princess_runner/subway_princess_runner_capture_context2.h"
#include "subway_surfers/subway_surfers_capture_context1.h"
@@ -594,6 +595,12 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
{sniper_3d::kReplayContextClientMajorVersion, sniper_3d::kReplayContextClientMinorVersion,
sniper_3d::kReplayFrameStart, sniper_3d::kReplayFrameEnd, sniper_3d::kReplayDrawSurfaceWidth,
sniper_3d::kReplayDrawSurfaceHeight, kDefaultReplayDrawSurfaceColorSpace, "sniper_3d"}},
{RestrictedTraceID::sonic_the_hedgehog,
{sonic_the_hedgehog::kReplayContextClientMajorVersion,
sonic_the_hedgehog::kReplayContextClientMinorVersion, sonic_the_hedgehog::kReplayFrameStart,
sonic_the_hedgehog::kReplayFrameEnd, sonic_the_hedgehog::kReplayDrawSurfaceWidth,
sonic_the_hedgehog::kReplayDrawSurfaceHeight,
sonic_the_hedgehog::kReplayDrawSurfaceColorSpace, "sonic_the_hedgehog"}},
{RestrictedTraceID::standoff_2,
{standoff_2::kReplayContextClientMajorVersion, standoff_2::kReplayContextClientMinorVersion,
standoff_2::kReplayFrameStart, standoff_2::kReplayFrameEnd,

View File

@@ -4780,6 +4780,64 @@ angle_restricted_traces = [
],
"sniper_3d/sniper_3d_capture_context1.angledata.gz",
],
[
"sonic_the_hedgehog",
2,
[
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame001.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame002.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame003.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame004.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame005.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame006.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame007.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame008.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame009.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame010.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame011.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame012.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame013.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame014.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame015.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame016.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame017.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame018.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame019.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame020.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame021.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame022.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame023.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame024.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame025.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame026.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame027.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame028.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame029.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame030.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame031.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame032.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame033.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame034.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame035.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame036.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame037.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame038.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame039.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame040.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame041.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame042.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame043.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame044.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame045.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame046.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame047.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame048.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame049.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_context2_frame050.cpp",
"sonic_the_hedgehog/sonic_the_hedgehog_capture_shared.cpp",
],
"sonic_the_hedgehog/sonic_the_hedgehog.angledata.gz",
],
[
"standoff_2",
1,

View File

@@ -138,6 +138,7 @@ enum class RestrictedTraceID
slingshot_test1,
slingshot_test2,
sniper_3d,
sonic_the_hedgehog,
standoff_2,
subway_princess_runner,
subway_surfers,