Lines Matching refs:fontBufferSize
212 const u32 fontBufferSize = nw::font::PackedFont::GetRequireBufferSize( in InitFont() local
214 if (fontBufferSize == 0) in InitFont()
221 void* const fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFont()
225 NW_WARNING(false, "fail to allocate memory for font buffer(%d byte).", fontBufferSize); in InitFont()
232 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
250 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFont()
308 const u32 fontBufferSize = nw::font::PackedFont::GetRequireBufferSize( in InitFontStreaming() local
310 if (fontBufferSize == 0) in InitFontStreaming()
317 void* fontBuffer = DevMemAlloc(fontBufferSize, nw::font::GlyphDataAlignment); in InitFontStreaming()
321 NN_LOG("fail to allocate memory for font buffer(%d byte).", fontBufferSize); in InitFontStreaming()
329 pFont->InitStreamingConstruct(&context, fontBuffer, fontBufferSize, glyphGroups); in InitFontStreaming()
365 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFontStreaming()