time: move to stl's clocks and move timer
This commit is contained in:
parent
0e521788bc
commit
877fb5b93a
43 changed files with 392 additions and 248 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
#include "PassElement.hpp"
|
||||
#include <optional>
|
||||
#include "../../helpers/time/Time.hpp"
|
||||
|
||||
class CWLSurfaceResource;
|
||||
class CTexture;
|
||||
|
|
@ -10,7 +11,7 @@ class CSurfacePassElement : public IPassElement {
|
|||
public:
|
||||
struct SRenderData {
|
||||
PHLMONITORREF pMonitor;
|
||||
timespec* when = nullptr;
|
||||
Time::steady_tp when = Time::steadyNow();
|
||||
Vector2D pos, localPos;
|
||||
|
||||
void* data = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue