21 references to BufferCache
PresentationCore (21)
Core\CSharp\MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
461uint[] glyphBits = BufferCache.GetUInts(glyphBitsLength); 477ushort[] glyphIndices = BufferCache.GetUShorts(codepoints.Length); 502BufferCache.ReleaseUShorts(glyphIndices); 634BufferCache.ReleaseUInts(glyphBits);
Core\CSharp\MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
343MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(characterLength); 383BufferCache.ReleaseGlyphMetrics(glyphMetrics);
Core\CSharp\System\Windows\LayoutManager.cs (1)
458MS.Internal.FontCache.BufferCache.Reset();
Core\CSharp\System\Windows\Media\GlyphRun.cs (4)
1280ushort[] glyphIndices = BufferCache.GetUShorts(glyphIndicesCount); 1283MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(glyphIndicesCount); 1293BufferCache.ReleaseUShorts(glyphIndices); 1410BufferCache.ReleaseGlyphMetrics(glyphMetrics);
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (4)
1686MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(stringLength); 1713BufferCache.ReleaseGlyphMetrics(glyphMetrics); 1862glyphIndices = BufferCache.GetUShorts(characterCount); 1881BufferCache.ReleaseUShorts(glyphIndices);
Core\CSharp\System\Windows\Media\Typeface.cs (6)
415ushort[] glyphIndices = BufferCache.GetUShorts(charBufferRange.Length); 416MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = ignoreWidths ? null : BufferCache.GetGlyphMetrics(charBufferRange.Length); 506BufferCache.ReleaseUShorts(glyphIndices); 508BufferCache.ReleaseGlyphMetrics(glyphMetrics); 641MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(charBufferRange.Length); 672BufferCache.ReleaseGlyphMetrics(glyphMetrics);