Commit 2b2b4d9f by Jamie Madill

Add diagram illustrating dirty bit flow.

The diagram source is available as a Google Driver document. It can be opened with the draw.io web app. Bug: angleproject:3002 Change-Id: Ic7885c8da1aacac5082eea05d0562d3d62f801ba Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1592252Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent fc0be049
...@@ -85,6 +85,10 @@ call to [`gl::Context::onSubjectStateChange`][ContextStateChange] which in turn ...@@ -85,6 +85,10 @@ call to [`gl::Context::onSubjectStateChange`][ContextStateChange] which in turn
[`gl::StateCache::updateBasicDrawStatesError`][StateCacheUpdate] to re-validate the draw [`gl::StateCache::updateBasicDrawStatesError`][StateCacheUpdate] to re-validate the draw
framebuffer's completeness. On subsequent draw calls we skip re-validation at minimal cost. framebuffer's completeness. On subsequent draw calls we skip re-validation at minimal cost.
See the below diagram for the dependency relations between Subjects and Observers.
![State Change Notification Flow](https://raw.githubusercontent.com/google/angle/master/doc/img/StateNotificationFlow.svg?sanitize=true)
## Back-end specific Optimizations ## Back-end specific Optimizations
See the [Vulkan README][VulkanREADME] for additional information for how we implement state change See the [Vulkan README][VulkanREADME] for additional information for how we implement state change
......
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