Edit

kc3-lang/angle/src/libANGLE/FrameCapture_mock.cpp

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2019-09-16 11:19:23
    Hash : 2249fef2
    Message : Capture/Replay: Move stub implementation to new file. This lets the MSVC parser work better with FrameCapture.cpp. Bug: angleproject:3611 Change-Id: I249106dce81a7965684caf1a835f0472b34e8963 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1804878 Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Tobin Ehlis <tobine@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • src/libANGLE/FrameCapture_mock.cpp
  • //
    // 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/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() {}
    
    FrameCapture::FrameCapture() {}
    FrameCapture::~FrameCapture() {}
    void FrameCapture::onEndFrame(const gl::Context *context) {}
    void FrameCapture::replay(gl::Context *context) {}
    }  // namespace angle