This source file includes following definitions.
- DeferredInitialize
- BeginImplFrame
- DidLoseOutputSurface
- SetMemoryPolicy
#include "cc/test/fake_output_surface_client.h"
namespace cc {
bool FakeOutputSurfaceClient::DeferredInitialize(
scoped_refptr<ContextProvider> offscreen_context_provider) {
deferred_initialize_called_ = true;
return deferred_initialize_result_;
}
void FakeOutputSurfaceClient::BeginImplFrame(const BeginFrameArgs& args) {
begin_impl_frame_count_++;
}
void FakeOutputSurfaceClient::DidLoseOutputSurface() {
did_lose_output_surface_called_ = true;
}
void FakeOutputSurfaceClient::SetMemoryPolicy(
const ManagedMemoryPolicy& policy) {
memory_policy_ = policy;
}
}