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

Unified Diff: content/renderer/gpu/compositor_output_surface.h

Issue 1616953003: content: Improve thread priority for raster threads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/compositor_output_surface.h
diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
index cbbad42389cf4fc6f29ff33f9d813248520ab565..f407312b585b6df8ced12b150d1a433b72752f17 100644
--- a/content/renderer/gpu/compositor_output_surface.h
+++ b/content/renderer/gpu/compositor_output_surface.h
@@ -57,10 +57,6 @@ class CompositorOutputSurface
void DetachFromClient() override;
void SwapBuffers(cc::CompositorFrame* frame) override;
- // TODO(epenner): This seems out of place here and would be a better fit
- // int CompositorThread after it is fully refactored (http://crbug/170828)
- void UpdateSmoothnessTakesPriority(bool prefer_smoothness) override;
-
protected:
void ShortcutSwapAck(uint32_t output_surface_id,
scoped_ptr<cc::GLFrameData> gl_frame_data);
@@ -104,10 +100,6 @@ class CompositorOutputSurface
scoped_refptr<IPC::SyncMessageFilter> message_sender_;
scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue_;
int routing_id_;
-#if defined(OS_ANDROID)
- bool prefers_smoothness_;
- scoped_refptr<base::SingleThreadTaskRunner> main_thread_runner_;
-#endif
// TODO(danakj): Remove this when crbug.com/311404
bool layout_test_mode_;
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/gpu/compositor_output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698