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

Side by Side Diff: content/test/fake_compositor_dependencies.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | gpu/command_buffer/common/capabilities.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/test/fake_compositor_dependencies.h" 5 #include "content/test/fake_compositor_dependencies.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "third_party/khronos/GLES2/gl2.h" 12 #include "third_party/khronos/GLES2/gl2.h"
13 #include "ui/gfx/buffer_types.h" 13 #include "ui/gfx/buffer_types.h"
14 14
15 namespace content { 15 namespace content {
16 16
17 FakeCompositorDependencies::FakeCompositorDependencies() { 17 FakeCompositorDependencies::FakeCompositorDependencies() {
18 } 18 }
19 19
20 FakeCompositorDependencies::~FakeCompositorDependencies() { 20 FakeCompositorDependencies::~FakeCompositorDependencies() {
21 } 21 }
22 22
23 bool FakeCompositorDependencies::IsGpuRasterizationForced() { 23 bool FakeCompositorDependencies::IsGpuRasterizationForced() {
24 return false; 24 return false;
25 } 25 }
26 26
27 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() {
28 return false;
29 }
30
31 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() { 27 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() {
32 return false; 28 return false;
33 } 29 }
34 30
35 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { 31 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() {
36 return 0; 32 return 0;
37 } 33 }
38 34
39 bool FakeCompositorDependencies::IsLcdTextEnabled() { 35 bool FakeCompositorDependencies::IsLcdTextEnabled() {
40 return false; 36 return false;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 86
91 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { 87 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() {
92 return true; 88 return true;
93 } 89 }
94 90
95 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() { 91 bool FakeCompositorDependencies::IsScrollAnimatorEnabled() {
96 return false; 92 return false;
97 } 93 }
98 94
99 } // namespace content 95 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | gpu/command_buffer/common/capabilities.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698