OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "cc/test/fake_proxy.h" | 5 #include "cc/test/fake_proxy.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&) | 9 bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&) |
10 { | 10 { |
11 return false; | 11 return false; |
12 } | 12 } |
13 | 13 |
14 bool FakeProxy::isStarted() const | 14 bool FakeProxy::isStarted() const |
15 { | 15 { |
16 return false; | 16 return false; |
17 } | 17 } |
18 | 18 |
19 bool FakeProxy::initializeContext() | 19 bool FakeProxy::initializeOutputSurface() |
20 { | 20 { |
21 return false; | 21 return false; |
22 } | 22 } |
23 | 23 |
24 bool FakeProxy::initializeRenderer() | 24 bool FakeProxy::initializeRenderer() |
25 { | 25 { |
26 return false; | 26 return false; |
27 } | 27 } |
28 | 28 |
29 bool FakeProxy::recreateContext() | 29 bool FakeProxy::recreateOutputSurface() |
30 { | 30 { |
31 return false; | 31 return false; |
32 } | 32 } |
33 | 33 |
34 const RendererCapabilities& FakeProxy::rendererCapabilities() const | 34 const RendererCapabilities& FakeProxy::rendererCapabilities() const |
35 { | 35 { |
36 return m_capabilities; | 36 return m_capabilities; |
37 } | 37 } |
38 | 38 |
39 bool FakeProxy::commitRequested() const | 39 bool FakeProxy::commitRequested() const |
40 { | 40 { |
41 return false; | 41 return false; |
42 } | 42 } |
43 | 43 |
44 size_t FakeProxy::maxPartialTextureUpdates() const | 44 size_t FakeProxy::maxPartialTextureUpdates() const |
45 { | 45 { |
46 return 0; | 46 return 0; |
47 } | 47 } |
48 | 48 |
49 | 49 |
50 } // namespace cc | 50 } // namespace cc |
OLD | NEW |