Searched refs:fontBuffer (Results 1 – 2 of 2) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/font/PackedFont/ |
| D | main.cpp | 170 void* const fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFont() local 171 if (fontBuffer == NULL) in InitFont() 181 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 189 s_AppHeap.Free(fontBuffer); in InitFont() 266 void* fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFontStreaming() local 267 if (fontBuffer == NULL) in InitFontStreaming() 278 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 286 s_AppHeap.Free(fontBuffer); in InitFontStreaming() 298 s_AppHeap.Free(fontBuffer); in InitFontStreaming()
|
| /CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/ |
| D | main.cpp | 226 void* const fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFont() local 227 if (fontBuffer == NULL) in InitFont() 236 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 243 s_AppHeap.Free(fontBuffer); in InitFont() 313 void* fontBuffer = s_AppHeap.Allocate(fontBufferSize, nn::font::GlyphDataAlignment); in InitFontStreaming() local 314 if (fontBuffer == NULL) in InitFontStreaming() 325 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 333 s_AppHeap.Free(fontBuffer); in InitFontStreaming() 345 s_AppHeap.Free(fontBuffer); in InitFontStreaming()
|