зеркало из https://github.com/AvaloniaUI/angle.git
Tests: Add FIFA Mobile trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*fifa_mobile* Bug: angleproject:4048 Change-Id: I5cc731ada3ddd9adcb247d7c6f8cf5d823bdc2a3 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2600098 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: Tim Van Patten <timvp@google.com>
This commit is contained in:
Родитель
956a358d18
Коммит
56479b065c
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"src/tests/restricted_traces/.gitignore":
|
||||
"01e347f5fab1e4160328dc53fd14bba1",
|
||||
"d744a2890f6bb9ad89829f819d17998b",
|
||||
"src/tests/restricted_traces/angry_birds_2_1500.tar.gz.sha1":
|
||||
"2b5d6505d6a8b6f3bbfbad2c8405a89d",
|
||||
"src/tests/restricted_traces/arena_of_valor.tar.gz.sha1":
|
||||
|
@ -19,6 +19,8 @@
|
|||
"0d569cbab0adf4df1027f671c65f7bff",
|
||||
"src/tests/restricted_traces/fate_grand_order.tar.gz.sha1":
|
||||
"091d008d6d38d2cc8a6d31e3be417063",
|
||||
"src/tests/restricted_traces/fifa_mobile.tar.gz.sha1":
|
||||
"18ceeeff6dab6ee56a5e110afaad9ecb",
|
||||
"src/tests/restricted_traces/free_fire.tar.gz.sha1":
|
||||
"a4e7aba54fb48524bb4f3022623bc7cd",
|
||||
"src/tests/restricted_traces/gen_restricted_traces.py":
|
||||
|
@ -42,13 +44,13 @@
|
|||
"src/tests/restricted_traces/real_commando_secret_mission.tar.gz.sha1":
|
||||
"4b484dd9c53a79100ec13b6f1c86040d",
|
||||
"src/tests/restricted_traces/restricted_traces.json":
|
||||
"64dc4eb7406274b240d4fd7d62c8d999",
|
||||
"a09f626ff8916a5a26c3eaf4772215f4",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.cpp":
|
||||
"f48a37690e1595b744648151143c6921",
|
||||
"05b2bfe90307ffd88db84a48d5648b69",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.gni":
|
||||
"2ce04e7f9dabb575c030cb554bc01ca8",
|
||||
"98b1a4f9722303a84e5d11ec384281ea",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.h":
|
||||
"07bdf473e90380c6f7b5c6e4238e1683",
|
||||
"787eb5595b4ecbf6a5c772a8b0da07eb",
|
||||
"src/tests/restricted_traces/temple_run_300.tar.gz.sha1":
|
||||
"0a08ce3df88cb358ccac3ac63ba04955",
|
||||
"src/tests/restricted_traces/trex_200.tar.gz.sha1":
|
||||
|
|
|
@ -16,6 +16,8 @@ egypt_1500.tar.gz
|
|||
egypt_1500/
|
||||
fate_grand_order.tar.gz
|
||||
fate_grand_order/
|
||||
fifa_mobile.tar.gz
|
||||
fifa_mobile/
|
||||
free_fire.tar.gz
|
||||
free_fire/
|
||||
google_maps.tar.gz
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
18cf2315ad731cfce18901329f35319957e16dec
|
|
@ -16,6 +16,7 @@
|
|||
"dragon_ball_legends",
|
||||
"egypt_1500",
|
||||
"fate_grand_order",
|
||||
"fifa_mobile",
|
||||
"free_fire",
|
||||
"google_maps",
|
||||
"kartrider_rush",
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#include "dragon_ball_legends/dragon_ball_legends_capture_context1.h"
|
||||
#include "egypt_1500/egypt_1500_capture_context1.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"
|
||||
#include "google_maps/google_maps_capture_context3.h"
|
||||
#include "kartrider_rush/kartrider_rush_capture_context1.h"
|
||||
|
@ -73,6 +74,9 @@ constexpr angle::PackedEnumMap<RestrictedTraceID, TraceInfo> kTraceInfos = {
|
|||
{fate_grand_order::kReplayFrameStart, fate_grand_order::kReplayFrameEnd,
|
||||
fate_grand_order::kReplayDrawSurfaceWidth, fate_grand_order::kReplayDrawSurfaceHeight,
|
||||
"fate_grand_order"}},
|
||||
{RestrictedTraceID::fifa_mobile,
|
||||
{fifa_mobile::kReplayFrameStart, fifa_mobile::kReplayFrameEnd,
|
||||
fifa_mobile::kReplayDrawSurfaceWidth, fifa_mobile::kReplayDrawSurfaceHeight, "fifa_mobile"}},
|
||||
{RestrictedTraceID::free_fire,
|
||||
{free_fire::kReplayFrameStart, free_fire::kReplayFrameEnd, free_fire::kReplayDrawSurfaceWidth,
|
||||
free_fire::kReplayDrawSurfaceHeight, "free_fire"}},
|
||||
|
@ -162,6 +166,9 @@ void ReplayFrame(RestrictedTraceID traceID, uint32_t frameIndex)
|
|||
case RestrictedTraceID::fate_grand_order:
|
||||
fate_grand_order::ReplayContext1Frame(frameIndex);
|
||||
break;
|
||||
case RestrictedTraceID::fifa_mobile:
|
||||
fifa_mobile::ReplayContext2Frame(frameIndex);
|
||||
break;
|
||||
case RestrictedTraceID::free_fire:
|
||||
free_fire::ReplayContext1Frame(frameIndex);
|
||||
break;
|
||||
|
@ -242,6 +249,9 @@ void ResetReplay(RestrictedTraceID traceID)
|
|||
case RestrictedTraceID::fate_grand_order:
|
||||
fate_grand_order::ResetContext1Replay();
|
||||
break;
|
||||
case RestrictedTraceID::fifa_mobile:
|
||||
fifa_mobile::ResetContext2Replay();
|
||||
break;
|
||||
case RestrictedTraceID::free_fire:
|
||||
free_fire::ResetContext1Replay();
|
||||
break;
|
||||
|
@ -322,6 +332,9 @@ void SetupReplay(RestrictedTraceID traceID)
|
|||
case RestrictedTraceID::fate_grand_order:
|
||||
fate_grand_order::SetupContext1Replay();
|
||||
break;
|
||||
case RestrictedTraceID::fifa_mobile:
|
||||
fifa_mobile::SetupContext2Replay();
|
||||
break;
|
||||
case RestrictedTraceID::free_fire:
|
||||
free_fire::SetupContext1Replay();
|
||||
break;
|
||||
|
@ -402,6 +415,9 @@ void SetBinaryDataDir(RestrictedTraceID traceID, const char *dataDir)
|
|||
case RestrictedTraceID::fate_grand_order:
|
||||
fate_grand_order::SetBinaryDataDir(dataDir);
|
||||
break;
|
||||
case RestrictedTraceID::fifa_mobile:
|
||||
fifa_mobile::SetBinaryDataDir(dataDir);
|
||||
break;
|
||||
case RestrictedTraceID::free_fire:
|
||||
free_fire::SetBinaryDataDir(dataDir);
|
||||
break;
|
||||
|
@ -482,6 +498,9 @@ void SetBinaryDataDecompressCallback(RestrictedTraceID traceID, DecompressCallba
|
|||
case RestrictedTraceID::fate_grand_order:
|
||||
fate_grand_order::SetBinaryDataDecompressCallback(callback);
|
||||
break;
|
||||
case RestrictedTraceID::fifa_mobile:
|
||||
fifa_mobile::SetBinaryDataDecompressCallback(callback);
|
||||
break;
|
||||
case RestrictedTraceID::free_fire:
|
||||
free_fire::SetBinaryDataDecompressCallback(callback);
|
||||
break;
|
||||
|
|
|
@ -18,6 +18,7 @@ angle_restricted_traces = [
|
|||
"dragon_ball_legends 1",
|
||||
"egypt_1500 1",
|
||||
"fate_grand_order 1",
|
||||
"fifa_mobile 2",
|
||||
"free_fire 1",
|
||||
"google_maps 3",
|
||||
"kartrider_rush 1",
|
||||
|
|
|
@ -63,6 +63,7 @@ enum class RestrictedTraceID
|
|||
dragon_ball_legends,
|
||||
egypt_1500,
|
||||
fate_grand_order,
|
||||
fifa_mobile,
|
||||
free_fire,
|
||||
google_maps,
|
||||
kartrider_rush,
|
||||
|
|
Загрузка…
Ссылка в новой задаче