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

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

Issue 19331002: Associate an id with the output surface to handle lost contexts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android, tests Created 7 years, 5 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/renderer/gpu/mailbox_output_surface.h
diff --git a/content/renderer/gpu/mailbox_output_surface.h b/content/renderer/gpu/mailbox_output_surface.h
index 0be4712f1d34b2057b8c68adff9a489b275f5fc8..41514300e441df4ce7e1e3ffddfe9d35ca3f16f6 100644
--- a/content/renderer/gpu/mailbox_output_surface.h
+++ b/content/renderer/gpu/mailbox_output_surface.h
@@ -24,6 +24,7 @@ namespace content {
class MailboxOutputSurface : public CompositorOutputSurface {
public:
MailboxOutputSurface(int32 routing_id,
+ uint32 output_surface_id,
WebGraphicsContext3DCommandBufferImpl* context3d,
cc::SoftwareOutputDevice* software);
virtual ~MailboxOutputSurface();
@@ -37,7 +38,8 @@ class MailboxOutputSurface : public CompositorOutputSurface {
private:
// CompositorOutputSurface overrides.
- virtual void OnSwapAck(const cc::CompositorFrameAck& ack) OVERRIDE;
+ virtual void OnSwapAck(uint32 output_surface_id,
+ const cc::CompositorFrameAck& ack) OVERRIDE;
size_t GetNumAcksPending();
« no previous file with comments | « content/renderer/gpu/delegated_compositor_output_surface.cc ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698