Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Issue 2822263004: Remove PaintCanvas::writePixels (Closed)

Created:
3 years, 8 months ago by danakj
Modified:
3 years, 8 months ago
CC:
chromium-reviews, krit, dshwang, drott+blinkwatch_chromium.org, blink-reviews-platform-graphics_chromium.org, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, pdr+graphicswatchlist_chromium.org, Justin Novosad, haraken, dglazkov+blink, Rik, Stephen Chennney, fmalita+watch_chromium.org, blink-reviews, piman+watch_chromium.org, cc-bugs_chromium.org, ajuma+watch_chromium.org, kinuko+watch, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove PaintCanvas::writePixels This method doesn't make a lot of sense when building a recording, and it is not used for recordings for that reason. This changes callers of it to call it on the SkSurface's SkCanvas directly instead by moving the calls into Un/AcceleratedImageBufferSurface. BUG=671433 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2822263004 Cr-Commit-Position: refs/heads/master@{#465805} Committed: https://chromium.googlesource.com/chromium/src/+/6527e1ef5c38b22789f94f5ae4c763031f5932f7

Patch Set 1 : rm-writepixels: . #

Patch Set 2 : rm-writepixels: . #

Total comments: 2

Patch Set 3 : rm-writepixels: rmdcheck #

Messages

Total messages: 30 (21 generated)
danakj
3 years, 8 months ago (2017-04-19 20:56:37 UTC) #14
danakj
+pdr for webkit owners stamp if xlai approves
3 years, 8 months ago (2017-04-19 20:59:15 UTC) #16
enne (OOO)
Yay! lgtm
3 years, 8 months ago (2017-04-19 21:00:42 UTC) #17
xlai (Olivia)
lgtm with nits https://codereview.chromium.org/2822263004/diff/40001/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp File third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp (right): https://codereview.chromium.org/2822263004/diff/40001/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp#newcode81 third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp:81: return surface_->getCanvas()->writePixels(orig_info, pixels, row_bytes, x, y); ...
3 years, 8 months ago (2017-04-19 21:13:41 UTC) #18
danakj
https://codereview.chromium.org/2822263004/diff/40001/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp File third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp (right): https://codereview.chromium.org/2822263004/diff/40001/third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp#newcode81 third_party/WebKit/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp:81: return surface_->getCanvas()->writePixels(orig_info, pixels, row_bytes, x, y); On 2017/04/19 21:13:41, ...
3 years, 8 months ago (2017-04-19 21:19:05 UTC) #19
danakj
pdr: PTAL for owners
3 years, 8 months ago (2017-04-19 21:42:30 UTC) #22
pdr.
On 2017/04/19 at 21:42:30, danakj wrote: > pdr: PTAL for owners LGTM
3 years, 8 months ago (2017-04-19 21:49:48 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2822263004/60001
3 years, 8 months ago (2017-04-19 21:59:01 UTC) #27
commit-bot: I haz the power
3 years, 8 months ago (2017-04-19 23:23:58 UTC) #30
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/6527e1ef5c38b22789f94f5ae4c7...

Powered by Google App Engine
This is Rietveld 408576698