Pass bit mask to ContextImpl::syncState.
This can be used to mask out inappropriate local dirty bits.
Bug: angleproject:2763
Change-Id: Ie46e464df0dc719c963ff9f7066d42eb5a028262
Reviewed-on: https://chromium-review.googlesource.com/c/1264062
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@google.com>
diff --git a/src/libANGLE/renderer/null/ContextNULL.cpp b/src/libANGLE/renderer/null/ContextNULL.cpp
index db73ce8..cb8e1ff 100644
--- a/src/libANGLE/renderer/null/ContextNULL.cpp
+++ b/src/libANGLE/renderer/null/ContextNULL.cpp
@@ -297,7 +297,8 @@
}
angle::Result ContextNULL::syncState(const gl::Context *context,
- const gl::State::DirtyBits &dirtyBits)
+ const gl::State::DirtyBits &dirtyBits,
+ const gl::State::DirtyBits &bitMask)
{
return angle::Result::Continue();
}
diff --git a/src/libANGLE/renderer/null/ContextNULL.h b/src/libANGLE/renderer/null/ContextNULL.h
index 6fa16b0..734dcae 100644
--- a/src/libANGLE/renderer/null/ContextNULL.h
+++ b/src/libANGLE/renderer/null/ContextNULL.h
@@ -143,7 +143,8 @@
// State sync with dirty bits.
angle::Result syncState(const gl::Context *context,
- const gl::State::DirtyBits &dirtyBits) override;
+ const gl::State::DirtyBits &dirtyBits,
+ const gl::State::DirtyBits &bitMask) override;
// Disjoint timer queries
GLint getGPUDisjoint() override;