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

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: rebase 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 true; 11 return true;
12 } 12 }
13 13
14 bool FakeProxy::isStarted() const 14 bool FakeProxy::isStarted() const
15 { 15 {
16 return true; 16 return true;
17 } 17 }
18 18
19 bool FakeProxy::initializeContext() 19 bool FakeProxy::initializeOutputSurface()
20 { 20 {
21 return true; 21 return true;
22 } 22 }
23 23
24 bool FakeProxy::initializeRenderer() 24 bool FakeProxy::initializeRenderer()
25 { 25 {
26 return true; 26 return true;
27 } 27 }
28 28
29 bool FakeProxy::recreateContext() 29 bool FakeProxy::recreateOutputSurface()
30 { 30 {
31 return true; 31 return true;
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 RendererCapabilities& FakeProxy::rendererCapabilities() 39 RendererCapabilities& FakeProxy::rendererCapabilities()
(...skipping 11 matching lines...) Expand all
51 return m_maxPartialTextureUpdates; 51 return m_maxPartialTextureUpdates;
52 } 52 }
53 53
54 void FakeProxy::setMaxPartialTextureUpdates(size_t max) 54 void FakeProxy::setMaxPartialTextureUpdates(size_t max)
55 { 55 {
56 m_maxPartialTextureUpdates = max; 56 m_maxPartialTextureUpdates = max;
57 } 57 }
58 58
59 59
60 } // namespace cc 60 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698