Commit af70ceac by Cody Northrop Committed by Commit Bot

Tests: Add Fallout Shelter Online trace

The trace includes calls to glDrawElements with zero count, but since that causes erros on QCOM, we have commented them out. To see them, grep for the following: glDrawElements(GL_TRIANGLES, 0, Test: angle_perftests --gtest_filter="*fallout_shelter_online*" Bug: angleproject:5615 Change-Id: I7e6a7d99f614884104df7d87dab082bef6d179e9 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2676208Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent 953e001e
{
"src/tests/restricted_traces/.gitignore":
"1d7df1edbfb0ccec7a5ef63d167fd50a",
"a385235543c74efe5e629464c6c21410",
"src/tests/restricted_traces/angry_birds_2_1500.tar.gz.sha1":
"2b5d6505d6a8b6f3bbfbad2c8405a89d",
"src/tests/restricted_traces/arena_of_valor.tar.gz.sha1":
......@@ -23,6 +23,8 @@
"0d569cbab0adf4df1027f671c65f7bff",
"src/tests/restricted_traces/eight_ball_pool.tar.gz.sha1":
"5826ab8ccdef774fbec4106ddef76720",
"src/tests/restricted_traces/fallout_shelter_online.tar.gz.sha1":
"6f2784d375489b6d6f44092de1a859e0",
"src/tests/restricted_traces/fate_grand_order.tar.gz.sha1":
"091d008d6d38d2cc8a6d31e3be417063",
"src/tests/restricted_traces/fifa_mobile.tar.gz.sha1":
......@@ -68,13 +70,13 @@
"src/tests/restricted_traces/real_gangster_crime.tar.gz.sha1":
"c85be329035a760edad673eb2ca7c3f1",
"src/tests/restricted_traces/restricted_traces.json":
"31d3aca1e36cfa8b8b86a7068875743e",
"919e86f84cf4a7fb55b3707a602137e4",
"src/tests/restricted_traces/restricted_traces_autogen.cpp":
"874a557b0f0fe10a7acbff5dfdc35778",
"86eabb91447341145432697cc831a1bd",
"src/tests/restricted_traces/restricted_traces_autogen.gni":
"63c1d2d02d7196357780fa7421f4992c",
"8a7361dc9ad4e04fa9adf0f47025624a",
"src/tests/restricted_traces/restricted_traces_autogen.h":
"fe91c1d3973c02eca4a5c09e0f58bccc",
"2ea8f1924bca98c57f36f2494fc4c3ea",
"src/tests/restricted_traces/saint_seiya_awakening.tar.gz.sha1":
"c9cde6bdfd9096a44d5f03d905a45a4f",
"src/tests/restricted_traces/shadow_fight_2.tar.gz.sha1":
......
......@@ -20,6 +20,8 @@ egypt_1500.tar.gz
egypt_1500/
eight_ball_pool.tar.gz
eight_ball_pool/
fallout_shelter_online.tar.gz
fallout_shelter_online/
fate_grand_order.tar.gz
fate_grand_order/
fifa_mobile.tar.gz
......
00191b4920b79bd5a78d8fd70c00dd55db593718
\ No newline at end of file
......@@ -18,6 +18,7 @@
"efootball_pes_2021",
"egypt_1500",
"eight_ball_pool",
"fallout_shelter_online",
"fate_grand_order",
"fifa_mobile",
"free_fire",
......
......@@ -22,6 +22,7 @@
#include "efootball_pes_2021/efootball_pes_2021_capture_context7.h"
#include "egypt_1500/egypt_1500_capture_context1.h"
#include "eight_ball_pool/eight_ball_pool_capture_context2.h"
#include "fallout_shelter_online/fallout_shelter_online_capture_context3.h"
#include "fate_grand_order/fate_grand_order_capture_context1.h"
#include "fifa_mobile/fifa_mobile_capture_context2.h"
#include "free_fire/free_fire_capture_context1.h"
......@@ -98,6 +99,10 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
{eight_ball_pool::kReplayFrameStart, eight_ball_pool::kReplayFrameEnd,
eight_ball_pool::kReplayDrawSurfaceWidth, eight_ball_pool::kReplayDrawSurfaceHeight,
"eight_ball_pool"}},
{RestrictedTraceID::fallout_shelter_online,
{fallout_shelter_online::kReplayFrameStart, fallout_shelter_online::kReplayFrameEnd,
fallout_shelter_online::kReplayDrawSurfaceWidth,
fallout_shelter_online::kReplayDrawSurfaceHeight, "fallout_shelter_online"}},
{RestrictedTraceID::fate_grand_order,
{fate_grand_order::kReplayFrameStart, fate_grand_order::kReplayFrameEnd,
fate_grand_order::kReplayDrawSurfaceWidth, fate_grand_order::kReplayDrawSurfaceHeight,
......@@ -253,6 +258,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex)
case RestrictedTraceID::eight_ball_pool:
eight_ball_pool::ReplayContext2Frame(frameIndex);
break;
case RestrictedTraceID::fallout_shelter_online:
fallout_shelter_online::ReplayContext3Frame(frameIndex);
break;
case RestrictedTraceID::fate_grand_order:
fate_grand_order::ReplayContext1Frame(frameIndex);
break;
......@@ -387,6 +395,9 @@ void ResetReplay(RestrictedTraceID traceID)
case RestrictedTraceID::eight_ball_pool:
eight_ball_pool::ResetContext2Replay();
break;
case RestrictedTraceID::fallout_shelter_online:
fallout_shelter_online::ResetContext3Replay();
break;
case RestrictedTraceID::fate_grand_order:
fate_grand_order::ResetContext1Replay();
break;
......@@ -521,6 +532,9 @@ void SetupReplay(RestrictedTraceID traceID)
case RestrictedTraceID::eight_ball_pool:
eight_ball_pool::SetupContext2Replay();
break;
case RestrictedTraceID::fallout_shelter_online:
fallout_shelter_online::SetupContext3Replay();
break;
case RestrictedTraceID::fate_grand_order:
fate_grand_order::SetupContext1Replay();
break;
......@@ -655,6 +669,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir)
case RestrictedTraceID::eight_ball_pool:
eight_ball_pool::SetBinaryDataDir(dataDir);
break;
case RestrictedTraceID::fallout_shelter_online:
fallout_shelter_online::SetBinaryDataDir(dataDir);
break;
case RestrictedTraceID::fate_grand_order:
fate_grand_order::SetBinaryDataDir(dataDir);
break;
......@@ -789,6 +806,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba
case RestrictedTraceID::eight_ball_pool:
eight_ball_pool::SetBinaryDataDecompressCallback(callback);
break;
case RestrictedTraceID::fallout_shelter_online:
fallout_shelter_online::SetBinaryDataDecompressCallback(callback);
break;
case RestrictedTraceID::fate_grand_order:
fate_grand_order::SetBinaryDataDecompressCallback(callback);
break;
......
......@@ -20,6 +20,7 @@ angle_restricted_traces = [
"efootball_pes_2021 7",
"egypt_1500 1",
"eight_ball_pool 2",
"fallout_shelter_online 3",
"fate_grand_order 1",
"fifa_mobile 2",
"free_fire 1",
......
......@@ -65,6 +65,7 @@ enum class RestrictedTraceID
efootball_pes_2021,
egypt_1500,
eight_ball_pool,
fallout_shelter_online,
fate_grand_order,
fifa_mobile,
free_fire,
......
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