| // |
| // Copyright 2019 The ANGLE Project Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // |
| // FrameCapture_mock.cpp: |
| // ANGLE mock Frame capture implementation. |
| // |
| |
| #include "libANGLE/capture/FrameCapture.h" |
| |
| #if ANGLE_CAPTURE_ENABLED |
| # error Frame capture must be disabled to include this file. |
| #endif // ANGLE_CAPTURE_ENABLED |
| |
| namespace angle |
| { |
| CallCapture::~CallCapture() {} |
| ParamBuffer::~ParamBuffer() {} |
| ParamCapture::~ParamCapture() {} |
| ResourceTracker::ResourceTracker() {} |
| ResourceTracker::~ResourceTracker() {} |
| TrackedResource::TrackedResource() {} |
| TrackedResource::~TrackedResource() {} |
| DataTracker::DataTracker() {} |
| DataTracker::~DataTracker() {} |
| DataCounters::DataCounters() {} |
| DataCounters::~DataCounters() {} |
| StringCounters::StringCounters() {} |
| StringCounters::~StringCounters() {} |
| ReplayWriter::ReplayWriter() {} |
| ReplayWriter::~ReplayWriter() {} |
| |
| FrameCapture::FrameCapture() {} |
| FrameCapture::~FrameCapture() {} |
| |
| FrameCaptureShared::FrameCaptureShared() : mEnabled(false) {} |
| FrameCaptureShared::~FrameCaptureShared() {} |
| void FrameCaptureShared::onEndFrame(const gl::Context *context) {} |
| void FrameCaptureShared::onMakeCurrent(const gl::Context *context, const egl::Surface *drawSurface) |
| {} |
| void FrameCaptureShared::onDestroyContext(const gl::Context *context) {} |
| void FrameCaptureShared::replay(gl::Context *context) {} |
| const ProgramSources &FrameCaptureShared::getProgramSources(gl::ShaderProgramID id) const |
| { |
| const auto &foundSources = mCachedProgramSources.find(id); |
| return foundSources->second; |
| } |
| void FrameCaptureShared::setProgramSources(gl::ShaderProgramID id, ProgramSources sources) {} |
| } // namespace angle |