Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.8 KiB

  1. #ifndef INCLUDED_BUILDWORLDLISTS_PS3_H
  2. #define INCLUDED_BUILDWORLDLISTS_PS3_H
  3. #if defined( _PS3 )
  4. #include "utlvector.h"
  5. #include "vjobs/root.h"
  6. #include <vjobs_interface.h>
  7. #include <ps3/vjobutils.h>
  8. #include <ps3/vjobutils_shared.h>
  9. #include "vjobs/jobparams_shared.h"
  10. #include "gl_matsysiface.h"
  11. //--------------------------------------------------------------------------------------------------
  12. // Job structure
  13. //--------------------------------------------------------------------------------------------------
  14. class CPS3BuildWorldListsJob : public VJobInstance
  15. {
  16. public:
  17. CPS3BuildWorldListsJob()
  18. {
  19. }
  20. ~CPS3BuildWorldListsJob()
  21. {
  22. // Shutdown();
  23. }
  24. void OnVjobsInit( void ); // gets called after m_pRoot was created and assigned
  25. void OnVjobsShutdown( void ); // gets called before m_pRoot is about to be destructed and NULL'ed
  26. void Init( void );
  27. void Shutdown( void );
  28. void CPS3BuildWorldListsJob::BuildWorldLists_SPU( job_buildworldlists::JobParams_t* pParam, job_buildworldlists::buildWorldListsDMAOut *pDMAOut,
  29. bool bDrawtopview, void *pEA_VolumeCuller, float *pOrthoCenter, float *pOrthoHalfDi, bool bTopViewNoBackfaceCulling, bool bTopViewNoVisCheck,
  30. bool bShadowDepth, void* pInfo, void *pEA_RenderListLeaves, int drawFlags,
  31. Frustum_t *pFrustum, Frustum_t *pAreaFrustum, unsigned char *pRenderAreaBits,
  32. int buildViewID );
  33. };
  34. // output dma params
  35. extern IVJobs * g_pVJobs;
  36. extern CPS3BuildWorldListsJob* g_pBuildWorldListsJob;
  37. extern job_buildworldlists::JobDescriptor_t g_buildWorldListsJobDescriptor[MAX_CONCURRENT_BUILDVIEWS] ALIGN128;
  38. extern job_buildworldlists::buildWorldListsDMAOut g_buildWorldListsDMAOutData[MAX_CONCURRENT_BUILDVIEWS] ALIGN128;
  39. #endif // if !defined(_PS3)
  40. #endif // INCLUDED_BUILDWORLDLISTS_PS3_H