Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 6 users
Status: Fixed
Owner:
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature

Blocked on:
issue 563826

Blocking:
issue 563816
issue 593349



Sign in to add a comment
Implement OffscreenCanvas.transferToImageBitmap()
Project Member Reported by junov@chromium.org, Dec 1 2015 Back to list
Implement OffscreenCanvas.transferToImageBitmap(). At this stage it should be usable on the main thread, with a 2D context.
 
Comment 1 by junov@chromium.org, Dec 1 2015
Blocking: chromium:563816
Comment 2 by junov@chromium.org, Mar 8 2016
Owner: junov@chromium.org
Status: Started
Project Member Comment 3 by bugdroid1@chromium.org, Mar 14 2016
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3e81032f06d758c0e79fec2158f1b928f3487036

commit 3e81032f06d758c0e79fec2158f1b928f3487036
Author: junov <junov@chromium.org>
Date: Mon Mar 14 22:10:19 2016

Make OffscreenCanvasRenderingContext2D renderable on a worker

This change makes 2D contexts renderable on workers. It only
implements the bare minimum interfaces required to draw rectangles
on a worker and bring the results to screen via ImageBitmap transfer.
The new Web APIs that are implemented are:
* OffscreenCanvasRendering2D.fillStyle
* OffscreenCanvasRendering2D.strokeStyle
* OffscreenCanvasRendering2D.fillRect
* OffscreenCanvasRendering2D.strokeRect
* OffscreenCanvasRendering2D.clearRect
* OffscreenCanvas.transferToImageBitmap

BUG= 563856 ,  563832 

Review URL: https://codereview.chromium.org/1775153002

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

[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/TestExpectations
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-clearRect-in-worker-expected.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-clearRect-in-worker.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-currentColor-expected.txt
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-currentColor.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-fillRect-in-worker-expected.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-fillRect-in-worker.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-strokeRect-in-worker-expected.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-strokeRect-in-worker.html
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferToImageBitmap-expected.txt
[add] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-transferToImageBitmap.html
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/canvas2d/CanvasStyle.cpp
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.cpp
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.h
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvas.idl
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas/OffscreenCanvasRenderingContext.h
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h
[modify] https://crrev.com/3e81032f06d758c0e79fec2158f1b928f3487036/third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.idl

Comment 4 by junov@chromium.org, Mar 14 2016
Status: Fixed
Sign in to add a comment