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

Unified Diff: gpu/config/gpu_driver_bug_list.cc

Issue 15385003: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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 | « gpu/config/gpu_driver_bug_list.h ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/config/gpu_driver_bug_list.cc
===================================================================
--- gpu/config/gpu_driver_bug_list.cc (revision 0)
+++ gpu/config/gpu_driver_bug_list.cc (working copy)
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/gpu/gpu_driver_bug_list.h"
+#include "gpu/config/gpu_driver_bug_list.h"
#include "base/basictypes.h"
#include "base/logging.h"
-#include "gpu/command_buffer/service/gpu_driver_bug_workaround_type.h"
+#include "gpu/config/gpu_driver_bug_workaround_type.h"
-namespace content {
+namespace gpu {
namespace {
@@ -31,18 +31,18 @@
GpuDriverBugList* list = new GpuDriverBugList();
const DriverBugInfo kFeatureList[] = {
-#define GPU_OP(type, name) { gpu::type, #name },
+#define GPU_OP(type, name) { type, #name },
GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
#undef GPU_OP
};
DCHECK_EQ(static_cast<int>(arraysize(kFeatureList)),
- gpu::NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES);
- for (int i = 0; i < gpu::NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES; ++i) {
+ NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES);
+ for (int i = 0; i < NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES; ++i) {
list->AddSupportedFeature(kFeatureList[i].feature_name,
kFeatureList[i].feature_type);
}
return list;
}
-} // namespace content
+} // namespace gpu
« no previous file with comments | « gpu/config/gpu_driver_bug_list.h ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698