/*---------------------------------------------------------------------------* Copyright (C) 2010-2011 Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ // gx2Temp.h // // Declares temporary types & function prototypes for gx2 library. They will go away eventually. #ifndef _CAFE_GX2_TEMP_H_ #define _CAFE_GX2_TEMP_H_ #ifdef __cplusplus extern "C" { #endif // __cplusplus /// @addtogroup GX2TempGroup /// @{ /// \brief returns a value compatible with DEMOFDGpuVersion /// /// \return (0=ver0, 1=ver1, 2=Cafe(GPU7)) /// /// \donotcall \threadsafe \devonly \enddonotcall /// u32 GX2API GX2TempGetGPUVersion(void); /// \brief Temp - return number of GX2R resources /// /// \donotcall \fgonly \notthreadsafe \notinterrupt \notexception \devonly \enddonotcall /// u32 GX2API GX2TempGetResourceCount(void); /// \brief Temp - return number of GX2R resources, excluding user memory buffers (that is the number we allocated memory for) /// /// \donotcall \fgonly \notthreadsafe \notinterrupt \notexception \devonly \enddonotcall /// u32 GX2API GX2TempGetNonUserMemoryResourceCount(void); /// \brief Temp - printf all active GX2R resource objects /// /// \donotcall \fgonly \notthreadsafe \notinterrupt \notexception \devonly \enddonotcall /// void GX2API GX2TempDumpResources(void); /// \brief Temp - printf all bound GPU resources /// /// \donotcall \fgonly \notthreadsafe \notinterrupt \notexception \devonly \enddonotcall /// void GX2API GX2TempDumpGPUResourceContext(void); /// @} #ifdef __cplusplus } #endif // __cplusplus #endif // _CAFE_GX2_TEMP_H_