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

Issue 14060015: cc: Async readback. (Closed)

Created:
7 years, 8 months ago by danakj
Modified:
7 years, 8 months ago
Reviewers:
jamesr, enne (OOO), piman
CC:
chromium-reviews, cc-bugs_chromium.org, backer
Visibility:
Public.

Description

cc: Async readback. Provide a path to get a readback of a layer's subtree via an asynchronous mechanism. This path is used for all the cc pixel tests, to show that it works. Also by some unit tests: LayerTreeHostTestAsyncReadback.GLRenderer_RunSingleThread LayerTreeHostTestAsyncReadback.GLRenderer_RunMultiThread LayerTreeHostTestAsyncReadback.SoftwareRenderer_RunSingleThread LayerTreeHostTestAsyncReadback.SoftwareRenderer_RunMultiThread LayerTreeHostTestAsyncReadbackLayerDestroyed.RunSingleThread LayerTreeHostTestAsyncReadbackLayerDestroyed.RunMultiThread BUG=179896 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=196747

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : nit #

Total comments: 8

Patch Set 4 : reviewed #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -77 lines) Patch
M cc/layers/layer.h View 3 chunks +15 lines, -0 lines 0 comments Download
M cc/layers/layer.cc View 5 chunks +38 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 chunks +11 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 3 chunks +30 lines, -0 lines 0 comments Download
M cc/output/direct_renderer.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/direct_renderer.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M cc/output/gl_renderer.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 1 chunk +13 lines, -0 lines 0 comments Download
M cc/output/gl_renderer_pixeltest.cc View 1 2 3 4 10 chunks +24 lines, -37 lines 0 comments Download
M cc/output/software_renderer.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/software_renderer.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M cc/quads/render_pass.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M cc/quads/render_pass.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 3 chunks +5 lines, -0 lines 0 comments Download
M cc/resources/resource_provider.cc View 1 chunk +4 lines, -1 line 0 comments Download
M cc/test/layer_tree_pixel_test.h View 1 chunk +2 lines, -2 lines 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 chunk +7 lines, -17 lines 0 comments Download
M cc/test/pixel_test.h View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M cc/test/pixel_test.cc View 1 1 chunk +26 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 4 chunks +14 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 1 chunk +193 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
piman
nice! https://codereview.chromium.org/14060015/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/14060015/diff/1/cc/output/gl_renderer.cc#newcode1774 cc/output/gl_renderer.cc:1774: GetFramebufferPixels(bitmap->getPixels(), gfx::Rect(render_pass_size)); How hard would it be to ...
7 years, 8 months ago (2013-04-25 02:13:51 UTC) #1
danakj
Thanks for lookin'. Using the async readback for all the pixel tests now. https://codereview.chromium.org/14060015/diff/1/cc/output/gl_renderer.cc File ...
7 years, 8 months ago (2013-04-25 18:39:15 UTC) #2
piman
LGTM + a bunch of nits. https://codereview.chromium.org/14060015/diff/9001/cc/output/direct_renderer.cc File cc/output/direct_renderer.cc (right): https://codereview.chromium.org/14060015/diff/9001/cc/output/direct_renderer.cc#newcode11 cc/output/direct_renderer.cc:11: #include "base/hash_tables.h" nit: ...
7 years, 8 months ago (2013-04-26 00:15:02 UTC) #3
danakj
https://codereview.chromium.org/14060015/diff/9001/cc/output/direct_renderer.h File cc/output/direct_renderer.h (right): https://codereview.chromium.org/14060015/diff/9001/cc/output/direct_renderer.h#newcode96 cc/output/direct_renderer.h:96: const RenderPass* render_pass); On 2013/04/26 00:15:02, piman wrote: > ...
7 years, 8 months ago (2013-04-26 01:00:06 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14060015/18001
7 years, 8 months ago (2013-04-26 01:00:57 UTC) #5
commit-bot: I haz the power
Change committed as 196592
7 years, 8 months ago (2013-04-26 03:53:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14060015/18001
7 years, 8 months ago (2013-04-26 13:11:57 UTC) #7
commit-bot: I haz the power
Change committed as 196713
7 years, 8 months ago (2013-04-26 13:13:24 UTC) #8
danakj
Crap, I tried to upload and land, but it just landed again. >_<
7 years, 8 months ago (2013-04-26 13:16:15 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14060015/35001
7 years, 8 months ago (2013-04-26 13:19:42 UTC) #10
danakj
3rd time's the charm!
7 years, 8 months ago (2013-04-26 13:20:00 UTC) #11
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=107411
7 years, 8 months ago (2013-04-26 15:33:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/14060015/35001
7 years, 8 months ago (2013-04-26 15:34:47 UTC) #13
commit-bot: I haz the power
7 years, 8 months ago (2013-04-26 16:18:26 UTC) #14
Message was sent while issue was closed.
Change committed as 196747

Powered by Google App Engine
This is Rietveld 408576698