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