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

Unified Diff: content/browser/compositor/buffer_queue.cc

Issue 846063002: compositor: Fix texture flipping for SW mirroring with surfaceless (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: content/browser/compositor/buffer_queue.cc
diff --git a/content/browser/compositor/buffer_queue.cc b/content/browser/compositor/buffer_queue.cc
index c58e6bc16ad251e0e2936fe8be00fda66eef68ee..7efe484793c899ce17c9a61cb9765cce0839a2e9 100644
--- a/content/browser/compositor/buffer_queue.cc
+++ b/content/browser/compositor/buffer_queue.cc
@@ -75,6 +75,8 @@ void BufferQueue::CopyBufferDamage(int texture,
old_damage.y(),
old_damage.width(),
old_damage.height())));
+ // CopySubBufferDamage binds its own framebuffer, restore ours.
danakj 2015/01/12 18:27:30 Should this be a separate CL?
achaulk 2015/01/12 18:47:35 It could be, but SW mirroring with partial swap is
danakj 2015/01/12 19:00:07 It doesn't seem related to flipping tho? So It wou
+ context_provider_->ContextGL()->BindFramebuffer(GL_FRAMEBUFFER, fbo_);
}
void BufferQueue::UpdateBufferDamage(const gfx::Rect& damage) {
« no previous file with comments | « no previous file | content/browser/compositor/reflector_impl.h » ('j') | content/browser/compositor/reflector_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698