Home
last modified time | relevance | path

Searched refs:allocator (Results 1 – 25 of 186) sorted by relevance

12345678

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_SceneContext.cpp28 os::IAllocator* allocator in Create() argument
31 NW_NULL_ASSERT(allocator); in Create()
33 SceneNodeArray sceneNodes(allocator); in Create()
34 ModelArray models(allocator); in Create()
35 SkeletalModelArray skeletalModels(allocator); in Create()
36 LightArray lights(allocator); in Create()
37 FragmentLightArray fragmentLights(allocator); in Create()
38 VertexLightArray vertexLights(allocator); in Create()
39 HemiSphereLightArray hemiSphereLights(allocator); in Create()
40 AmbientLightArray ambientLights(allocator); in Create()
[all …]
Dgfx_SceneNode.cpp35 os::IAllocator* allocator in Create() argument
38 NW_NULL_ASSERT(allocator); in Create()
40 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create()
44 allocator, ResSceneNode(), m_Description); in Create()
46 Result result = node->Initialize(allocator); in Create()
60 os::IAllocator* allocator in Create() argument
63 NW_NULL_ASSERT(allocator); in Create()
67 void* memory = allocator->Alloc(sizeof(SceneNode)); in Create()
71 allocator, resNode, description); in Create()
73 Result result = node->Initialize(allocator); in Create()
[all …]
Dgfx_FragmentLight.cpp35 os::IAllocator* allocator in Create() argument
38 NW_NULL_ASSERT(allocator); in Create()
44 CreateResFragmentLight(allocator), in Create()
45 ResFragmentLightDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
50 allocator, in Create()
54 Result result = light->Initialize(allocator); in Create()
97 os::IAllocator* allocator in Create() argument
100 NW_NULL_ASSERT(allocator); in Create()
106 void* memory = allocator->Alloc(sizeof(FragmentLight)); in Create()
[all …]
Dgfx_LightSet.cpp29 os::IAllocator* allocator in Create() argument
32 NW_NULL_ASSERT(allocator); in Create()
34 void* memory = allocator->Alloc(sizeof(LightSet)); in Create()
37 allocator, in Create()
43 void* memoryArray = allocator->Alloc(sizeof(VertexLight*) * m_Description.maxVertexLights); in Create()
44 …lightSet->m_VertexLights = VertexLightArray(memoryArray, m_Description.maxVertexLights, allocator); in Create()
48 lightSet->m_VertexLights = VertexLightArray(allocator); in Create()
58 os::IAllocator* allocator in Create() argument
61 NW_NULL_ASSERT(allocator); in Create()
64 void* memory = allocator->Alloc(sizeof(LightSet)); in Create()
[all …]
Dgfx_AmbientLight.cpp33 os::IAllocator* allocator in Create() argument
36 NW_NULL_ASSERT(allocator); in Create()
42 CreateResAmbientLight(allocator), in Create()
43 ResAmbientLightDataDestroyer(allocator)); in Create()
45 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
48 allocator, in Create()
52 Result result = light->Initialize(allocator); in Create()
92 os::IAllocator* allocator in Create() argument
95 NW_NULL_ASSERT(allocator); in Create()
101 void* memory = allocator->Alloc(sizeof(AmbientLight)); in Create()
[all …]
Dgfx_HemiSphereLight.cpp35 os::IAllocator* allocator in Create() argument
38 NW_NULL_ASSERT(allocator); in Create()
44 CreateResHemiSphereLight(allocator), in Create()
45 ResHemiSphereLightDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
50 allocator, in Create()
54 Result result = light->Initialize(allocator); in Create()
94 os::IAllocator* allocator in Create() argument
97 NW_NULL_ASSERT(allocator); in Create()
103 void* memory = allocator->Alloc(sizeof(HemiSphereLight)); in Create()
[all …]
Dgfx_VertexLight.cpp36 os::IAllocator* allocator in Create() argument
39 NW_NULL_ASSERT(allocator); in Create()
45 CreateResVertexLight(allocator), in Create()
46 ResVertexLightDataDestroyer(allocator)); in Create()
48 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
51 allocator, in Create()
55 Result result = light->Initialize(allocator); in Create()
95 os::IAllocator* allocator in Create() argument
98 NW_NULL_ASSERT(allocator); in Create()
104 void* memory = allocator->Alloc(sizeof(VertexLight)); in Create()
[all …]
Dgfx_ParticleContext.cpp28 os::IAllocator* allocator in Create() argument
31 NW_NULL_ASSERT(allocator); in Create()
33 VEC3Array emissionPositions(allocator); in Create()
34 U16Array emissionParents(allocator); in Create()
35 F32Array particleWorkF32(allocator); in Create()
39 emissionPositions = VEC3Array(this->m_MaxEmission, allocator); in Create()
40 emissionParents = U16Array(this->m_MaxEmission, allocator); in Create()
41 particleWorkF32 = F32Array(this->m_MaxStreamLength, allocator); in Create()
50 void* memory = allocator->Alloc(sizeof(ParticleContext)); in Create()
54 allocator, emissionPositions, emissionParents, particleWorkF32); in Create()
Dgfx_TransformNode.cpp33 os::IAllocator* allocator, in TransformNode() argument
36 : SceneNode(allocator, resObj, description), in TransformNode()
57 os::IAllocator* allocator in Create() argument
60 NW_NULL_ASSERT(allocator); in Create()
62 void* memory = allocator->Alloc(sizeof(TransformNode)); in Create()
66 allocator, in Create()
70 Result result = node->Initialize(allocator); in Create()
83 os::IAllocator* allocator in Create() argument
86 NW_NULL_ASSERT(allocator); in Create()
90 void* memory = allocator->Alloc(sizeof(TransformNode)); in Create()
[all …]
Dgfx_Model.cpp39 os::IAllocator* allocator in Create() argument
42 NW_NULL_ASSERT(allocator); in Create()
48 void* memory = allocator->Alloc(sizeof(Model)); in Create()
52 allocator, in Create()
56 Result result = node->Initialize(allocator); in Create()
70 Model::Initialize(os::IAllocator* allocator) in Initialize() argument
74 result |= TransformNode::Initialize(allocator); in Initialize()
77 result |= CreateResMeshes(allocator); in Initialize()
80 result |= CreateResMeshNodeVisibilities(allocator); in Initialize()
83 result |= CreateMaterials(allocator); in Initialize()
[all …]
Dgfx_Fog.cpp38 os::IAllocator* allocator in Create() argument
41 NW_NULL_ASSERT(allocator); in Create()
44 CreateResFog(allocator), in Create()
45 ResFogDataDestroyer(allocator)); in Create()
47 void* memory = allocator->Alloc(sizeof(Fog)); in Create()
50 allocator, in Create()
53 Result result = fog->Initialize(allocator); in Create()
109 os::IAllocator* allocator in Create() argument
112 NW_NULL_ASSERT(allocator); in Create()
118 void* memory = allocator->Alloc(sizeof(Fog)); in Create()
[all …]
Dgfx_PerspectiveProjectionUpdater.cpp29 PerspectiveProjectionUpdater::Create(os::IAllocator* allocator) in Create() argument
31 NW_NULL_ASSERT(allocator); in Create()
33 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create()
37 = AllocateAndFill<ResPerspectiveProjectionUpdaterData>(allocator, 0); in Create()
50 return new(updaterMemory) PerspectiveProjectionUpdater(allocator, true, resUpdater); in Create()
56 os::IAllocator* allocator, in Create() argument
59 NW_NULL_ASSERT(allocator); in Create()
61 void* updaterMemory = allocator->Alloc(sizeof(PerspectiveProjectionUpdater)); in Create()
64 return new(updaterMemory) PerspectiveProjectionUpdater(allocator, false, resUpdater); in Create()
69 os::IAllocator* allocator, in PerspectiveProjectionUpdater() argument
[all …]
Dgfx_Skeleton.cpp32 Skeleton::CreateCallbacks(os::IAllocator* allocator, int maxCallbacks, bool isFixedSizeMemory) in CreateCallbacks() argument
39 CalculateMatrixSignal::CreateInvalidateSignal(allocator); in CreateCallbacks()
41 CalculateMatrixSignal::CreateInvalidateSignal(allocator); in CreateCallbacks()
46 CalculateMatrixSignal::CreateFixedSizedSignal(maxCallbacks, allocator); in CreateCallbacks()
48 CalculateMatrixSignal::CreateFixedSizedSignal(maxCallbacks, allocator); in CreateCallbacks()
54 CalculateMatrixSignal::CreateVariableSizeSignal(allocator); in CreateCallbacks()
56 CalculateMatrixSignal::CreateVariableSizeSignal(allocator); in CreateCallbacks()
Dgfx_Material.cpp44 os::IAllocator* allocator, in Material() argument
49 allocator, in Material()
67 os::IAllocator* allocator in Create() argument
70 NW_NULL_ASSERT(allocator); in Create()
76 void* memory = allocator->Alloc(sizeof(Material)); in Create()
83 allocator, in Create()
88 Result result = material->Initialize(allocator); in Create()
274 Material::CreateBuffers(os::IAllocator* allocator) in CreateBuffers() argument
283 void* memory = allocator->Alloc(sizeof(ResMaterial) * m_BufferCount); in CreateBuffers()
291 m_Buffers = ResMaterialArray(memory, m_BufferCount, allocator); in CreateBuffers()
[all …]
Dgfx_FrustumProjectionUpdater.cpp30 FrustumProjectionUpdater::Create(os::IAllocator* allocator) in Create() argument
32 NW_NULL_ASSERT(allocator); in Create()
34 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create()
38 = AllocateAndFill<ResFrustumProjectionUpdaterData>(allocator, 0); in Create()
52 return new(updaterMemory) FrustumProjectionUpdater(allocator, true, resUpdater); in Create()
57 FrustumProjectionUpdater::Create(os::IAllocator* allocator, ResFrustumProjectionUpdater resUpdater) in Create() argument
59 NW_NULL_ASSERT(allocator); in Create()
61 void* updaterMemory = allocator->Alloc(sizeof(FrustumProjectionUpdater)); in Create()
64 return new(updaterMemory) FrustumProjectionUpdater(allocator, false, resUpdater); in Create()
69 os::IAllocator* allocator, in FrustumProjectionUpdater() argument
[all …]
Dgfx_LookAtTargetViewUpdater.cpp29 LookAtTargetViewUpdater::Create(os::IAllocator* allocator) in Create() argument
31 NW_NULL_ASSERT(allocator); in Create()
33 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create()
37 = AllocateAndFill<ResLookAtTargetViewUpdaterData>(allocator, 0); in Create()
49 return new(updaterMemory) LookAtTargetViewUpdater(allocator, true, resUpdater); in Create()
54 LookAtTargetViewUpdater::Create(os::IAllocator* allocator, ResLookAtTargetViewUpdater resUpdater) in Create() argument
56 NW_NULL_ASSERT(allocator); in Create()
58 void* updaterMemory = allocator->Alloc(sizeof(LookAtTargetViewUpdater)); in Create()
61 return new(updaterMemory) LookAtTargetViewUpdater(allocator, false, resUpdater); in Create()
66 os::IAllocator* allocator, in LookAtTargetViewUpdater() argument
[all …]
Dgfx_OrthoProjectionUpdater.cpp30 OrthoProjectionUpdater::Create(os::IAllocator* allocator) in Create() argument
32 NW_NULL_ASSERT(allocator); in Create()
34 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create()
38 = AllocateAndFill<ResOrthoProjectionUpdaterData>(allocator, 0); in Create()
52 return new(updaterMemory) OrthoProjectionUpdater(allocator, true, resUpdater); in Create()
58 os::IAllocator* allocator, in Create() argument
61 NW_NULL_ASSERT(allocator); in Create()
63 void* updaterMemory = allocator->Alloc(sizeof(OrthoProjectionUpdater)); in Create()
66 return new(updaterMemory) OrthoProjectionUpdater(allocator, false, resUpdater); in Create()
71 os::IAllocator* allocator, in OrthoProjectionUpdater() argument
[all …]
Dgfx_RotateViewUpdater.cpp29 RotateViewUpdater::Create(os::IAllocator* allocator) in Create() argument
31 NW_NULL_ASSERT(allocator); in Create()
33 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create()
37 = AllocateAndFill<ResRotateViewUpdaterData>(allocator, 0); in Create()
49 return new(updaterMemory) RotateViewUpdater(allocator, true, resUpdater); in Create()
54 RotateViewUpdater::Create(os::IAllocator* allocator, ResRotateViewUpdater resUpdater) in Create() argument
56 NW_NULL_ASSERT(allocator); in Create()
58 void* updaterMemory = allocator->Alloc(sizeof(RotateViewUpdater)); in Create()
61 return new(updaterMemory) RotateViewUpdater(allocator, false, resUpdater); in Create()
66 os::IAllocator* allocator, in RotateViewUpdater() argument
[all …]
/NW4C-1.3.3/include/nw/ut/generated/
Dut_Signal.hi33 explicit Slot0(AllocatorType* allocator) : m_Allocator(allocator) {}
38 AllocatorType* allocator = this->GetAllocator();
39 if (allocator)
42 allocator->Free(this);
47 void Destroy(AllocatorType* allocator)
49 NW_NULL_ASSERT(allocator);
51 allocator->Free(this);
87 FunctionSlot0(AllocatorType* allocator, FunctionType function)
88 : Slot0<TResult, TAllocator>(allocator), m_Function(function) {}
145 //! @param[in] allocator アロケータです。
[all …]
/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResTextureMapper.cpp27 typedef Result (*SetupFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphi…
29 …ResTextureMapper (*CloneDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
30 typedef void (*DestroyDynamicFunc)(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
32 …dTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphicsFile…
33 …lTextureMapper_Setup(ResTextureMapper resTextureMapper, os::IAllocator* allocator, ResGraphicsFile…
36 …PixelBasedTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
37 …ProceduralTextureMapper_CloneDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
38 …xelBasedTextureMapper_DestroyDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
39 …oceduralTextureMapper_DestroyDynamic(ResTextureMapper resTextureMapper, os::IAllocator* allocator);
41 static ResTexture ReferResTexture(os::IAllocator* allocator, ResTexture resTexture);
[all …]
Dgfx_ResGraphicsFile.cpp35 ResGraphicsFile::Setup(os::IAllocator* allocator, ResGraphicsFile graphicsFile) in Setup() argument
45 result |= this->GetLutSets( i ).Setup(allocator, graphicsFile); in Setup()
51 result |= this->GetLights( i ).Setup(allocator, graphicsFile); in Setup()
57 result |= this->GetFogs( i ).Setup(allocator, graphicsFile); in Setup()
63 result |= this->GetShaders( i ).Setup(allocator, graphicsFile); in Setup()
69 result |= this->GetTextures( i ).Setup(allocator, graphicsFile); in Setup()
75 result |= this->GetSkeletalAnims( i ).Setup(allocator, graphicsFile); in Setup()
81 result |= this->GetMaterialAnims( i ).Setup(allocator, graphicsFile); in Setup()
87 result |= this->GetVisibilityAnims( i ).Setup(allocator, graphicsFile); in Setup()
93 result |= this->GetCameraAnims( i ).Setup(allocator, graphicsFile); in Setup()
[all …]
/NW4C-1.3.3/include/nw/gfx/
Dgfx_Fog.h117 Fog* Create(os::IAllocator* allocator);
144 os::IAllocator* allocator);
239 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
251 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
271 os::IAllocator* allocator, in Fog() argument
275 allocator, in Fog()
287 os::IAllocator* allocator, in Fog() argument
291 allocator, in Fog()
317 virtual Result Initialize(os::IAllocator* allocator);
320 Result CreateAnimGroup(os::IAllocator* allocator);
[all …]
Dgfx_AmbientLight.h94 AmbientLight* Create(os::IAllocator* allocator);
121 os::IAllocator* allocator);
182 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
201 os::IAllocator* allocator, in AmbientLight() argument
205 allocator, in AmbientLight()
212 os::IAllocator* allocator, in AmbientLight() argument
216 allocator, in AmbientLight()
232 virtual Result Initialize(os::IAllocator* allocator);
242 …static ResAmbientLightData* CreateResAmbientLight(os::IAllocator* allocator, const char* name =…
250 …static void DestroyResAmbientLight(os::IAllocator* allocator, ResAmbientLightData* resAmbientLight…
[all …]
Dgfx_HemiSphereLight.h95 HemiSphereLight* Create(os::IAllocator* allocator);
122 os::IAllocator* allocator);
183 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator()
202 os::IAllocator* allocator, in HemiSphereLight() argument
206 allocator, in HemiSphereLight()
213 os::IAllocator* allocator, in HemiSphereLight() argument
217 allocator, in HemiSphereLight()
232 virtual Result Initialize(os::IAllocator* allocator);
242 …static ResHemiSphereLightData* CreateResHemiSphereLight(os::IAllocator* allocator, const char* …
250 …static void DestroyResHemiSphereLight(os::IAllocator* allocator, ResHemiSphereLightData* resHemiSp…
[all …]
/NW4C-1.3.3/sources/libraries/dev/
Ddev_Screenshot.cpp31 nw::os::IAllocator* allocator, in Create() argument
36 u32* hash = allocator->AllocAndFill(HASH_LENGTH, static_cast<u32>(0)); in Create()
40 u8* copyScreen = allocator->AllocAndFill(maxLength, static_cast<u8>(0)); in Create()
43 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
47 allocator, in Create()
115 nw::os::IAllocator* allocator, in Create() argument
122 void* memory = allocator->Alloc(sizeof(Screenshot)); in Create()
123 ScreenshotArray screenshots = ScreenshotArray(maxScreenshot, allocator); in Create()
127 screenshots.push_back(Screenshot::Create(allocator, memorySize)); in Create()
130 return new(memory) ScreenshotManager(allocator, screenshots); in Create()
[all …]

12345678