Using dirty bit notification for D3D11 viewport state
BUG=angleproject:1161
This is a continuation of the dirty bit refactor
Change-Id: I101f415094dd406f6b0a40cb260f1cbbfec7b62c
Reviewed-on: https://chromium-review.googlesource.com/313249
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Tryjob-Request: Dian Xiang <dianx@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Tested-by: Dian Xiang <dianx@google.com>
diff --git a/src/libANGLE/Framebuffer.cpp b/src/libANGLE/Framebuffer.cpp
index 1edcd15..ae6f582 100644
--- a/src/libANGLE/Framebuffer.cpp
+++ b/src/libANGLE/Framebuffer.cpp
@@ -587,8 +587,7 @@
// Sync the clear state
context->syncRendererState(context->getState().clearStateBitMask());
-
- return mImpl->clearBufferfv(context->getState(), buffer, drawbuffer, values);
+ return mImpl->clearBufferfv(context->getData(), buffer, drawbuffer, values);
}
Error Framebuffer::clearBufferuiv(Context *context,
@@ -604,7 +603,7 @@
// Sync the clear state
context->syncRendererState(context->getState().clearStateBitMask());
- return mImpl->clearBufferuiv(context->getState(), buffer, drawbuffer, values);
+ return mImpl->clearBufferuiv(context->getData(), buffer, drawbuffer, values);
}
Error Framebuffer::clearBufferiv(Context *context,
@@ -620,7 +619,7 @@
// Sync the clear state
context->syncRendererState(context->getState().clearStateBitMask());
- return mImpl->clearBufferiv(context->getState(), buffer, drawbuffer, values);
+ return mImpl->clearBufferiv(context->getData(), buffer, drawbuffer, values);
}
Error Framebuffer::clearBufferfi(Context *context,
@@ -637,7 +636,7 @@
// Sync the clear state
context->syncRendererState(context->getState().clearStateBitMask());
- return mImpl->clearBufferfi(context->getState(), buffer, drawbuffer, depth, stencil);
+ return mImpl->clearBufferfi(context->getData(), buffer, drawbuffer, depth, stencil);
}
GLenum Framebuffer::getImplementationColorReadFormat() const