diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2017-04-25 16:02:08 -0500 |
| commit | d11708e398c2f6377d9eac2b1f7248c62faab569 (patch) | |
| tree | 5778e794690c046ab4b0205d8f764960a5af168b /PxShared/src/task | |
| parent | PhysX 3.4, APEX 1.4 patch release @21821222 (diff) | |
| download | physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.tar.xz physx-3.4-d11708e398c2f6377d9eac2b1f7248c62faab569.zip | |
PhysX 3.4, APEX 1.4 patch release @22017166
Diffstat (limited to 'PxShared/src/task')
| -rw-r--r-- | PxShared/src/task/src/TaskManager.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/PxShared/src/task/src/TaskManager.cpp b/PxShared/src/task/src/TaskManager.cpp index ffcbfcd1..c6210bd8 100644 --- a/PxShared/src/task/src/TaskManager.cpp +++ b/PxShared/src/task/src/TaskManager.cpp @@ -168,9 +168,6 @@ public: void decrReference( PxLightCpuTask& lighttask ); void addReference( PxLightCpuTask& lighttask ); - void emitStartEvent( PxBaseTask& basetask, uint32_t threadId=0); - void emitStopEvent( PxBaseTask& basetask, uint32_t threadId=0); - PxErrorCallback& mErrorCallback; PxCpuDispatcher *mCpuDispatcher; PxGpuDispatcher *mGpuDispatcher; @@ -304,35 +301,6 @@ void PxTaskMgr::addReference(PxLightCpuTask& lighttask) shdfnd::atomicIncrement(&lighttask.mRefCount); } -void PxTaskMgr::emitStartEvent(PxBaseTask& basetask, uint32_t threadId) -{ -#if DOT_LOG - currentTask = &basetask; -#endif - - PxBaseTask* tmp = &basetask; - PX_UNUSED(tmp); - PX_UNUSED(threadId); - - /* This does not need a lock! */ -#if PX_SUPPORT_PXTASK_PROFILING - //PX_COMPILE_TIME_ASSERT(sizeof(PxProfileEventId::mEventId) == sizeof(PxBaseTask::mEventID)); - PX_PROFILE_START_CROSSTHREAD(basetask.getName(),0); -#endif -} - -void PxTaskMgr::emitStopEvent(PxBaseTask& basetask, uint32_t threadId) -{ - PxBaseTask* tmp = &basetask; - PX_UNUSED(tmp); - PX_UNUSED(threadId); - - /* This does not need a lock! */ -#if PX_SUPPORT_PXTASK_PROFILING - //PX_COMPILE_TIME_ASSERT(sizeof(PxProfileEventId::mEventId) == sizeof(PxBaseTask::mEventID)); - PX_PROFILE_STOP_CROSSTHREAD(basetask.getName(),0); -#endif -} /* * Called by the owner (Scene) at the start of every frame, before |