Searched refs:fontBuffer (Results 1 – 4 of 4) sorted by relevance
| /NW4C-2.0.3/demos/font/PackedFont/sources/ |
| D | main.cpp | 223 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont() local 224 if (fontBuffer == NULL) in InitFont() 234 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 242 MemFree(fontBuffer); in InitFont() 319 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming() local 320 if (fontBuffer == NULL) in InitFontStreaming() 331 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 339 MemFree(fontBuffer); in InitFontStreaming() 351 MemFree(fontBuffer); in InitFontStreaming()
|
| /NW4C-2.0.3/demos/font/ArchiveFont/sources/ |
| D | main.cpp | 258 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont() local 259 if (fontBuffer == NULL) in InitFont() 268 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont() 275 MemFree(fontBuffer); in InitFont() 345 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming() local 346 if (fontBuffer == NULL) in InitFontStreaming() 357 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming() 365 MemFree(fontBuffer); in InitFontStreaming() 377 MemFree(fontBuffer); in InitFontStreaming()
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_GraphicsDrawing.cpp | 350 void* fontBuffer = fontData.release(); in InitializeFont() local 360 const u32 drawBufferSize = nw::font::ResFont::GetDrawBufferSize(fontBuffer); in InitializeFont() 369 if ( fontBuffer != NULL && shaderBuffer != NULL ) in InitializeFont() 371 …result = this->InitializeFontFromBinary( shaderBuffer, shaderSize, fontBuffer, fontSize, drawBuffe… in InitializeFont() 378 os::SafeFree(fontBuffer, allocator); in InitializeFont()
|
| D | demo_Utility.cpp | 572 void* fontBuffer = nn::pl::GetSharedFontAddress(); in InitializeSharedFont() local 575 return graphicsDrawing.InitializeFont( allocator, FONT_SHADER_FILE_NAME, fontBuffer, fontSize ); in InitializeSharedFont()
|