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

Unified Diff: cc/resources/transferable_resource.h

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/texture_mailbox_deleter.cc ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/transferable_resource.h
diff --git a/cc/resources/transferable_resource.h b/cc/resources/transferable_resource.h
index 5c93d1c042f361b4aecd5c94cf21accfcf4c56b4..8ca9ffabe39f804c7a76f5771cfb34f5c39c58a1 100644
--- a/cc/resources/transferable_resource.h
+++ b/cc/resources/transferable_resource.h
@@ -10,7 +10,7 @@
#include "base/basictypes.h"
#include "cc/base/cc_export.h"
#include "cc/resources/resource_format.h"
-#include "gpu/command_buffer/common/mailbox.h"
+#include "gpu/command_buffer/common/mailbox_holder.h"
#include "ui/gfx/size.h"
namespace cc {
@@ -29,12 +29,10 @@ struct CC_EXPORT TransferableResource {
ReturnedResourceArray* output);
unsigned id;
- unsigned sync_point;
ResourceFormat format;
- uint32 target;
uint32 filter;
gfx::Size size;
- gpu::Mailbox mailbox;
+ gpu::MailboxHolder mailbox_holder;
bool is_software;
};
« no previous file with comments | « cc/resources/texture_mailbox_deleter.cc ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698