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

Unified Diff: content/browser/gpu/gpu_blacklist.cc

Issue 15745014: Move GPU device/driver info related code from content to gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase 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 | « content/browser/gpu/gpu_blacklist.h ('k') | content/browser/gpu/gpu_blacklist_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_blacklist.cc
===================================================================
--- content/browser/gpu/gpu_blacklist.cc (revision 201645)
+++ content/browser/gpu/gpu_blacklist.cc (working copy)
@@ -1,51 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// 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_blacklist.h"
-
-#include "content/public/common/gpu_feature_type.h"
-
-namespace content {
-
-GpuBlacklist::GpuBlacklist()
- : GpuControlList() {
-}
-
-GpuBlacklist::~GpuBlacklist() {
-}
-
-// static
-GpuBlacklist* GpuBlacklist::Create() {
- GpuBlacklist* list = new GpuBlacklist();
- list->AddSupportedFeature("accelerated_2d_canvas",
- GPU_FEATURE_TYPE_ACCELERATED_2D_CANVAS);
- list->AddSupportedFeature("accelerated_compositing",
- GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING);
- list->AddSupportedFeature("webgl",
- GPU_FEATURE_TYPE_WEBGL);
- list->AddSupportedFeature("multisampling",
- GPU_FEATURE_TYPE_MULTISAMPLING);
- list->AddSupportedFeature("flash_3d",
- GPU_FEATURE_TYPE_FLASH3D);
- list->AddSupportedFeature("flash_stage3d",
- GPU_FEATURE_TYPE_FLASH_STAGE3D);
- list->AddSupportedFeature("flash_stage3d_baseline",
- GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE);
- list->AddSupportedFeature("texture_sharing",
- GPU_FEATURE_TYPE_TEXTURE_SHARING);
- list->AddSupportedFeature("accelerated_video_decode",
- GPU_FEATURE_TYPE_ACCELERATED_VIDEO_DECODE);
- list->AddSupportedFeature("3d_css",
- GPU_FEATURE_TYPE_3D_CSS);
- list->AddSupportedFeature("accelerated_video",
- GPU_FEATURE_TYPE_ACCELERATED_VIDEO);
- list->AddSupportedFeature("panel_fitting",
- GPU_FEATURE_TYPE_PANEL_FITTING);
- list->AddSupportedFeature("force_compositing_mode",
- GPU_FEATURE_TYPE_FORCE_COMPOSITING_MODE);
- list->set_supports_feature_type_all(true);
- return list;
-}
-
-} // namespace content
« no previous file with comments | « content/browser/gpu/gpu_blacklist.h ('k') | content/browser/gpu/gpu_blacklist_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698