Commit 39cef942 by Gert Wollny Committed by Commit Bot

Capture/Replay: capture WebGL compatibility

With that we can also enable the tests DifferentStencilMasksTest.* Bug: angleproject:5851 Change-Id: If2c992e456716f606320e3992f389823d0af050f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2853584 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent c6fb0e5a
......@@ -1226,6 +1226,8 @@ void WriteCppReplayIndexFiles(bool compression,
<< (context->getState().areClientArraysEnabled() ? "true" : "false") << ";\n";
header << "constexpr bool kbindGeneratesResources = "
<< (context->getState().isBindGeneratesResourceEnabled() ? "true" : "false") << ";\n";
header << "constexpr bool kWebGLCompatibility = "
<< (context->getState().getExtensions().webglCompatibility ? "true" : "false") << ";\n";
header << "// End Trace Metadata\n";
header << "\n";
......
......@@ -98,6 +98,7 @@ test_trace_info_init_template = """\
{namespace}::kIsBinaryDataCompressed,
{namespace}::kAreClientArraysEnabled,
{namespace}::kbindGeneratesResources,
{namespace}::kWebGLCompatibility,
}},
"""
......@@ -127,6 +128,7 @@ struct TestTraceInfo {{
bool isBinaryDataCompressed;
bool areClientArraysEnabled;
bool bindGeneratesResources;
bool webGLCompatibility;
}};
extern std::vector<TestTraceInfo> testTraceInfos;
......
......@@ -78,6 +78,7 @@ class CaptureReplayTests
configParams.clientArraysEnabled = testTraceInfo.areClientArraysEnabled;
configParams.bindGeneratesResource = testTraceInfo.bindGeneratesResources;
configParams.webGLCompatibility = testTraceInfo.webGLCompatibility;
mPlatformParams.renderer = testTraceInfo.replayPlatformType;
mPlatformParams.deviceType = testTraceInfo.replayDeviceType;
......
......@@ -10,7 +10,6 @@
# Failed tests
CopyTextureTestWebGL.NPOT/*
D3DImageFormatConversionTest.*
DifferentStencilMasksTest.*
FramebufferTest.MultiContextNoRenderingFeedbackLoops/*
PbufferTest.BindTexImage/*
PbufferTest.Clearing/*
......
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