зеркало из https://github.com/AvaloniaUI/angle.git
Add World Cricket Championship 2 Trace
Test: angle_perftests --gtest_filter="*world_cricket_championship_2*" Bug: b/194508692 Change-Id: I0f36eba247b4726bc13b327634c429339ad1297c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3258343 Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Tim Van Patten <timvp@google.com> Commit-Queue: Yuxin Hu <yuxinhu@google.com>
This commit is contained in:
Родитель
afaa1287c7
Коммит
8aec7f358e
10
DEPS
10
DEPS
|
@ -1664,6 +1664,16 @@ deps = {
|
|||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_angle_restricted_traces',
|
||||
},
|
||||
'src/tests/restricted_traces/world_cricket_championship_2': {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'angle/traces/world_cricket_championship_2',
|
||||
'version': 'version:1',
|
||||
},
|
||||
],
|
||||
'dep_type': 'cipd',
|
||||
'condition': 'checkout_angle_restricted_traces',
|
||||
},
|
||||
'src/tests/restricted_traces/world_of_kings': {
|
||||
'packages': [
|
||||
{
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"src/tests/restricted_traces/.gitignore":
|
||||
"f30bb27efd86e9fcca85249f3fc931a7",
|
||||
"e1e43b4e19ea9204910e8e121900cf7a",
|
||||
"src/tests/restricted_traces/gen_restricted_traces.py":
|
||||
"6748acf6499a7a2632ac8a0416c2ef66",
|
||||
"src/tests/restricted_traces/restricted_traces.json":
|
||||
"cd8d5539ba9a925152c101872030093d",
|
||||
"1bb099a03ad7e0d2c260c3597374cb6a",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.cpp":
|
||||
"717848195be5ad1a9d180f2669b7e3bc",
|
||||
"ca37e3d2bb64ac533086c8fc1092ef58",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.gni":
|
||||
"bab325ff5a88b140cd2f586f3298d651",
|
||||
"107ee07b41395d15061d5c6777694a17",
|
||||
"src/tests/restricted_traces/restricted_traces_autogen.h":
|
||||
"77a97c4bb042e28be314bf45e915e013"
|
||||
}
|
|
@ -1111,6 +1111,10 @@ TracePerfTest::TracePerfTest(const TracePerfParams ¶ms)
|
|||
}
|
||||
}
|
||||
|
||||
if (traceNameIs("world_cricket_championship_2"))
|
||||
{
|
||||
addExtensionPrerequisite("GL_KHR_texture_compression_astc_ldr");
|
||||
}
|
||||
ASSERT(mParams.surfaceType == SurfaceType::Window || gEnableAllTraceTests);
|
||||
ASSERT(mParams.eglParameters.deviceType == EGL_PLATFORM_ANGLE_DEVICE_TYPE_HARDWARE_ANGLE ||
|
||||
gEnableAllTraceTests);
|
||||
|
|
|
@ -101,6 +101,7 @@ trex_200/
|
|||
whatsapp/
|
||||
words_with_friends_2/
|
||||
wordscapes/
|
||||
world_cricket_championship_2/
|
||||
world_of_kings/
|
||||
world_of_tanks_blitz/
|
||||
world_war_doh/
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
"whatsapp 1",
|
||||
"words_with_friends_2 1",
|
||||
"wordscapes 1",
|
||||
"world_cricket_championship_2 1",
|
||||
"world_of_kings 1",
|
||||
"world_of_tanks_blitz 1",
|
||||
"world_war_doh 1",
|
||||
|
|
|
@ -121,7 +121,7 @@ namespace trace_angle
|
|||
{
|
||||
namespace
|
||||
{
|
||||
constexpr size_t kNumTraces = 108;
|
||||
constexpr size_t kNumTraces = 109;
|
||||
struct TracePair
|
||||
{
|
||||
const char name[kTraceInfoMaxNameLen];
|
||||
|
@ -2331,6 +2331,7 @@ constexpr TracePair kTraceInfos[kNumTraces] = {
|
|||
false,
|
||||
false,
|
||||
false}},
|
||||
{"world_cricket_championship_2", {}},
|
||||
{"world_of_kings",
|
||||
{"world_of_kings",
|
||||
world_of_kings::kReplayContextClientMajorVersion,
|
||||
|
|
|
@ -6024,6 +6024,48 @@ angle_restricted_traces = [
|
|||
[ "wordscapes/wordscapes.angledata.gz" ],
|
||||
"wordscapes/wordscapes_capture_context3",
|
||||
],
|
||||
[
|
||||
"world_cricket_championship_2",
|
||||
1,
|
||||
[
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame001.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame002.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame003.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame004.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame005.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame006.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame007.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame008.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame009.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame010.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame011.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame012.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame013.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame014.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame015.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame016.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame017.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame018.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame019.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame020.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame021.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame022.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame023.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame024.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame025.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame026.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame027.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame028.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame029.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1_frame030.cpp",
|
||||
"world_cricket_championship_2/world_cricket_championship_2_shared.cpp",
|
||||
],
|
||||
[
|
||||
"world_cricket_championship_2/world_cricket_championship_2.angledata.gz",
|
||||
"world_cricket_championship_2/world_cricket_championship_2.json",
|
||||
],
|
||||
"world_cricket_championship_2/world_cricket_championship_2_context1",
|
||||
],
|
||||
[
|
||||
"world_of_kings",
|
||||
3,
|
||||
|
|
Загрузка…
Ссылка в новой задаче