Commit 7caff9d8 by Cody Northrop Committed by Commit Bot

Tests: Add Homescapes trace

Test: angle_perftests --gtest_filter="*homescapes*" Tbr: timvp@google.com,jmadill@google.com Bug: b/186215022 Change-Id: I83949d4a5450d512d010b2d91c45da618fae0aac Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2848127Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 9d202af0
...@@ -942,6 +942,16 @@ deps = { ...@@ -942,6 +942,16 @@ deps = {
'dep_type': 'cipd', 'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces', 'condition': 'checkout_angle_restricted_traces',
}, },
'src/tests/restricted_traces/homescapes': {
'packages': [
{
'package': 'angle/traces/homescapes',
'version': 'version:1',
},
],
'dep_type': 'cipd',
'condition': 'checkout_angle_restricted_traces',
},
'src/tests/restricted_traces/idle_heroes': { 'src/tests/restricted_traces/idle_heroes': {
'packages': [ 'packages': [
{ {
......
{ {
"src/tests/restricted_traces/.gitignore": "src/tests/restricted_traces/.gitignore":
"ee7ecd28a525ee120022a19dbe553c4d", "d64c31f7d253dcb69fedbc6d4f957924",
"src/tests/restricted_traces/gen_restricted_traces.py": "src/tests/restricted_traces/gen_restricted_traces.py":
"f700505c2ba8299a6ce68962763d7f2d", "f700505c2ba8299a6ce68962763d7f2d",
"src/tests/restricted_traces/restricted_traces.json": "src/tests/restricted_traces/restricted_traces.json":
"27080926b41006e6c46acf24dded8639", "ac9998275dfd72ca3b5061f9b3a5fe24",
"src/tests/restricted_traces/restricted_traces_autogen.cpp": "src/tests/restricted_traces/restricted_traces_autogen.cpp":
"bfd8f53f57d3b0f8c92f47fb79ca7672", "e0c76f0da0edcf840b83b83013ae78e3",
"src/tests/restricted_traces/restricted_traces_autogen.gni": "src/tests/restricted_traces/restricted_traces_autogen.gni":
"2f6ad61e49c1fd3153f0343ee0b722d8", "03583662238af8a71ea7e44a0423fae8",
"src/tests/restricted_traces/restricted_traces_autogen.h": "src/tests/restricted_traces/restricted_traces_autogen.h":
"5cd50b13eddc6d61f690f0fa6b04b116" "9311cd76b4bf3c96bff0031f964b68a3"
} }
\ No newline at end of file
...@@ -32,6 +32,7 @@ happy_color/ ...@@ -32,6 +32,7 @@ happy_color/
hay_day/ hay_day/
hearthstone/ hearthstone/
hill_climb_racing/ hill_climb_racing/
homescapes/
idle_heroes/ idle_heroes/
junes_journey/ junes_journey/
kartrider_rush/ kartrider_rush/
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
"hay_day 1", "hay_day 1",
"hearthstone 1", "hearthstone 1",
"hill_climb_racing 1", "hill_climb_racing 1",
"homescapes 1",
"idle_heroes 1", "idle_heroes 1",
"junes_journey 1", "junes_journey 1",
"kartrider_rush 1", "kartrider_rush 1",
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#include "hay_day/hay_day_capture_context1.h" #include "hay_day/hay_day_capture_context1.h"
#include "hearthstone/hearthstone_capture_context1.h" #include "hearthstone/hearthstone_capture_context1.h"
#include "hill_climb_racing/hill_climb_racing_capture_context1.h" #include "hill_climb_racing/hill_climb_racing_capture_context1.h"
#include "homescapes/homescapes_capture_context1.h"
#include "idle_heroes/idle_heroes_capture_context2.h" #include "idle_heroes/idle_heroes_capture_context2.h"
#include "junes_journey/junes_journey_capture_context1.h" #include "junes_journey/junes_journey_capture_context1.h"
#include "kartrider_rush/kartrider_rush_capture_context1.h" #include "kartrider_rush/kartrider_rush_capture_context1.h"
...@@ -257,6 +258,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = { ...@@ -257,6 +258,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
hill_climb_racing::kReplayContextClientMinorVersion, hill_climb_racing::kReplayFrameStart, hill_climb_racing::kReplayContextClientMinorVersion, hill_climb_racing::kReplayFrameStart,
hill_climb_racing::kReplayFrameEnd, hill_climb_racing::kReplayDrawSurfaceWidth, hill_climb_racing::kReplayFrameEnd, hill_climb_racing::kReplayDrawSurfaceWidth,
hill_climb_racing::kReplayDrawSurfaceHeight, "hill_climb_racing"}}, hill_climb_racing::kReplayDrawSurfaceHeight, "hill_climb_racing"}},
{RestrictedTraceID::homescapes,
{homescapes::kReplayContextClientMajorVersion, homescapes::kReplayContextClientMinorVersion,
homescapes::kReplayFrameStart, homescapes::kReplayFrameEnd,
homescapes::kReplayDrawSurfaceWidth, homescapes::kReplayDrawSurfaceHeight, "homescapes"}},
{RestrictedTraceID::idle_heroes, {RestrictedTraceID::idle_heroes,
{idle_heroes::kReplayContextClientMajorVersion, idle_heroes::kReplayContextClientMinorVersion, {idle_heroes::kReplayContextClientMajorVersion, idle_heroes::kReplayContextClientMinorVersion,
idle_heroes::kReplayFrameStart, idle_heroes::kReplayFrameEnd, idle_heroes::kReplayFrameStart, idle_heroes::kReplayFrameEnd,
......
...@@ -1118,6 +1118,22 @@ angle_restricted_traces = [ ...@@ -1118,6 +1118,22 @@ angle_restricted_traces = [
], ],
], ],
[ [
"homescapes",
1,
[
"homescapes/homescapes_capture_context1_frame001.cpp",
"homescapes/homescapes_capture_context1_frame002.cpp",
"homescapes/homescapes_capture_context1_frame003.cpp",
"homescapes/homescapes_capture_context1_frame004.cpp",
"homescapes/homescapes_capture_context1_frame005.cpp",
"homescapes/homescapes_capture_context1_frame006.cpp",
"homescapes/homescapes_capture_context1_frame007.cpp",
"homescapes/homescapes_capture_context1_frame008.cpp",
"homescapes/homescapes_capture_context1_frame009.cpp",
"homescapes/homescapes_capture_context1_frame010.cpp",
],
],
[
"idle_heroes", "idle_heroes",
2, 2,
[ [
......
...@@ -88,6 +88,7 @@ enum class RestrictedTraceID ...@@ -88,6 +88,7 @@ enum class RestrictedTraceID
hay_day, hay_day,
hearthstone, hearthstone,
hill_climb_racing, hill_climb_racing,
homescapes,
idle_heroes, idle_heroes,
junes_journey, junes_journey,
kartrider_rush, kartrider_rush,
......
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