DescriptionMake skia.mojom.Bitmap use shared buffer
- Merge gfx.mojom.SharedBufferSkBitmap into skia.mojom.Bitmap to
transport pixel data via shared buffer. Shared buffer is created
on the sender side by copying source pixel data. On the receiving
end, the shared buffer is used to installPixels on the output
SkBitmap. Only one copy happens for the process. The cost is that
the shared buffer mapping has to be kept around for the lifetime
of the output SkBitmap;
- Update test expectations of gfx.mojom.ImageSkia[Rep] because
empty SkBitmap would end up as null on the other end (as
a result of installPixels using shared buffer);
BUG=655874
Patch Set 1 #Patch Set 2 : fix gn check #
Total comments: 8
Depends on Patchset: Messages
Total messages: 15 (9 generated)
|