DebugUtil.h 632 B

12345678910111213141516171819202122232425262728
  1. // Copyright 2008 Dolphin Emulator Project
  2. // Licensed under GPLv2+
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "Common/Common.h"
  6. namespace DebugUtil
  7. {
  8. void Init();
  9. void Shutdown();
  10. void GetTextureRGBA(u8 *dst, u32 texmap, s32 mip, u32 width, u32 height);
  11. void DumpActiveTextures();
  12. void OnObjectBegin();
  13. void OnObjectEnd();
  14. void OnFrameEnd(u32 width, u32 height);
  15. void DrawObjectBuffer(s16 x, s16 y, u8 *color, int bufferBase, int subBuffer, const char *name);
  16. void DrawTempBuffer(u8 *color, int buffer);
  17. void CopyTempBuffer(s16 x, s16 y, int bufferBase, int subBuffer, const char *name);
  18. }