Skip to content

Commit

Permalink
Vulkan: Mega-refactor to VertexArrayVk.
Browse files Browse the repository at this point in the history
This moves a lot of the code in VertexArrayVk into ContextVk. Having
the code in a centralized place makes the code a bit more organized
since the Context is reponsible for binding state to the command
buffers. It also makes it easier to use dirty bits to track the command
buffer state.

Bug: angleproject:2786
Change-Id: I5cefbb14028e8f3fe651f26e997ca88f8f1c7628
Reviewed-on: https://chromium-review.googlesource.com/1188953
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
  • Loading branch information
null77 authored and Commit Bot committed Aug 31, 2018
1 parent 253038d commit 88fc6da
Show file tree
Hide file tree
Showing 7 changed files with 430 additions and 422 deletions.
1 change: 1 addition & 0 deletions src/libANGLE/Context.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class StateCache final : angle::NonCopyable
AttributesMask getActiveClientAttribsMask() const { return mCachedActiveClientAttribsMask; }
AttributesMask getActiveDefaultAttribsMask() const { return mCachedActiveDefaultAttribsMask; }
bool hasAnyEnabledClientAttrib() const { return mCachedHasAnyEnabledClientAttrib; }
bool hasAnyActiveClientAttrib() const { return mCachedActiveClientAttribsMask.any(); }

// Places that can trigger updateVertexElementLimits:
// 1. onVertexArrayBindingChange.
Expand Down
Loading

0 comments on commit 88fc6da

Please sign in to comment.