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

Issue 659563002: cc: Replace RasterBuffer::Acquire/ReleaseCanvas with Playback function. (Closed)

Created:
6 years, 2 months ago by reveman
Modified:
6 years, 2 months ago
Reviewers:
hendrikw, vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

cc: Replace RasterBuffer::Acquire/ReleaseCanvas with Playback function. This reduces the complexity of RasterBuffer implementations significantly as they don't have to keep track of state inbetween Acquire/ReleaseCanvas calls. BUG=418553 Committed: https://crrev.com/54232ec61a00db275babf58cd16137a4cf807309 Cr-Commit-Position: refs/heads/master@{#299635}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add temporary size variable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -126 lines) Patch
M cc/resources/bitmap_raster_worker_pool.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M cc/resources/gpu_raster_worker_pool.cc View 1 4 chunks +12 lines, -16 lines 0 comments Download
M cc/resources/one_copy_raster_worker_pool.cc View 4 chunks +13 lines, -21 lines 0 comments Download
M cc/resources/pixel_buffer_raster_worker_pool.cc View 3 chunks +16 lines, -17 lines 0 comments Download
M cc/resources/raster_buffer.h View 1 chunk +7 lines, -5 lines 0 comments Download
M cc/resources/raster_worker_pool.h View 3 chunks +13 lines, -10 lines 0 comments Download
M cc/resources/raster_worker_pool.cc View 4 chunks +20 lines, -18 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M cc/resources/tile_manager.cc View 4 chunks +3 lines, -9 lines 0 comments Download
M cc/resources/zero_copy_raster_worker_pool.cc View 2 chunks +13 lines, -22 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
reveman
This makes what I'm trying to do in the 1-copy case much easier and I ...
6 years, 2 months ago (2014-10-14 18:56:30 UTC) #2
reveman
+hendrikw as this might make it easier to add distance field font support
6 years, 2 months ago (2014-10-14 19:19:43 UTC) #4
hendrikw
On 2014/10/14 19:19:43, reveman wrote: > +hendrikw as this might make it easier to add ...
6 years, 2 months ago (2014-10-14 20:32:13 UTC) #5
vmpstr
lgtm https://codereview.chromium.org/659563002/diff/1/cc/resources/gpu_raster_worker_pool.cc File cc/resources/gpu_raster_worker_pool.cc (right): https://codereview.chromium.org/659563002/diff/1/cc/resources/gpu_raster_worker_pool.cc#newcode44 cc/resources/gpu_raster_worker_pool.cc:44: resource_->size().width(), resource_->size().height())); nit: Can you make size a ...
6 years, 2 months ago (2014-10-15 00:09:30 UTC) #6
reveman
https://codereview.chromium.org/659563002/diff/1/cc/resources/gpu_raster_worker_pool.cc File cc/resources/gpu_raster_worker_pool.cc (right): https://codereview.chromium.org/659563002/diff/1/cc/resources/gpu_raster_worker_pool.cc#newcode44 cc/resources/gpu_raster_worker_pool.cc:44: resource_->size().width(), resource_->size().height())); On 2014/10/15 00:09:30, vmpstr wrote: > nit: ...
6 years, 2 months ago (2014-10-15 01:24:06 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/659563002/20001
6 years, 2 months ago (2014-10-15 01:24:54 UTC) #9
reveman
On 2014/10/14 20:32:13, Hendrik wrote: > On 2014/10/14 19:19:43, reveman wrote: > > +hendrikw as ...
6 years, 2 months ago (2014-10-15 01:27:18 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-15 02:37:12 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-15 02:38:15 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/54232ec61a00db275babf58cd16137a4cf807309
Cr-Commit-Position: refs/heads/master@{#299635}

Powered by Google App Engine
This is Rietveld 408576698