You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 28e975e
Browse filesBrowse the repository at this point in the historyBrowse files
if (mDisplay->updateDrawCommands() || toMixBuffer || includeMixImage > 0) {
1474
+
if (mDisplay->updateDrawCommands()) { // Main and mix command buffers stay cached while mixing, only the blend pass with the alpha value is recorded per frame
std::vector<vk::CommandBufferSubmitInfo> mFrameCommandBuffers; // All command buffers of the current frame, submitted as one batch, ordered by barriers
188
-
std::vector<bool> mCommandBufferUpToDate;
188
+
std::vector<bool> mCommandBufferUpToDate; // Per image: main command buffer recorded and still valid (cached across frames)
189
+
std::vector<bool> mCommandBufferMixUpToDate; // Per image: same for the mix buffer command buffer (animation config blending)
190
+
boolmRecordingMix = false; // Current command buffer renders to the mix buffer
if ((mixing ? base : -1) != mAnimationMixBase) { // Blended configs changed: cached (Vulkan) command buffers must be re-recorded, otherwise they are kept while mixing
0 commit comments