Capture/Replay: Allow capturing of external textures

With the support for EGL textures enabled we can actually capture
the texture content.

Bug: angleproject:5822
Change-Id: I386827456d146a54d9790fdd9eadb39b2a6b87e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/3702350
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Gert Wollny 2022-06-13 10:32:39 +02:00 коммит произвёл Angle LUCI CQ
Родитель ea3bd30a6c
Коммит 6ca9c55e6e
2 изменённых файлов: 2 добавлений и 6 удалений

Просмотреть файл

@ -1225,7 +1225,8 @@ Result SerializeTextureData(JsonSerializer *json,
index.getType() == gl::TextureType::CubeMap ||
index.getType() == gl::TextureType::CubeMapArray ||
index.getType() == gl::TextureType::_2DMultisampleArray ||
index.getType() == gl::TextureType::_2DMultisample);
index.getType() == gl::TextureType::_2DMultisample ||
index.getType() == gl::TextureType::External);
GLenum glFormat = format.format;
GLenum glType = format.type;

Просмотреть файл

@ -33,11 +33,6 @@
# ES2
5822 : ExternalWrapTest.ClampToEdge/* = CRASH
5822 : ExternalWrapTest.MirroredRepeat/* = CRASH
5822 : ExternalWrapTest.NoWrap/* = CRASH
5822 : ExternalWrapTest.Repeat/* = CRASH
6267 : FramebufferTest.MultiContextNoRenderingFeedbackLoops/* = SKIP_FOR_CAPTURE
6180 : GLSLTest_ES3.GLVertexIDIntegerTextureDrawElementsU8Line/* = NOT_RUN