Commit ce24932d by Jamie Madill Committed by Commit Bot

Capture/Replay: Force capture on Context teardown.

Bug: angleproject:3611 Change-Id: Ia674d72d5142c81f2ebd9d8480267789781277d8 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1813159Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarTobin Ehlis <tobine@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent a905cbcd
...@@ -548,6 +548,9 @@ void Context::initialize() ...@@ -548,6 +548,9 @@ void Context::initialize()
egl::Error Context::onDestroy(const egl::Display *display) egl::Error Context::onDestroy(const egl::Display *display)
{ {
// Dump frame capture if enabled.
mFrameCapture->onEndFrame(this);
if (mGLES1Renderer) if (mGLES1Renderer)
{ {
mGLES1Renderer->onDestroy(this, &mState); mGLES1Renderer->onDestroy(this, &mState);
......
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