| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/TriangleSimpleCmd/ |
| D | MemoryManager.cpp | 98 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()
|
| D | MemoryManager.h | 73 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Cmd/FragmentLightingSimpleCmd/ |
| D | MemoryManager.cpp | 101 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()
|
| D | MemoryManager.h | 75 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/ |
| D | MemoryManager.cpp | 101 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()
|
| D | MemoryManager.h | 75 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
|
| /CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/ |
| D | main.cpp | 73 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/ |
| D | demo_MemoryManager.cpp | 97 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/ |
| D | main.cpp | 65 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/ |
| D | main.cpp | 75 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/ |
| D | Allocator.cpp | 44 return s_ExpHeap.Allocate(size); in stdAlloc()
|
| /CTR-SDK-4.2.7-SampleDemos/fs/Simple/ |
| D | FsSample.cpp | 45 return s_ExtHeap.Allocate(size); in FsSampleAllocateMemory()
|
| /CTR-SDK-4.2.7-SampleDemos/common/libraries/scene/ |
| D | TextWriter.cpp | 323 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()
|
| D | Util.cpp | 92 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/ |
| D | gx_DrawTexture2d.cpp | 108 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/ |
| D | fs.cpp | 43 m_FileBuffer = reinterpret_cast<char*>(mp_AppHeap->Allocate(fileSize)); in Start()
|
| /CTR-SDK-4.2.7-SampleDemos/common/include/demo/Utility/ |
| D | demo_MemoryManager.h | 73 void* Allocate(GLenum area, GLenum aim, GLuint id, GLsizei size);
|
| /CTR-SDK-4.2.7-SampleDemos/common/include/scene/ |
| D | Util.h | 55 void* Allocate(size_t size, s32 alignment = 4);
|
| /CTR-SDK-4.2.7-SampleDemos/fs/common/ |
| D | FsSampleCommon.cpp | 40 uptr heapForGx = reinterpret_cast<uptr>(heap.Allocate(0x800000)); in nnMain()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/ |
| D | GasColorSimple.cpp | 72 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/ |
| D | GasColorOptimal.cpp | 56 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/ |
| D | LineSimple.cpp | 138 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/ |
| D | LightingDistanceAtte.cpp | 241 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/ |
| D | TriangleSimple.cpp | 152 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/ |
| D | cec_Main.cpp | 68 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()
|