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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 1149803002: cc: Make single-thread renderer compositor always synchronous. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: syncsinglethread: . 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // CompositorDependencies implementation. 186 // CompositorDependencies implementation.
187 bool IsImplSidePaintingEnabled() override; 187 bool IsImplSidePaintingEnabled() override;
188 bool IsGpuRasterizationForced() override; 188 bool IsGpuRasterizationForced() override;
189 bool IsGpuRasterizationEnabled() override; 189 bool IsGpuRasterizationEnabled() override;
190 int GetGpuRasterizationMSAASampleCount() override; 190 int GetGpuRasterizationMSAASampleCount() override;
191 bool IsLcdTextEnabled() override; 191 bool IsLcdTextEnabled() override;
192 bool IsDistanceFieldTextEnabled() override; 192 bool IsDistanceFieldTextEnabled() override;
193 bool IsZeroCopyEnabled() override; 193 bool IsZeroCopyEnabled() override;
194 bool IsOneCopyEnabled() override; 194 bool IsOneCopyEnabled() override;
195 bool IsElasticOverscrollEnabled() override; 195 bool IsElasticOverscrollEnabled() override;
196 bool UseSingleThreadScheduler() override;
197 uint32 GetImageTextureTarget() override; 196 uint32 GetImageTextureTarget() override;
198 scoped_refptr<base::SingleThreadTaskRunner> 197 scoped_refptr<base::SingleThreadTaskRunner>
199 GetCompositorMainThreadTaskRunner() override; 198 GetCompositorMainThreadTaskRunner() override;
200 scoped_refptr<base::SingleThreadTaskRunner> 199 scoped_refptr<base::SingleThreadTaskRunner>
201 GetCompositorImplThreadTaskRunner() override; 200 GetCompositorImplThreadTaskRunner() override;
202 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override; 201 gpu::GpuMemoryBufferManager* GetGpuMemoryBufferManager() override;
203 scheduler::RendererScheduler* GetRendererScheduler() override; 202 scheduler::RendererScheduler* GetRendererScheduler() override;
204 cc::ContextProvider* GetSharedMainThreadContextProvider() override; 203 cc::ContextProvider* GetSharedMainThreadContextProvider() override;
205 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource( 204 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource(
206 int routing_id) override; 205 int routing_id) override;
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 646 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
648 }; 647 };
649 648
650 #if defined(COMPILER_MSVC) 649 #if defined(COMPILER_MSVC)
651 #pragma warning(pop) 650 #pragma warning(pop)
652 #endif 651 #endif
653 652
654 } // namespace content 653 } // namespace content
655 654
656 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 655 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor_unittest.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698