I would like to propose the following (updated) amendments to the [OpenRaster specification][1]. Thanks to everyone who's taken the time to review the original proposal and comment on it.
The addition of svg:dst-in and svg:dst-out to the OpenRaster format would allow MyPaint, an app I co-maintain, implement layer masking. There is accordingly an [experimental code branch][0] with a draft implementation of these updates.