Lines Matching refs:fontBufferSize
250 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFont() local
252 if (fontBufferSize == 0) in InitFont()
258 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont()
268 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
285 pFileReader->GetSize(), readBufferSize, fontBufferSize ); in InitFont()
336 const u32 fontBufferSize = nw::font::ArchiveFont::GetRequireBufferSize( in InitFontStreaming() local
338 if (fontBufferSize == 0) in InitFontStreaming()
345 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming()
349 NW_WARNING(false, "can't alloc %d bytes", fontBufferSize); in InitFontStreaming()
357 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
393 pFileReader->GetSize(), readBufferSize, fontBufferSize ); in InitFontStreaming()