Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 274) sorted by relevance

1234567891011

/NW4C-2.0.3/include/nw/gfx/
Dgfx_SceneBuilder.h128 SceneObject* CreateObject(os::IAllocator* allocator, os::IAllocator* deviceAllocator);
140 SceneObject* CreateTree(os::IAllocator* allocator, os::IAllocator* deviceAllocator);
151 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
154 os::MemorySizeCalculator size(alignment);
170 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
173 os::MemorySizeCalculator size(alignment);
189 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
192 os::MemorySizeCalculator size(alignment);
208 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
211 os::MemorySizeCalculator size(alignment);
[all …]
Dgfx_FragmentLight.h131 FragmentLight* Create(os::IAllocator* allocator);
139 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const;
158 os::IAllocator* allocator);
168 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
171 os::MemorySizeCalculator size(alignment);
199 os::IAllocator* allocator);
209 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
214 os::MemorySizeCalculator* pSize,
263 os::IAllocator* allocator = NULL
272 os::IAllocator* m_Allocator;
[all …]
Dgfx_Fog.h119 Fog* Create(os::IAllocator* allocator);
127 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const;
146 os::IAllocator* allocator);
156 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
159 os::MemorySizeCalculator size(alignment);
168 os::MemorySizeCalculator* pSize,
241 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
248 os::IAllocator* m_Allocator;
253 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
260 os::IAllocator* m_Allocator;
[all …]
Dgfx_AmbientLight.h96 AmbientLight* Create(os::IAllocator* allocator);
104 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const;
123 os::IAllocator* allocator);
133 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
136 os::MemorySizeCalculator size(alignment);
145 os::MemorySizeCalculator* pSize,
184 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
191 os::IAllocator* m_Allocator;
203 os::IAllocator* allocator, in AmbientLight()
214 os::IAllocator* allocator, in AmbientLight()
[all …]
Dgfx_HemiSphereLight.h97 HemiSphereLight* Create(os::IAllocator* allocator);
105 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const;
124 os::IAllocator* allocator);
134 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
137 os::MemorySizeCalculator size(alignment);
146 os::MemorySizeCalculator* pSize,
185 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
192 os::IAllocator* m_Allocator;
204 os::IAllocator* allocator, in HemiSphereLight()
215 os::IAllocator* allocator, in HemiSphereLight()
[all …]
Dgfx_VertexLight.h130 VertexLight* Create(os::IAllocator* allocator);
138 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const;
157 os::IAllocator* allocator);
167 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT
170 os::MemorySizeCalculator size(alignment);
179 os::MemorySizeCalculator* pSize,
226 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
233 os::IAllocator* m_Allocator;
245 os::IAllocator* allocator, in VertexLight()
257 os::IAllocator* allocator, in VertexLight()
[all …]
Dgfx_Material.h64 os::IAllocator* allocator);
76 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT)
78 os::MemorySizeCalculator size(alignment);
88 os::MemorySizeCalculator* pSize,
264 os::IAllocator* allocator,
276 ResMaterialDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
283 os::IAllocator* m_Allocator;
289 Result Initialize(os::IAllocator* allocator);
296 Result CreateBuffers(os::IAllocator* allocator);
307 os::IAllocator* allocator,
[all …]
Dgfx_MaterialActivator.h26 namespace os
58 static MaterialActivator* Create(os::IAllocator* allocator);
65 static size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT)
67 os::MemorySizeCalculator size(alignment);
77 os::MemorySizeCalculator* pSize) in GetMemorySizeInternal()
79 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
94 MaterialActivator(os::IAllocator* allocator);
Dgfx_DirectMaterialActivator.h26 namespace os
58 static DirectMaterialActivator* Create(os::IAllocator* allocator);
65 static size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT)
67 os::MemorySizeCalculator size(alignment);
77 os::MemorySizeCalculator* pSize) in GetMemorySizeInternal()
79 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
116 DirectMaterialActivator(os::IAllocator* allocator);
Dgfx_SimpleMaterialActivator.h26 namespace os
58 static SimpleMaterialActivator* Create(os::IAllocator* allocator);
65 static size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT)
67 os::MemorySizeCalculator size(alignment);
75 static void GetMemorySizeInternal(os::MemorySizeCalculator* pSize) in GetMemorySizeInternal()
77 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
106 SimpleMaterialActivator(os::IAllocator* allocator);
Dgfx_FrustumProjectionUpdater.h26 namespace os
55 static FrustumProjectionUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
131 os::IAllocator* pAllocator,
Dgfx_PerspectiveProjectionUpdater.h26 namespace os
55 static PerspectiveProjectionUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
133 os::IAllocator* pAllocator,
Dgfx_OrthoProjectionUpdater.h26 namespace os
55 static OrthoProjectionUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
132 os::IAllocator* pAllocator,
Dgfx_LookAtTargetViewUpdater.h26 namespace os
55 static LookAtTargetViewUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
135 os::IAllocator* pAllocator,
Dgfx_AimTargetViewUpdater.h26 namespace os
55 static AimTargetViewUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
135 os::IAllocator* pAllocator,
Dgfx_RotateViewUpdater.h26 namespace os
55 static RotateViewUpdater* Create(os::IAllocator* allocator);
66 os::IAllocator* allocator,
71 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
74 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
135 os::IAllocator* pAllocator,
Dgfx_AnimAdder.h63 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const
65 os::MemorySizeCalculator size(alignment);
73 void GetMemorySizeInternal(os::MemorySizeCalculator* pSize) const in GetMemorySizeInternal()
75 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
87 AnimAdder* Create(os::IAllocator* allocator) in Create()
164 os::IAllocator* allocator) in AnimAdder()
177 static void GetMemorySizeForInitialize(os::MemorySizeCalculator* pSize, int maxAnimObjects) in GetMemorySizeForInitialize()
179 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeForInitialize()
Dgfx_UserRenderNode.h99 UserRenderNode* Create(os::IAllocator* allocator);
107 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const
109 os::MemorySizeCalculator size(alignment);
128 size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT)
130 os::MemorySizeCalculator size(alignment);
139 os::MemorySizeCalculator* pSize, in GetMemorySizeInternal()
142 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
239 os::IAllocator* allocator,
253 os::MemorySizeCalculator* pSize, in GetMemorySizeForInitialize()
Dgfx_TransformAnimAdder.h63 size_t GetMemorySize(size_t alignment = os::IAllocator::DEFAULT_ALIGNMENT) const
65 os::MemorySizeCalculator size(alignment);
73 void GetMemorySizeInternal(os::MemorySizeCalculator* pSize) const in GetMemorySizeInternal()
75 os::MemorySizeCalculator& size = *pSize; in GetMemorySizeInternal()
87 TransformAnimAdder* Create(os::IAllocator* allocator) in Create()
134 os::IAllocator* allocator) in TransformAnimAdder()
/NW4C-2.0.3/include/nw/demo/
Ddemo_HioPacketChannel.h83 os::IAllocator* allocator,
84 os::IAllocator* deviceAllocator
107 static bool Initialize(os::IAllocator* deviceAllocator);
205 os::IAllocator* allocator,
206 os::IAllocator* deviceAllocator,
212 nw::os::IAllocator* m_Allocator;
213 nw::os::IAllocator* m_DeviceAllocator;
215 static nw::os::IAllocator* s_DeviceAllocatorForHioWorkMemory;
232 namespace os
256 HioPacketChannel* Create(os::IAllocator* ,os::IAllocator* ) { return NULL; } in Create()
[all …]
/NW4C-2.0.3/include/nw/dev/
Ddev_Profile.h126 os::IAllocator* allocator);
132 void Destroy(os::IAllocator* allocator);
189 static_cast<float>(nn::os::Tick(tick).ToTimeSpan().GetNanoSeconds()) / accuracy; in TickToTime()
196 os::IAllocator* allocator,
243 static void Initialize(int maxReport, os::IAllocator* allocator);
246 static void Finalize(os::IAllocator* allocator);
326 os::IAllocator*) in CreateProfileManager()
331 void Destroy(os::IAllocator*){}; in Destroy()
378 static void Initialize(int, os::IAllocator*){} in Initialize()
380 static void Finalize(os::IAllocator*){} in Finalize()
[all …]
Ddev_Screenshot.h35 namespace os
118 nw::os::IAllocator* allocator,
150 nw::os::IAllocator* allocator, in Screenshot()
166 nw::os::IAllocator* m_Allocator;
183 nw::os::IAllocator* allocator,
236 void Destroy(os::IAllocator* allocator);
241 nw::os::IAllocator* allocator,
248 nw::os::IAllocator* m_Allocator;
283 …static Screenshot* Create(DisplayDescription, nw::os::IAllocator*, void*, void*, size_t) { return …
298 static ScreenshotManager* Create(nw::os::IAllocator*, int, int) { return NULL; }
[all …]
/NW4C-2.0.3/include/nw/os/platform/
Dos_MutexCTRWIN.h24 namespace os {
35 nn::os::ipc::InitMutex( &m_Mutex ); in LockObject()
40 nn::os::ipc::DestroyMutex( m_Mutex ); in ~LockObject()
45 nn::os::ipc::LockMutex( m_Mutex ); in Lock()
50 nn::Result result = nn::os::ipc::TryLockMutex( m_Mutex ); in TryLock()
56 nn::os::ipc::UnlockMutex( m_Mutex ); in Unlock()
60 nn::os::ipc::Mutex m_Mutex;
/NW4C-2.0.3/include/nw/font/
Dfont_Stopwatch.h42 using namespace nn::os; in Start()
50 using namespace nn::os; in Stop()
54 m_StartTick = nn::os::Tick(); in Stop()
59 m_TotalTick = nn::os::Tick(); in Reset()
69 return m_StartTick != nn::os::Tick(); in IsRunning()
73 nn::os::Tick m_StartTick;
74 nn::os::Tick m_TotalTick;
/NW4C-2.0.3/include/nw/os/
Dos_Utility.h28 #define nwosPanic(...) ::nw::os::Halt()
31 #define nwosPrintf ::nw::os::internal::Printf
32 #define nwosVPrintf ::nw::os::internal::VPrintf
33 #define nwosPanic(...) ::nw::os::internal::Panic( NN_FILE_NAME, __LINE__, __VA_ARGS__ )
34 #define nwosWarning(...) ::nw::os::internal::Warning( NN_FILE_NAME, __LINE__, __VA_ARGS__ )
38 namespace os {

1234567891011