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

Issue 11413106: cc: Make RenderPass into a struct-like class. (Closed)

Created:
8 years, 1 month ago by danakj
Modified:
8 years, 1 month ago
CC:
chromium-reviews, cc-bugs_chromium.org, piman, backer
Visibility:
Public.

Description

cc: Make RenderPass into a struct-like class. This follows the same pattern as DrawQuad and SharedQuadState. The Create() method takes no parameters, allowing the IPC code to create an empty RenderPass. Then we have SetNew() and SetAll() methods to set the the properties of the RenderPass when creating a new one, or when recreating one via IPC, respectively. Covered by existing tests. BUG=152337 TBR=aelias Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168998

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Move AppendQuads methods to LTHImpl.cc #

Patch Set 4 : #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+679 lines, -554 lines) Patch
M cc/delegated_renderer_layer_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/delegated_renderer_layer_impl.cc View 4 chunks +15 lines, -17 lines 0 comments Download
M cc/delegated_renderer_layer_impl_unittest.cc View 13 chunks +80 lines, -79 lines 0 comments Download
M cc/direct_renderer.cc View 8 chunks +17 lines, -17 lines 0 comments Download
M cc/gl_renderer.cc View 4 chunks +8 lines, -8 lines 0 comments Download
M cc/gl_renderer_unittest.cc View 5 chunks +9 lines, -7 lines 0 comments Download
M cc/layer_tree_host_impl.cc View 1 2 9 chunks +102 lines, -16 lines 0 comments Download
M cc/layer_tree_host_impl_unittest.cc View 39 chunks +134 lines, -129 lines 0 comments Download
M cc/quad_culler.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M cc/quad_culler.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M cc/quad_culler_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/render_pass.h View 1 2 3 2 chunks +73 lines, -75 lines 0 comments Download
M cc/render_pass.cc View 1 2 1 chunk +60 lines, -89 lines 0 comments Download
M cc/render_pass_draw_quad.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/render_pass_unittest.cc View 2 chunks +24 lines, -23 lines 0 comments Download
M cc/render_surface_impl.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M cc/render_surface_unittest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M cc/software_renderer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M cc/software_renderer_unittest.cc View 1 2 chunks +8 lines, -6 lines 0 comments Download
M cc/test/render_pass_test_common.h View 1 1 chunk +16 lines, -16 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 chunk +111 lines, -51 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
danakj
8 years, 1 month ago (2012-11-21 01:28:11 UTC) #1
aelias_OOO_until_Jul13
https://codereview.chromium.org/11413106/diff/4001/cc/render_pass.cc File cc/render_pass.cc (right): https://codereview.chromium.org/11413106/diff/4001/cc/render_pass.cc#newcode93 cc/render_pass.cc:93: void RenderPass::AppendQuadsForLayer( These methods aren't very readable without the ...
8 years, 1 month ago (2012-11-21 01:50:10 UTC) #2
danakj
https://codereview.chromium.org/11413106/diff/4001/cc/render_pass.cc File cc/render_pass.cc (right): https://codereview.chromium.org/11413106/diff/4001/cc/render_pass.cc#newcode93 cc/render_pass.cc:93: void RenderPass::AppendQuadsForLayer( On 2012/11/21 01:50:10, aelias wrote: > These ...
8 years, 1 month ago (2012-11-21 01:53:02 UTC) #3
aelias_OOO_until_Jul13
lgtm once that's fixed.
8 years, 1 month ago (2012-11-21 02:04:50 UTC) #4
danakj
PTAL. I like the change to move those functions a lot, makes the include dependencies ...
8 years, 1 month ago (2012-11-21 02:13:48 UTC) #5
danakj
On 2012/11/21 02:04:50, aelias wrote: > lgtm once that's fixed. Oh, okay thanks :)
8 years, 1 month ago (2012-11-21 02:13:58 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
8 years, 1 month ago (2012-11-21 04:04:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11413106/7002
8 years, 1 month ago (2012-11-21 04:12:24 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/11413106/9023
8 years, 1 month ago (2012-11-21 04:26:00 UTC) #9
commit-bot: I haz the power
Change committed as 168998
8 years, 1 month ago (2012-11-21 07:02:19 UTC) #10
yurys
8 years, 1 month ago (2012-11-21 11:58:30 UTC) #11
After this change LayoutTests/css3/filters/effect-reference-ordering-hw.html
started to crash on all platforms. Filed WebKit bug on this:
https://bugs.webkit.org/show_bug.cgi?id=102898

Powered by Google App Engine
This is Rietveld 408576698