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