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

Side by Side Diff: cc/surfaces/display.h

Issue 619843002: cc: Make separate interface for BeginFrame ipc from OutputSurface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_output_surface.h » ('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 CC_SURFACES_DISPLAY_H_ 5 #ifndef CC_SURFACES_DISPLAY_H_
6 #define CC_SURFACES_DISPLAY_H_ 6 #define CC_SURFACES_DISPLAY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/output/output_surface_client.h" 9 #include "cc/output/output_surface_client.h"
10 #include "cc/output/renderer.h" 10 #include "cc/output/renderer.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 SurfaceId CurrentSurfaceId(); 57 SurfaceId CurrentSurfaceId();
58 int GetMaxFramesPending(); 58 int GetMaxFramesPending();
59 59
60 // OutputSurfaceClient implementation. 60 // OutputSurfaceClient implementation.
61 void DeferredInitialize() override {} 61 void DeferredInitialize() override {}
62 void ReleaseGL() override {} 62 void ReleaseGL() override {}
63 void CommitVSyncParameters(base::TimeTicks timebase, 63 void CommitVSyncParameters(base::TimeTicks timebase,
64 base::TimeDelta interval) override; 64 base::TimeDelta interval) override;
65 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {} 65 void SetNeedsRedrawRect(const gfx::Rect& damage_rect) override {}
66 void BeginFrame(const BeginFrameArgs& args) override {}
67 void DidSwapBuffers() override; 66 void DidSwapBuffers() override;
68 void DidSwapBuffersComplete() override; 67 void DidSwapBuffersComplete() override;
69 void ReclaimResources(const CompositorFrameAck* ack) override {} 68 void ReclaimResources(const CompositorFrameAck* ack) override {}
70 void DidLoseOutputSurface() override; 69 void DidLoseOutputSurface() override;
71 void SetExternalDrawConstraints( 70 void SetExternalDrawConstraints(
72 const gfx::Transform& transform, 71 const gfx::Transform& transform,
73 const gfx::Rect& viewport, 72 const gfx::Rect& viewport,
74 const gfx::Rect& clip, 73 const gfx::Rect& clip,
75 const gfx::Rect& viewport_rect_for_tile_priority, 74 const gfx::Rect& viewport_rect_for_tile_priority,
76 const gfx::Transform& transform_for_tile_priority, 75 const gfx::Transform& transform_for_tile_priority,
(...skipping 24 matching lines...) Expand all
101 scoped_ptr<DirectRenderer> renderer_; 100 scoped_ptr<DirectRenderer> renderer_;
102 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_; 101 scoped_ptr<BlockingTaskRunner> blocking_main_thread_task_runner_;
103 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_; 102 scoped_ptr<TextureMailboxDeleter> texture_mailbox_deleter_;
104 103
105 DISALLOW_COPY_AND_ASSIGN(Display); 104 DISALLOW_COPY_AND_ASSIGN(Display);
106 }; 105 };
107 106
108 } // namespace cc 107 } // namespace cc
109 108
110 #endif // CC_SURFACES_DISPLAY_H_ 109 #endif // CC_SURFACES_DISPLAY_H_
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_unittest.cc ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698