diff options
| author | Marijn Tamis <[email protected]> | 2017-07-03 11:49:08 +0200 |
|---|---|---|
| committer | Marijn Tamis <[email protected]> | 2017-07-03 11:49:08 +0200 |
| commit | cfa944ded7370fb5f22b1fb894ecf6b9bd3f7381 (patch) | |
| tree | 5cc014922d20561d87105d279b6f7eb3e628c6d9 /PxShared/src/task | |
| parent | Fix windows line endings in github. (diff) | |
| download | nvcloth-1.1.1.tar.xz nvcloth-1.1.1.zip | |
NvCloth 1.1.1 Release. (22392725)v1.1.1
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 ffcbfcd..c6210bd 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 |