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

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

Issue 1949023005: gpu: Add flag for enabling asynchronous worker context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase fix Created 4 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 unified diff | Download patch
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"
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 23
24 bool FakeCompositorDependencies::IsGpuRasterizationForced() { 24 bool FakeCompositorDependencies::IsGpuRasterizationForced() {
25 return false; 25 return false;
26 } 26 }
27 27
28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() { 28 bool FakeCompositorDependencies::IsGpuRasterizationEnabled() {
29 return false; 29 return false;
30 } 30 }
31 31
32 bool FakeCompositorDependencies::IsAsyncWorkerContextEnabled() {
33 return false;
34 }
35
32 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() { 36 int FakeCompositorDependencies::GetGpuRasterizationMSAASampleCount() {
33 return 0; 37 return 0;
34 } 38 }
35 39
36 bool FakeCompositorDependencies::IsLcdTextEnabled() { 40 bool FakeCompositorDependencies::IsLcdTextEnabled() {
37 return false; 41 return false;
38 } 42 }
39 43
40 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() { 44 bool FakeCompositorDependencies::IsDistanceFieldTextEnabled() {
41 return false; 45 return false;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 106
103 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() { 107 bool FakeCompositorDependencies::AreImageDecodeTasksEnabled() {
104 return false; 108 return false;
105 } 109 }
106 110
107 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() { 111 bool FakeCompositorDependencies::IsThreadedAnimationEnabled() {
108 return true; 112 return true;
109 } 113 }
110 114
111 } // namespace content 115 } // namespace content
OLDNEW
« no previous file with comments | « content/test/fake_compositor_dependencies.h ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698