Edit

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

Branch :

  • Show log

    Commit

  • Author : Cody Northrop
    Date : 2020-10-27 11:30:27
    Hash : 97a45a9f
    Message : FrameCapture: Track surface width/height per context Test: Capture PUBG Mobile Bug: b/159238311 Bug: b/165824228 Change-Id: I7bbc7a80ade4df6b191cbe62e9badac1066ab246 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2503474 Commit-Queue: Cody Northrop <cnorthrop@google.com> Reviewed-by: Courtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: 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() {}
    ResourceTracker::ResourceTracker() {}
    ResourceTracker::~ResourceTracker() {}
    
    FrameCapture::FrameCapture() {}
    FrameCapture::~FrameCapture() {}
    void FrameCapture::onEndFrame(const gl::Context *context) {}
    void FrameCapture::onMakeCurrent(const gl::Context *context, const egl::Surface *drawSurface) {}
    void FrameCapture::onDestroyContext(const gl::Context *context) {}
    void FrameCapture::replay(gl::Context *context) {}
    
    FrameCaptureShared::FrameCaptureShared() {}
    FrameCaptureShared::~FrameCaptureShared() {}
    }  // namespace angle