Searched refs:fontBuffer (Results 1 – 4 of 4) sorted by relevance
| /NW4C-1.3.3/demos/font/PackedFont/sources/ |
| D | main.cpp | 221 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont() local 222 if (fontBuffer == NULL) in InitFont() 232 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 240 MemFree(fontBuffer); in InitFont() 317 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming() local 318 if (fontBuffer == NULL) in InitFontStreaming() 329 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 337 MemFree(fontBuffer); in InitFontStreaming() 349 MemFree(fontBuffer); in InitFontStreaming()
|
| /NW4C-1.3.3/demos/font/ArchiveFont/sources/ |
| D | main.cpp | 256 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont() local 257 if (fontBuffer == NULL) in InitFont() 266 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 273 MemFree(fontBuffer); in InitFont() 343 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming() local 344 if (fontBuffer == NULL) in InitFontStreaming() 355 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 363 MemFree(fontBuffer); in InitFontStreaming() 375 MemFree(fontBuffer); in InitFontStreaming()
|
| /NW4C-1.3.3/sources/libraries/demo/ |
| D | demo_GraphicsDrawing.cpp | 348 void* fontBuffer = fontData.release(); in InitializeFont() local 358 const u32 drawBufferSize = nw::font::ResFont::GetDrawBufferSize(fontBuffer); in InitializeFont() 367 if ( fontBuffer != NULL && shaderBuffer != NULL ) in InitializeFont() 369 …result = this->InitializeFontFromBinary( shaderBuffer, shaderSize, fontBuffer, fontSize, drawBuffe… in InitializeFont() 376 os::SafeFree(fontBuffer, allocator); in InitializeFont()
|
| D | demo_Utility.cpp | 548 void* fontBuffer = nn::pl::GetSharedFontAddress(); in InitializeSharedFont() local 551 return graphicsDrawing.InitializeFont( allocator, FONT_SHADER_FILE_NAME, fontBuffer, fontSize ); in InitializeSharedFont()
|