Kawe Mazidjatari b3a68ed095 Add EABase, EAThread and DirtySDK to R5sdk
DirtySDK (EA's Dirty Sockets library) will be used for the LiveAPI implementation, and depends on: EABase, EAThread.
2024-04-05 18:29:03 +02:00

53 lines
1.4 KiB
C

/*H********************************************************************************/
/*!
\File render.h
\Description
Sample app rendering
\Copyright
Copyright (c) Electronic Arts 2004. ALL RIGHTS RESERVED.
\Version 1.0 06/04/2013 (cvienneau) First Version
*/
/********************************************************************************H*/
#ifndef _T2Render_h
#define _T2Render_h
/*** Include files ****************************************************************/
#include "DirtySDK/dirtysock.h"
#include <kernel.h>
/*** Defines **********************************************************************/
#if defined(DIRTYCODE_PS4)
/*** Macros ***********************************************************************/
/*** Type Definitions *************************************************************/
typedef struct T2Render
{
int32_t iVideoOut;
int32_t ibufferIndex;
SceKernelEqueue eqFlip;
int64_t flipArg;
int32_t loop;
} T2Render;
/*** Variables ********************************************************************/
/*** Functions ********************************************************************/
#ifdef __cplusplus
extern "C" {
#endif
int32_t T2RenderInit(T2Render *pApp);
int32_t T2RenderUpdate(T2Render *pApp);
int32_t T2RenderTerm(T2Render *pApp);
#ifdef __cplusplus
};
#endif
#endif // #if defined(DIRTYCODE_PS4)
#endif //_T2Render_h