Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: gpu/command_buffer/service/texture_manager.cc

Issue 1925663002: command_buffer: Defer restoring of FBO bindings when changing virtual contexts Base URL: https://chromium.googlesource.com/chromium/src.git@lazy-bindframebuffer-03-copy-texture-chromium-instantiation
Patch Set: rework Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/texture_manager.cc
diff --git a/gpu/command_buffer/service/texture_manager.cc b/gpu/command_buffer/service/texture_manager.cc
index b904fc9558b9d933df5eb00f4599ad0cb4937ba6..c723b22fc73a0017f1c7b82196b9ce24d2b6d3ef 100644
--- a/gpu/command_buffer/service/texture_manager.cc
+++ b/gpu/command_buffer/service/texture_manager.cc
@@ -2758,7 +2758,7 @@ void TextureManager::DoTexImage(
}
if (texture->IsAttachedToFramebuffer()) {
- framebuffer_state->clear_state_dirty = true;
+ framebuffer_state->NotifyBoundFramebuffersChanged();
}
if (texture_state->texsubimage_faster_than_teximage &&

Powered by Google App Engine
This is Rietveld 408576698