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

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

Issue 1427543002: Modified old wait sync point functions to also accept new sync tokens. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: format Created 5 years, 1 month 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/child_frame_compositing_helper.h ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc789c48693b2d3aff629dba08a43b1c82e3f115..a812934d3a798824cd5ced82984df8496e377899 100644
--- a/content/renderer/gpu/mailbox_output_surface.h
+++ b/content/renderer/gpu/mailbox_output_surface.h
@@ -52,17 +52,15 @@ class MailboxOutputSurface : public CompositorOutputSurface {
size_t GetNumAcksPending();
struct TransferableFrame {
- TransferableFrame() : texture_id(0), sync_point(0) {}
-
+ TransferableFrame();
TransferableFrame(uint32 texture_id,
const gpu::Mailbox& mailbox,
- const gfx::Size size)
- : texture_id(texture_id), mailbox(mailbox), size(size), sync_point(0) {}
+ const gfx::Size size);
uint32 texture_id;
gpu::Mailbox mailbox;
+ gpu::SyncToken sync_token;
gfx::Size size;
- uint32 sync_point;
};
TransferableFrame current_backing_;
« no previous file with comments | « content/renderer/child_frame_compositing_helper.h ('k') | content/renderer/gpu/mailbox_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698