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

Side by Side Diff: cc/test/fake_compositor_frame_sink_client.cc

Issue 2337913003: Fork cc::OutputSurface into cc::CompositorFrameSink. (Closed)
Patch Set: cfsfork: android-vulkan Created 4 years, 3 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/test/fake_compositor_frame_sink_client.h ('k') | cc/test/fake_layer_tree_host_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "cc/output/compositor_frame_sink.h"
6 #include "cc/test/fake_compositor_frame_sink_client.h"
7
8 namespace cc {
9
10 void FakeCompositorFrameSinkClient::DidSwapBuffersComplete() {
11 swap_count_++;
12 }
13
14 void FakeCompositorFrameSinkClient::DidLoseCompositorFrameSink() {
15 did_lose_compositor_frame_sink_called_ = true;
16 }
17
18 void FakeCompositorFrameSinkClient::SetMemoryPolicy(
19 const ManagedMemoryPolicy& policy) {
20 memory_policy_ = policy;
21 }
22
23 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/fake_compositor_frame_sink_client.h ('k') | cc/test/fake_layer_tree_host_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698