21 references to BufferCache
PresentationCore (21)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (4)
403uint[] glyphBits = BufferCache.GetUInts(glyphBitsLength); 419ushort[] glyphIndices = BufferCache.GetUShorts(codepoints.Length); 444BufferCache.ReleaseUShorts(glyphIndices); 576BufferCache.ReleaseUInts(glyphBits);
MS\Internal\TextFormatting\TextShapeableCharacters.cs (2)
335MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(characterLength); 375BufferCache.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\LayoutManager.cs (1)
454MS.Internal.FontCache.BufferCache.Reset();
System\Windows\Media\GlyphRun.cs (4)
1266ushort[] glyphIndices = BufferCache.GetUShorts(glyphIndicesCount); 1269MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(glyphIndicesCount); 1279BufferCache.ReleaseUShorts(glyphIndices); 1396BufferCache.ReleaseGlyphMetrics(glyphMetrics);
System\Windows\Media\GlyphTypeface.cs (4)
1338MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(stringLength); 1365BufferCache.ReleaseGlyphMetrics(glyphMetrics); 1512glyphIndices = BufferCache.GetUShorts(characterCount); 1531BufferCache.ReleaseUShorts(glyphIndices);
System\Windows\Media\Typeface.cs (6)
409ushort[] glyphIndices = BufferCache.GetUShorts(charBufferRange.Length); 410MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = ignoreWidths ? null : BufferCache.GetGlyphMetrics(charBufferRange.Length); 500BufferCache.ReleaseUShorts(glyphIndices); 502BufferCache.ReleaseGlyphMetrics(glyphMetrics); 635MS.Internal.Text.TextInterface.GlyphMetrics[] glyphMetrics = BufferCache.GetGlyphMetrics(charBufferRange.Length); 666BufferCache.ReleaseGlyphMetrics(glyphMetrics);