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

Unified Diff: chrome/common/gpu_param_traits.h

Issue 5612002: Blacklist bad GPU drivers: currenly we disable all gpu related features if th... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 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
Index: chrome/common/gpu_param_traits.h
===================================================================
--- chrome/common/gpu_param_traits.h (revision 68066)
+++ chrome/common/gpu_param_traits.h (working copy)
@@ -11,6 +11,7 @@
#include "chrome/common/common_param_traits.h"
#include "chrome/common/dx_diag_node.h"
#include "chrome/common/gpu_create_command_buffer_config.h"
+#include "chrome/common/gpu_feature_flags.h"
brettw 2010/12/03 00:11:38 Can this be forward declared instead of introducin
Zhenyao Mo 2010/12/03 18:29:57 Can't do it here. On 2010/12/03 00:11:38, brettw
#include "chrome/common/gpu_info.h"
#include "gfx/native_widget_types.h"
#include "gfx/rect.h"
@@ -64,6 +65,14 @@
#endif
template <>
+struct ParamTraits<GpuFeatureFlags> {
+ typedef GpuFeatureFlags param_type;
+ static void Write(Message* m, const param_type& p);
+ static bool Read(const Message* m, void** iter, param_type* p);
+ static void Log(const param_type& p, std::string* l);
+};
+
+template <>
struct ParamTraits<GPUInfo> {
typedef GPUInfo param_type;
static void Write(Message* m, const param_type& p);

Powered by Google App Engine
This is Rietveld 408576698