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

Unified Diff: cc/ipc/cc_param_traits.h

Issue 2173563002: Improve GL shader YUV adjustment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use enum hack Created 4 years, 4 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 | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | cc/ipc/cc_param_traits.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/cc_param_traits.h
diff --git a/cc/ipc/cc_param_traits.h b/cc/ipc/cc_param_traits.h
index 7b88ee396a5ef80d092ff281d3903b5d32e28bf0..52ed04ae610f0012a66ee5d8301a076e103b05a4 100644
--- a/cc/ipc/cc_param_traits.h
+++ b/cc/ipc/cc_param_traits.h
@@ -134,6 +134,17 @@ struct CC_IPC_EXPORT ParamTraits<cc::TextureDrawQuad::OverlayResources> {
static void Log(const param_type& p, std::string* l);
};
+template <>
+struct CC_IPC_EXPORT ParamTraits<cc::YUVVideoDrawQuad> {
+ typedef cc::YUVVideoDrawQuad param_type;
+ static void GetSize(base::PickleSizer* s, const param_type& p);
+ static void Write(base::Pickle* m, const param_type& p);
+ static bool Read(const base::Pickle* m,
+ base::PickleIterator* iter,
+ param_type* p);
+ static void Log(const param_type& p, std::string* l);
+};
+
} // namespace IPC
#endif // CC_IPC_CC_PARAM_TRAITS_H_
« no previous file with comments | « no previous file | cc/ipc/cc_param_traits.cc » ('j') | cc/ipc/cc_param_traits.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698