summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.cpp
blob: e6f7d6b65945a5cb91d4fc2ab763059783cfe998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2022 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#include "VideoCommon/GraphicsModSystem/Runtime/Actions/PrintAction.h"

#include "Common/Logging/Log.h"

void PrintAction::OnDrawStarted(bool*)
{
  INFO_LOG_FMT(VIDEO, "OnDrawStarted Called");
}

void PrintAction::OnEFB(bool*, u32 texture_width, u32 texture_height, u32* scaled_width,
                        u32* scaled_height)
{
  if (!scaled_width || !scaled_height)
    return;

  INFO_LOG_FMT(VIDEO, "OnEFB Called. Original [{}, {}], Scaled [{}, {}]", texture_width,
               texture_height, *scaled_width, *scaled_height);
}

void PrintAction::OnProjection(Common::Matrix44*)
{
  INFO_LOG_FMT(VIDEO, "OnProjection Called");
}

void PrintAction::OnProjectionAndTexture(Common::Matrix44*)
{
  INFO_LOG_FMT(VIDEO, "OnProjectionAndTexture Called");
}

void PrintAction::OnTextureLoad()
{
  INFO_LOG_FMT(VIDEO, "OnTextureLoad Called");
}