Searched refs:fontBuffer (Results 1 – 3 of 3) sorted by relevance
| /NW4C-1.2.23/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.2.23/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.2.23/sources/libraries/demo/ |
| D | demo_GraphicsDrawing.cpp | 406 void* fontBuffer = fontData.release(); in InitializeFont() local 415 const u32 drawBufferSize = nw::font::ResFont::GetDrawBufferSize(fontBuffer); in InitializeFont() 424 if ( fontBuffer != NULL && shaderBuffer != NULL ) in InitializeFont() 426 …result = this->InitializeFont( shaderBuffer, shaderSize, fontBuffer, fontSize, drawBuffer, stringB… in InitializeFont() 433 os::SafeFree(fontBuffer, allocator); in InitializeFont()
|