Jeff Muizelaar
e60693a015
Bug 1377362. Make LoadEventFromStream generic. r=lsalzman
...
This is needed to allow deserialization directly from memory
2017-07-06 07:15:43 -04:00
Jeff Muizelaar
bb066b19f2
Bug 1377362. Make the constructors to the recording events generic. r=lsalzman
2017-07-06 07:15:40 -04:00
Carsten "Tomcat" Book
fbc9f302f1
Backed out changeset d09fb3a5cedf (bug 1376026)
2017-07-06 08:11:48 +02:00
Lee Salzman
edc6db4195
Bug 1376026 - fix plumbing of DWrite parameters for Skia fonts to not depend on gfxPlatform. r=jrmuizel
2017-06-30 14:09:05 -04:00
Jeff Muizelaar
cf684af118
Bug 1374900. Replace MemWriter with a MemStream implementation. r=lsalzman
...
This is much faster than using a stringstream for a couple of reasons:
1. ostream needs to do a virtual call on each write which means that
it can't be inlined.
2. stringstream needs to check for resize every write(). We combine
those checks into a single one.
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
75d68e196f
Bug 1374900. Add MemWriter r=lsalzman
...
Add a dummy RecordToStream() implementation that supports something other than
istream. This makes a couple of places more generic to support this.
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
4f96690374
Bug 1374900. Make our low level serialization functions generic over the type of stream. r=lsalzman
2017-06-22 23:55:47 -04:00