Add signalSyncPoint to the WebGraphicsContext3D command buffer impls.
[chromium-blink-merge.git] / cc / test / fake_content_layer_impl.cc
blobb1c01f18d535ed62ce0d9356bfdea192b5e2313e
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_content_layer_impl.h"
7 namespace cc {
9 FakeContentLayerImpl::FakeContentLayerImpl(LayerTreeImpl* tree_impl, int id)
10 : TiledLayerImpl(tree_impl, id),
11 lost_output_surface_count_(0) {
14 FakeContentLayerImpl::~FakeContentLayerImpl() {}
16 bool FakeContentLayerImpl::HaveResourceForTileAt(int i, int j) {
17 return HasResourceIdForTileAt(i, j);
20 void FakeContentLayerImpl::DidLoseOutputSurface() {
21 ++lost_output_surface_count_;
24 } // namespace cc