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

Side by Side Diff: content/renderer/gpu/compositor_dependencies.h

Issue 2781183002: Remove image_decode_tasks_enabled flag. (Closed)
Patch Set: fixes Created 3 years, 8 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 | « cc/trees/layer_tree_settings.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('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 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 5 #ifndef CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 6 #define CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 29 matching lines...) Expand all
40 virtual bool IsElasticOverscrollEnabled() = 0; 40 virtual bool IsElasticOverscrollEnabled() = 0;
41 virtual const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() = 0; 41 virtual const cc::BufferToTextureTargetMap& GetBufferToTextureTargetMap() = 0;
42 virtual scoped_refptr<base::SingleThreadTaskRunner> 42 virtual scoped_refptr<base::SingleThreadTaskRunner>
43 GetCompositorMainThreadTaskRunner() = 0; 43 GetCompositorMainThreadTaskRunner() = 0;
44 // Returns null if the compositor is in single-threaded mode (ie. there is no 44 // Returns null if the compositor is in single-threaded mode (ie. there is no
45 // compositor thread). 45 // compositor thread).
46 virtual scoped_refptr<base::SingleThreadTaskRunner> 46 virtual scoped_refptr<base::SingleThreadTaskRunner>
47 GetCompositorImplThreadTaskRunner() = 0; 47 GetCompositorImplThreadTaskRunner() = 0;
48 virtual blink::scheduler::RendererScheduler* GetRendererScheduler() = 0; 48 virtual blink::scheduler::RendererScheduler* GetRendererScheduler() = 0;
49 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 49 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
50 virtual bool AreImageDecodeTasksEnabled() = 0;
51 virtual bool IsThreadedAnimationEnabled() = 0; 50 virtual bool IsThreadedAnimationEnabled() = 0;
52 virtual bool IsScrollAnimatorEnabled() = 0; 51 virtual bool IsScrollAnimatorEnabled() = 0;
53 virtual bool IsSurfaceSynchronizationEnabled() = 0; 52 virtual bool IsSurfaceSynchronizationEnabled() = 0;
54 53
55 virtual ~CompositorDependencies() {} 54 virtual ~CompositorDependencies() {}
56 }; 55 };
57 56
58 } // namespace content 57 } // namespace content
59 58
60 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 59 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_settings.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698