Home
last modified time | relevance | path

Searched refs:Allocate (Results 1 – 25 of 63) sorted by relevance

123

/CTR-SDK-4.2.7-SampleDemos/gx/Cmd/TriangleSimpleCmd/
DMemoryManager.cpp98 void* MemoryManager::Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size) in Allocate() function in demo::detail::MemoryManager
146 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
326 return s_MemoryManager.Allocate(area, aim, id, size); in GetAllocator()
336 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, NN_GX_MEM_SYSTEM, 0, size); in Alloc()
341 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, aim, 0, size); in Alloc()
346 return s_MemoryManager.Allocate(area, aim, 0, size); in Alloc()
DMemoryManager.h73 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
/CTR-SDK-4.2.7-SampleDemos/gx/Cmd/FragmentLightingSimpleCmd/
DMemoryManager.cpp101 void* MemoryManager::Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size) in Allocate() function in demo::memory_manager::detail::MemoryManager
149 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
329 return s_MemoryManager.Allocate(area, aim, id, size); in GetAllocator()
339 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, NN_GX_MEM_SYSTEM, 0, size); in Alloc()
344 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, aim, 0, size); in Alloc()
349 return s_MemoryManager.Allocate(area, aim, 0, size); in Alloc()
DMemoryManager.h75 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
/CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/
DMemoryManager.cpp101 void* MemoryManager::Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size) in Allocate() function in demo::memory_manager::detail::MemoryManager
149 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
329 return s_MemoryManager.Allocate(area, aim, id, size); in GetAllocator()
339 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, NN_GX_MEM_SYSTEM, 0, size); in Alloc()
344 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, aim, 0, size); in Alloc()
349 return s_MemoryManager.Allocate(area, aim, 0, size); in Alloc()
DMemoryManager.h75 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
/CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/
Dmain.cpp73 void* shaderBinary = s_AppHeap.Allocate(fileSize); in InitShaders()
84 void *const vtxBufCmdBuf = s_AppHeap.Allocate(vtxBufCmdBufSize); in InitShaders()
202 void* readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFont()
226 void* const fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFont()
285 void* const readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFontStreaming()
313 void* fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFontStreaming()
397 void *const bufMem = s_AppHeap.Allocate(DrawBufferSize); in AllocDispStringBuffer()
503 uptr addrDeviceMemoryVideo = reinterpret_cast<uptr>(s_AppHeap.Allocate(nDeviceMemorySizeVideo)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/common/libraries/demo/Utility/
Ddemo_MemoryManager.cpp97 void* MemoryManager::Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size) in Allocate() function in demo::detail::MemoryManager
145 if ( (resultAddr = m_HeapOnFcram.Allocate(size, addrAlign)) == NULL) in Allocate()
279 return s_MemoryManager.Allocate(area, aim, id, size); in GetAllocator()
289 return s_MemoryManager.Allocate(NN_GX_MEM_FCRAM, NN_GX_MEM_SYSTEM, 0, size); in Alloc()
/CTR-SDK-4.2.7-SampleDemos/font/ResFont/
Dmain.cpp65 void* shaderBinary = s_AppHeap.Allocate(fileSize); in InitShaders()
76 void *const vtxBufCmdBuf = s_AppHeap.Allocate(vtxBufCmdBufSize); in InitShaders()
191 void* buffer = s_AppHeap.Allocate(fileSize, nn::font::GlyphDataAlignment); in InitFont()
216 void* drawBuffer = s_AppHeap.Allocate(drawBufferSize, 4); in InitFont()
262 void *const bufMem = s_AppHeap.Allocate(DrawBufferSize); in AllocDispStringBuffer()
429 uptr addrDeviceMemoryVideo = reinterpret_cast<uptr>(s_AppHeap.Allocate(nDeviceMemorySizeVideo)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/font/PackedFont/
Dmain.cpp75 void* shaderBinary = s_AppHeap.Allocate(fileSize); in InitShaders()
139 void* readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFont()
170 void* const fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFont()
233 void* const readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFontStreaming()
266 void* fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFontStreaming()
437 uptr addrDeviceMemoryVideo = reinterpret_cast<uptr>(s_AppHeap.Allocate(nDeviceMemorySizeVideo)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Common/
DAllocator.cpp44 return s_ExpHeap.Allocate(size); in stdAlloc()
/CTR-SDK-4.2.7-SampleDemos/fs/Simple/
DFsSample.cpp45 return s_ExtHeap.Allocate(size); in FsSampleAllocateMemory()
/CTR-SDK-4.2.7-SampleDemos/common/libraries/scene/
DTextWriter.cpp323 void* pDrawBuffer = m_pExpHeap->Allocate(drawBufferSize, 4); in InitializeFont()
337 void* pShaderBinary = m_pExpHeap->Allocate(SHADER_SIZE); in InitializeShader()
344 m_pShaderBuffer = m_pExpHeap->Allocate(vtxBufferCmdBufferSize); in InitializeShader()
362 void* pBuffer = m_pExpHeap->Allocate(bufferSize); in AllocateStringBuffer()
DUtil.cpp92 void* Allocate(size_t size, s32 alignment) in Allocate() function
94 return s_pExpHeap->Allocate(size, alignment); in Allocate()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/DrawTexture2d/
Dgx_DrawTexture2d.cpp108 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
238 void* buf = s_AppHeap.Allocate( fileSize, 4 ); in GetTextureData()
280 …u8* textureGLDataBuffer = reinterpret_cast<u8*>( s_AppHeap.Allocate(3 * textureWidth * textureHeig… in GetTextureDataFromBmpFileData()
313 …u8* textureDataBuffer = reinterpret_cast<u8*>( s_AppHeap.Allocate(3 * textureWidth * textureHeight… in GetTextureDataFromBmpFileData()
/CTR-SDK-4.2.7-SampleDemos/demo1/
Dfs.cpp43 m_FileBuffer = reinterpret_cast<char*>(mp_AppHeap->Allocate(fileSize)); in Start()
/CTR-SDK-4.2.7-SampleDemos/common/include/demo/Utility/
Ddemo_MemoryManager.h73 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
/CTR-SDK-4.2.7-SampleDemos/common/include/scene/
DUtil.h55 void* Allocate(size_t size, s32 alignment = 4);
/CTR-SDK-4.2.7-SampleDemos/fs/common/
DFsSampleCommon.cpp40 uptr heapForGx = reinterpret_cast<uptr>(heap.Allocate(0x800000)); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/
DGasColorSimple.cpp72 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
77 s_HeapForMalloc = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_HeapSize)); in Initialize()
169 void* buf = s_AppHeap.Allocate(fileSize); in ShaderInitialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/
DGasColorOptimal.cpp56 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
61 s_HeapForMalloc = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_HeapSize)); in Initialize()
152 void* buf = s_AppHeap.Allocate(fileSize); in ShaderInitialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/
DLineSimple.cpp138 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
148 void* buf = s_AppHeap.Allocate(fileSize); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
DLightingDistanceAtte.cpp241 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
246 s_HeapForMalloc = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_HeapSize)); in Initialize()
254 void* buf = s_AppHeap.Allocate(fileSize); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/
DTriangleSimple.cpp152 void* buf = s_AppHeap.Allocate(nn::gx::DISPLAY0_HEIGHT * nn::gx::DISPLAY0_WIDTH *3 + 54); in DrawDisplay0AndSave()
257 s_HeapForGx = reinterpret_cast<uptr>(s_AppHeap.Allocate(s_GxHeapSize)); in Initialize()
266 void* buf = s_AppHeap.Allocate(fileSize); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/cec/cec_demo1/
Dcec_Main.cpp68 virtual void* Allocate(size_t size, s32 alignment = 4) in Allocate() function in CecTestAllocator
72 return expHeap.Allocate(size, alignment); in Allocate()
256 cecMessBody = reinterpret_cast<u8*>(allocator.Allocate(dataSize)); in CecTest_CreateMessage()
387 buf = reinterpret_cast<u8*>(allocator.Allocate(messSize)); in CecTest_ShowInboxMessage()
436 messBodyBuf = reinterpret_cast<u8*>(allocator.Allocate(messBodySize));// Allocate buffer in CecTest_ShowInboxMessage()

123