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

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

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: tilemanagerconsistency Created 5 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 "base/message_loop/message_loop_proxy.h" 7 #include "base/message_loop/message_loop_proxy.h"
8 #include "cc/test/fake_external_begin_frame_source.h" 8 #include "cc/test/fake_external_begin_frame_source.h"
9 #include "third_party/khronos/GLES2/gl2.h" 9 #include "third_party/khronos/GLES2/gl2.h"
10 10
(...skipping 30 matching lines...) Expand all
41 } 41 }
42 42
43 bool FakeCompositorDependencies::IsZeroCopyEnabled() { 43 bool FakeCompositorDependencies::IsZeroCopyEnabled() {
44 return true; 44 return true;
45 } 45 }
46 46
47 bool FakeCompositorDependencies::IsOneCopyEnabled() { 47 bool FakeCompositorDependencies::IsOneCopyEnabled() {
48 return false; 48 return false;
49 } 49 }
50 50
51 bool FakeCompositorDependencies::HavePersistentGpuMemoryBuffers() {
52 return false;
53 }
54
51 bool FakeCompositorDependencies::IsElasticOverscrollEnabled() { 55 bool FakeCompositorDependencies::IsElasticOverscrollEnabled() {
52 return false; 56 return false;
53 } 57 }
54 58
55 uint32 FakeCompositorDependencies::GetImageTextureTarget() { 59 uint32 FakeCompositorDependencies::GetImageTextureTarget() {
56 return GL_TEXTURE_2D; 60 return GL_TEXTURE_2D;
57 } 61 }
58 62
59 scoped_refptr<base::SingleThreadTaskRunner> 63 scoped_refptr<base::SingleThreadTaskRunner>
60 FakeCompositorDependencies::GetCompositorMainThreadTaskRunner() { 64 FakeCompositorDependencies::GetCompositorMainThreadTaskRunner() {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 98
95 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() { 99 cc::TaskGraphRunner* FakeCompositorDependencies::GetTaskGraphRunner() {
96 return &task_graph_runner_; 100 return &task_graph_runner_;
97 } 101 }
98 102
99 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() { 103 bool FakeCompositorDependencies::IsGatherPixelRefsEnabled() {
100 return false; 104 return false;
101 } 105 }
102 106
103 } // namespace content 107 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698