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

Unified Diff: content/renderer/gpu/mailbox_output_surface.cc

Issue 16730003: Aura: Support --enable-partial-swap with --composite-to-mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sievers@s comments. Created 7 years, 6 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
« cc/output/gl_renderer.cc ('K') | « content/common/cc_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/mailbox_output_surface.cc
diff --git a/content/renderer/gpu/mailbox_output_surface.cc b/content/renderer/gpu/mailbox_output_surface.cc
index d7b13ce3ad361bebff278c43c26e944a9eca233b..84fbf4ed13e914f58cf1ed345b7a92c1ed561591 100644
--- a/content/renderer/gpu/mailbox_output_surface.cc
+++ b/content/renderer/gpu/mailbox_output_surface.cc
@@ -125,8 +125,6 @@ void MailboxOutputSurface::BindFramebuffer() {
void MailboxOutputSurface::SendFrameToParentCompositor(
cc::CompositorFrame* frame) {
- frame->gl_frame_data.reset(new GLFrameData());
-
DCHECK(!surface_size_.IsEmpty());
DCHECK(surface_size_ == current_backing_.size);
DCHECK(!current_backing_.mailbox.IsZero());
@@ -184,9 +182,6 @@ void MailboxOutputSurface::SwapBuffers(const ui::LatencyInfo&) {
void MailboxOutputSurface::PostSubBuffer(gfx::Rect rect,
const ui::LatencyInfo&) {
- NOTIMPLEMENTED()
- << "Partial swap not supported with composite-to-mailbox yet.";
-
// The browser only copies damage correctly for two buffers in use.
DCHECK(GetNumAcksPending() < 2);
}
« cc/output/gl_renderer.cc ('K') | « content/common/cc_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698