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

Unified Diff: cc/resources/transferable_resource.cc

Issue 132233041: Add gpu::MailboxHolder to hold state for a gpu::Mailbox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ff7262fa Rebase. Created 6 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
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/transferable_resource.cc
diff --git a/cc/resources/transferable_resource.cc b/cc/resources/transferable_resource.cc
index 62f1bdb1641aa4896b1234742a9715380b121686..e7e9e24b3cab956ef56bdc69239ccda66a08442d 100644
--- a/cc/resources/transferable_resource.cc
+++ b/cc/resources/transferable_resource.cc
@@ -10,9 +10,7 @@ namespace cc {
TransferableResource::TransferableResource()
: id(0),
- sync_point(0),
format(RGBA_8888),
- target(0),
filter(0),
is_software(false) {}
@@ -22,7 +20,7 @@ TransferableResource::~TransferableResource() {
ReturnedResource TransferableResource::ToReturnedResource() const {
ReturnedResource returned;
returned.id = id;
- returned.sync_point = sync_point;
+ returned.sync_point = mailbox_holder.sync_point;
returned.count = 1;
return returned;
}
« no previous file with comments | « cc/resources/transferable_resource.h ('k') | cc/resources/video_resource_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698