2015-05-23 22:55:12 -06:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 17:08:10 -06:00
|
|
|
// Licensed under GPLv2+
|
2013-04-17 21:29:41 -06:00
|
|
|
// Refer to the license.txt file included.
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-02-10 11:54:46 -07:00
|
|
|
#pragma once
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2014-10-21 00:01:38 -06:00
|
|
|
#include "Common/Common.h"
|
|
|
|
|
2010-07-06 10:16:07 -06:00
|
|
|
namespace DebugUtil
|
|
|
|
{
|
2013-04-13 21:54:02 -06:00
|
|
|
void Init();
|
2014-03-05 07:19:10 -07:00
|
|
|
void Shutdown();
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2013-11-15 19:59:59 -07:00
|
|
|
void GetTextureRGBA(u8 *dst, u32 texmap, s32 mip, u32 width, u32 height);
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2013-04-13 21:54:02 -06:00
|
|
|
void DumpActiveTextures();
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2013-04-13 21:54:02 -06:00
|
|
|
void OnObjectBegin();
|
|
|
|
void OnObjectEnd();
|
2010-07-06 10:16:07 -06:00
|
|
|
|
2013-04-13 21:54:02 -06:00
|
|
|
void DrawObjectBuffer(s16 x, s16 y, u8 *color, int bufferBase, int subBuffer, const char *name);
|
2010-12-01 22:38:48 -07:00
|
|
|
|
|
|
|
void DrawTempBuffer(u8 *color, int buffer);
|
|
|
|
void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char *name);
|
2010-07-06 10:16:07 -06:00
|
|
|
}
|