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

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

Issue 11450019: Finish the rename from cc::GraphicsContext to cc::OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698