Lines Matching refs:fontBufferSize
214 const u32 fontBufferSize = nw::font::PackedFont::GetRequireBufferSize( in InitFont() local
216 if (fontBufferSize == 0) in InitFont()
223 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont()
227 NW_WARNING(false, "fail to allocate memory for font buffer(%d byte).", fontBufferSize); in InitFont()
234 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
252 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFont()
310 const u32 fontBufferSize = nw::font::PackedFont::GetRequireBufferSize( in InitFontStreaming() local
312 if (fontBufferSize == 0) in InitFontStreaming()
319 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming()
323 NN_LOG("fail to allocate memory for font buffer(%d byte).", fontBufferSize); in InitFontStreaming()
331 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
367 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFontStreaming()