Revert "Merged all Chromoting Host code into remoting_core.dll (Windows)."
[chromium-blink-merge.git] / cc / test / fake_proxy.cc
blobdf382b85860f00cf1cbf6a49313805f35e289fb6
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
3 // found in the LICENSE file.
5 #include "cc/test/fake_proxy.h"
7 namespace cc {
9 bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&)
11 return true;
14 bool FakeProxy::isStarted() const
16 return true;
19 bool FakeProxy::initializeOutputSurface()
21 return true;
24 bool FakeProxy::initializeRenderer()
26 return true;
29 bool FakeProxy::recreateOutputSurface()
31 return true;
34 const RendererCapabilities& FakeProxy::rendererCapabilities() const
36 return m_capabilities;
39 RendererCapabilities& FakeProxy::rendererCapabilities()
41 return m_capabilities;
44 bool FakeProxy::commitRequested() const
46 return false;
49 size_t FakeProxy::maxPartialTextureUpdates() const
51 return m_maxPartialTextureUpdates;
54 void FakeProxy::setMaxPartialTextureUpdates(size_t max)
56 m_maxPartialTextureUpdates = max;
59 bool FakeProxy::commitPendingForTesting()
61 return false;
64 skia::RefPtr<SkPicture> FakeProxy::capturePicture()
66 return skia::RefPtr<SkPicture>();
69 } // namespace cc