Add PaintOpBuffer::Deserialize()
This method is for deserializing paint ops from binary data, and append paint ops to the PaintOpBuffer. It can be used for reusing PaintOpBuffer to avoid re-allocating PaintOpBuffers. It will be useful for multithread chrome GPU experimental. It needs to deserialize paint ops from command buffer, and store it in shared image. This change allows reusing existing PaintOpBuffer. Bug: None Change-Id: I2f86b6c62f454495e591bbd841b8aa7156780e97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906938Reviewed-by:Khushal <khushalsagar@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#715042}
Showing
Please register or sign in to comment