Commit ecf27c71 by Ian Elliott Committed by Angle LUCI CQ

GL: Fix bug with: Skip redundant flushes.

The ANGLE-into-Skia autoroller is blocked because of the following CL: https://chromium-review.googlesource.com/c/angle/angle/+/2956453 Michael Ludwig, a Skia engineer, found that this change fixes the problem and will unblock the auto-roller. Bug: chromium:1181068 Change-Id: I514b2762f6643e25b36aab0290a57af4abf3c660 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2965615Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Commit-Queue: Ian Elliott <ianelliott@google.com>
parent b77a6c25
......@@ -30,7 +30,9 @@ FenceNVGL::~FenceNVGL()
angle::Result FenceNVGL::set(const gl::Context *context, GLenum condition)
{
ASSERT(condition == GL_ALL_COMPLETED_NV);
ContextGL *contextGL = GetImplAs<ContextGL>(context);
mFunctions->setFenceNV(mFence, condition);
contextGL->markWorkSubmitted();
return angle::Result::Continue;
}
......
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