1 write to _chunkList
PresentationCore (1)
System\Windows\Media\ByteStreamGeometryContext.cs (1)
459_chunkList = new FrugalStructList<byte[]>();
24 references to _chunkList
PresentationCore (24)
System\Windows\Media\ByteStreamGeometryContext.cs (24)
273return _chunkList[0]; 340CloseCore(_chunkList[0]); 417if (_chunkList.Count == 0) 420_chunkList.Add(chunk); 423ReadWriteData(false /* writing */, pbData, cbDataSize, _chunkList.Count-1, ref _currChunkOffset); 433Debug.Assert(_chunkList.Count != 0); 435if (_chunkList.Count > 1 || 436_chunkList[0].Length != _currOffset) 448ByteStreamGeometryContext.ReturnChunkToPool(_chunkList[0]); 453if (_chunkList.Count == 1) 455_chunkList[0] = buffer; 460_chunkList.Add(buffer); 484while (bufferOffset > _chunkList[currentChunk].Length) 486bufferOffset -= _chunkList[currentChunk].Length; 495_chunkList[currentChunk].Length - bufferOffset); 501Invariant.Assert((_chunkList[currentChunk] != null) 502&& (_chunkList[currentChunk].Length >= bufferOffset + cbDataForThisChunk)); 505Invariant.Assert(_chunkList[currentChunk].Length > 0); 509Marshal.Copy(_chunkList[currentChunk], bufferOffset, (IntPtr)pbData, cbDataForThisChunk); 513Marshal.Copy((IntPtr)pbData, _chunkList[currentChunk], bufferOffset, cbDataForThisChunk); 525if (_chunkList.Count == currentChunk) 530int newChunkSize = Math.Min(2*_chunkList[_chunkList.Count-1].Length, c_maxChunkSize); 532_chunkList.Add(new byte[newChunkSize]);