2015-05-24 06:55:12 +02:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2014-02-10 13:54:46 -05:00
|
|
|
#pragma once
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2016-09-22 21:05:17 -04:00
|
|
|
#include "Common/CommonTypes.h"
|
2014-10-21 02:01:38 -04:00
|
|
|
|
2010-07-06 16:16:07 +00:00
|
|
|
namespace DebugUtil
|
|
|
|
{
|
|
|
|
void Init();
|
2014-03-05 15:19:10 +01:00
|
|
|
void Shutdown();
|
2010-07-06 16:16:07 +00:00
|
|
|
|
2013-11-16 15:59:59 +13:00
|
|
|
void GetTextureRGBA(u8* dst, u32 texmap, s32 mip, u32 width, u32 height);
|
2010-07-06 16:16:07 +00:00
|
|
|
|
|
|
|
void DumpActiveTextures();
|
|
|
|
|
|
|
|
void OnObjectBegin();
|
|
|
|
void OnObjectEnd();
|
|
|
|
|
2016-09-22 21:05:17 -04:00
|
|
|
void DrawObjectBuffer(s16 x, s16 y, const u8* color, int bufferBase, int subBuffer,
|
|
|
|
const char* name);
|
2010-12-02 05:38:48 +00:00
|
|
|
|
2016-09-22 21:05:17 -04:00
|
|
|
void DrawTempBuffer(const u8* color, int buffer);
|
2010-12-02 05:38:48 +00:00
|
|
|
void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char* name);
|
2019-05-05 23:48:12 +00:00
|
|
|
} // namespace DebugUtil
|