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

Unified Diff: cc/transferable_resource.h

Issue 11316128: Send compositor frame IPC with metadata. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix compile errors on mac/win Created 8 years 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/switches.cc ('k') | cc/transferable_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/transferable_resource.h
diff --git a/cc/transferable_resource.h b/cc/transferable_resource.h
index f4e434fc1808b4c4f7c0dc78256be7537c3fa0d5..1ab5611c2491e3d4bb9e65e572d6551d84782409 100644
--- a/cc/transferable_resource.h
+++ b/cc/transferable_resource.h
@@ -7,17 +7,17 @@
#include <vector>
+#include "base/basictypes.h"
#include "cc/cc_export.h"
#include "ui/gfx/size.h"
-#include "third_party/khronos/GLES2/gl2.h"
namespace cc {
struct CC_EXPORT Mailbox {
Mailbox();
bool isZero() const;
- void setName(const GLbyte* name);
- GLbyte name[64];
+ void setName(const int8* name);
+ int8 name[64];
};
struct CC_EXPORT TransferableResource {
@@ -25,8 +25,8 @@ struct CC_EXPORT TransferableResource {
~TransferableResource();
unsigned id;
- GLenum format;
- GLenum filter;
+ uint32 format;
+ uint32 filter;
gfx::Size size;
Mailbox mailbox;
};
« no previous file with comments | « cc/switches.cc ('k') | cc/transferable_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698