New issue
Advanced search Search tips
Starred by 3 users

Issue metadata

Status: Fixed
Closed: Jun 2016
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature

Blocked on:
issue 563832

issue 563816

Sign in to add a comment

Preserve context state in OffscreenCanvas.transferToImageBitmap

Project Member Reported by, Mar 9 2016 Back to list

Issue description

When calling OffscreenCanvas.transferToImageBitmap, the canvas's backing is transfered, but the full context state must be retained, including the matrix and clip stack on the ImageBufferSurface.


Comment 1 by, Mar 9 2016

Labels: -Type-Bug Type-Feature
Project Member

Comment 2 by, May 27 2016

The following revision refers to this bug:

commit b46b601d0286d9ffc010250ce48602f21bfd6404
Author: junov <>
Date: Fri May 27 21:08:50 2016

Fix 2D canvas state persistency after OffscreenCanvas.transferToImageBitmap

This change restores the matrix and clip state stack on the new
ImageBuffer that get created by OffscreenCanvasRenderingContext2D
after the previous buffer was torn off by transferToImageBItmap.
This change also adds the clip() method to OffscreenCanvasRenderingContext2D.

BUG= 593349 

Cr-Commit-Position: refs/heads/master@{#396559}


Comment 3 by, Jun 9 2016

Status: Fixed (was: Assigned)

Sign in to add a comment