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

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

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 #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 18 matching lines...) Expand all
29 namespace scheduler { 29 namespace scheduler {
30 class RendererScheduler; 30 class RendererScheduler;
31 } 31 }
32 32
33 namespace content { 33 namespace content {
34 34
35 class CompositorDependencies { 35 class CompositorDependencies {
36 public: 36 public:
37 virtual bool IsGpuRasterizationForced() = 0; 37 virtual bool IsGpuRasterizationForced() = 0;
38 virtual bool IsGpuRasterizationEnabled() = 0; 38 virtual bool IsGpuRasterizationEnabled() = 0;
39 virtual bool IsAsyncWorkerContextEnabled() = 0;
39 virtual int GetGpuRasterizationMSAASampleCount() = 0; 40 virtual int GetGpuRasterizationMSAASampleCount() = 0;
40 virtual bool IsLcdTextEnabled() = 0; 41 virtual bool IsLcdTextEnabled() = 0;
41 virtual bool IsDistanceFieldTextEnabled() = 0; 42 virtual bool IsDistanceFieldTextEnabled() = 0;
42 virtual bool IsZeroCopyEnabled() = 0; 43 virtual bool IsZeroCopyEnabled() = 0;
43 virtual bool IsPartialRasterEnabled() = 0; 44 virtual bool IsPartialRasterEnabled() = 0;
44 virtual bool IsGpuMemoryBufferCompositorResourcesEnabled() = 0; 45 virtual bool IsGpuMemoryBufferCompositorResourcesEnabled() = 0;
45 virtual bool IsElasticOverscrollEnabled() = 0; 46 virtual bool IsElasticOverscrollEnabled() = 0;
46 virtual std::vector<unsigned> GetImageTextureTargets() = 0; 47 virtual std::vector<unsigned> GetImageTextureTargets() = 0;
47 virtual scoped_refptr<base::SingleThreadTaskRunner> 48 virtual scoped_refptr<base::SingleThreadTaskRunner>
48 GetCompositorMainThreadTaskRunner() = 0; 49 GetCompositorMainThreadTaskRunner() = 0;
(...skipping 10 matching lines...) Expand all
59 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0; 60 virtual cc::TaskGraphRunner* GetTaskGraphRunner() = 0;
60 virtual bool AreImageDecodeTasksEnabled() = 0; 61 virtual bool AreImageDecodeTasksEnabled() = 0;
61 virtual bool IsThreadedAnimationEnabled() = 0; 62 virtual bool IsThreadedAnimationEnabled() = 0;
62 63
63 virtual ~CompositorDependencies() {} 64 virtual ~CompositorDependencies() {}
64 }; 65 };
65 66
66 } // namespace content 67 } // namespace content
67 68
68 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_ 69 #endif // CONTENT_RENDERER_GPU_COMPOSITOR_DEPENDENCIES_H_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698