summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_proxy.cc
blob: fad6c699aa71c44bb4ada1f3d5ae03b3f540a9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "config.h"

#include "cc/test/fake_proxy.h"

namespace cc {

bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&)
{
    return false;
}

bool FakeProxy::isStarted() const
{
    return false;
}

bool FakeProxy::initializeContext()
{
    return false;
}

bool FakeProxy::initializeRenderer()
{
    return false;
}

bool FakeProxy::recreateContext()
{
    return false;
}

const RendererCapabilities& FakeProxy::rendererCapabilities() const
{
    return m_capabilities;
}

bool FakeProxy::commitRequested() const
{
    return false;
}

size_t FakeProxy::maxPartialTextureUpdates() const
{
    return 0;
}


} // namespace cc