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

Unified Diff: cc/resources/transferable_resource.h

Issue 2748903002: cc: Add gfx::BufferFormat to cc::ResourceProvider::Resource. (Closed)
Patch Set: Always initialize buffer_format. Created 3 years, 9 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/resource_provider.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 ca623ad3c37a63c6065dd0ac41b9e48eac111cc7..5ff4bb4613edfbe528ac3ec800c5a9daf351a748 100644
--- a/cc/resources/transferable_resource.h
+++ b/cc/resources/transferable_resource.h
@@ -13,6 +13,7 @@
#include "cc/base/resource_id.h"
#include "cc/resources/resource_format.h"
#include "gpu/command_buffer/common/mailbox_holder.h"
+#include "ui/gfx/buffer_types.h"
#include "ui/gfx/color_space.h"
#include "ui/gfx/geometry/size.h"
@@ -33,7 +34,9 @@ struct CC_EXPORT TransferableResource {
ReturnedResourceArray* output);
ResourceId id;
+ // Refer to ResourceProvider::Resource for the meaning of the following data.
ResourceFormat format;
+ gfx::BufferFormat buffer_format;
uint32_t filter;
gfx::Size size;
gpu::MailboxHolder mailbox_holder;
« no previous file with comments | « cc/resources/resource_provider.cc ('k') | cc/resources/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698