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

Issue 17261009: cc: Make CopyOutputRequests correctly applied from layer space. (Closed)

Created:
7 years, 6 months ago by danakj
Modified:
7 years, 6 months ago
Reviewers:
piman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Make CopyOutputRequests applied from layer space. The CopyOutputRequest API is on cc::Layer, so the rect it is given should be in layer space. Also add tests for CompositeAndReadback which no longer had any pixel test coverage in cc/ to ensure that its inputs are correctly applied as device viewport space. Tests: LayerTreeHostReadbackDeviceScalePixelTest.ReadbackSubrect_Software LayerTreeHostReadbackDeviceScalePixelTest.ReadbackSubrect_GL LayerTreeHostReadbackDeviceScalePixelTest.ReadbackNonRootLayerSubrect_Software LayerTreeHostReadbackDeviceScalePixelTest.ReadbackNonRootLayerSubrect_GL LayerTreeHostReadbackViaCompositeAndReadbackPixelTest.CompositeAndReadback_Software_1 LayerTreeHostReadbackViaCompositeAndReadbackPixelTest.CompositeAndReadback_Software_2 LayerTreeHostReadbackViaCompositeAndReadbackPixelTest.CompositeAndReadback_GL_1 LayerTreeHostReadbackViaCompositeAndReadbackPixelTest.CompositeAndReadback_GL_2 R=piman BUG=251754 Depends on: https://codereview.chromium.org/17449014/

Patch Set 1 #

Patch Set 2 : copy-request-compositeandreadback: nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+445 lines, -9 lines) Patch
M cc/cc_tests.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/layer_impl.cc View 1 chunk +15 lines, -1 line 0 comments Download
A cc/test/solid_color_content_layer_client.h View 1 chunk +30 lines, -0 lines 0 comments Download
A cc/test/solid_color_content_layer_client.cc View 1 chunk +29 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_pixeltest_readback.cc View 1 8 chunks +365 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
danakj
7 years, 6 months ago (2013-06-19 21:56:05 UTC) #1
danakj
I think I'll just merge this with the last 2 readback CLs to land them ...
7 years, 6 months ago (2013-06-19 21:56:26 UTC) #2
piman
lgtm
7 years, 6 months ago (2013-06-19 23:13:59 UTC) #3
danakj
7 years, 6 months ago (2013-06-20 00:18:28 UTC) #4
Message was sent while issue was closed.
Merged to https://codereview.chromium.org/17335011/

Powered by Google App Engine
This is Rietveld 408576698