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

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

Issue 12614013: Plumb cc::LatencyInfo through command buffer and output surface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « content/renderer/gpu/mailbox_output_surface.h ('k') | content/renderer/render_widget.h » ('j') | 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 364d026b7c09b2663d63fb2da05f982ba0d55f1c..27e3e37ec5d44953bae3ca0f53f0801bc538cb07 100644
--- a/content/renderer/gpu/mailbox_output_surface.cc
+++ b/content/renderer/gpu/mailbox_output_surface.cc
@@ -15,13 +15,12 @@
using cc::CompositorFrame;
using cc::GLFrameData;
using gpu::Mailbox;
-using WebKit::WebGraphicsContext3D;
namespace content {
MailboxOutputSurface::MailboxOutputSurface(
int32 routing_id,
- WebGraphicsContext3D* context3D,
+ WebGraphicsContext3DCommandBufferImpl* context3D,
cc::SoftwareOutputDevice* software_device)
: CompositorOutputSurface(routing_id, context3D, software_device),
fbo_(0),
@@ -184,10 +183,11 @@ void MailboxOutputSurface::OnSwapAck(const cc::CompositorFrameAck& ack) {
CompositorOutputSurface::OnSwapAck(ack);
}
-void MailboxOutputSurface::SwapBuffers() {
+void MailboxOutputSurface::SwapBuffers(const cc::LatencyInfo&) {
}
-void MailboxOutputSurface::PostSubBuffer(gfx::Rect rect) {
+void MailboxOutputSurface::PostSubBuffer(gfx::Rect rect,
+ const cc::LatencyInfo&) {
NOTIMPLEMENTED()
<< "Partial swap not supported with composite-to-mailbox yet.";
« no previous file with comments | « content/renderer/gpu/mailbox_output_surface.h ('k') | content/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698