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