Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Issue 332873005: Rendering context information added to SharedQuadState (Closed)

Created:
6 years, 6 months ago by troyhildebrandt
Modified:
6 years, 6 months ago
CC:
enne (OOO), cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Rendering context information added to SharedQuadState Context IDs given to DrawQuads to identify when a rendering context changes, and whether or not a DrawQuad is in a 3D sorting context. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278288

Patch Set 1 #

Patch Set 2 : Now plumbing rendering context IDs through WebLayerImpl #

Total comments: 8

Patch Set 3 : Rendering context now in Layers, removed is_3d_sorted #

Total comments: 22

Patch Set 4 : Changed RenderingContextId to 3dSortingContextId for clarity. #

Total comments: 4

Patch Set 5 : Added more descriptive comments for sorting context IDs #

Patch Set 6 : Rebase and add missing parameter to SetAll in PictureLayerImpl #

Patch Set 7 : cc_messages_unittest now builds with new SharedQuadState::SetAll #

Total comments: 1

Patch Set 8 : Added sorting_context_id comparison in cc_messages_unittest.cc #

Patch Set 9 : Rebased and reuploaded #

Patch Set 10 : layer_tree_json_parser fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -121 lines) Patch
M cc/layers/delegated_renderer_layer_impl_unittest.cc View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 4 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 chunks +5 lines, -5 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 4 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 chunks +8 lines, -8 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/layer_position_constraint_unittest.cc View 1 2 3 3 chunks +7 lines, -18 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/render_surface_impl.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 chunks +6 lines, -2 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 1 2 3 4 5 4 chunks +6 lines, -2 lines 0 comments Download
M cc/quads/render_pass_unittest.cc View 1 2 8 chunks +16 lines, -8 lines 0 comments Download
M cc/quads/shared_quad_state.h View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M cc/quads/shared_quad_state.cc View 1 2 3 3 chunks +8 lines, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator_test_helpers.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/layer_tree_host_common_test.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_json_parser.cc View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -2 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M cc/test/render_pass_test_utils.cc View 1 2 5 chunks +16 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 5 2 chunks +5 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_common_perftest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_pixeltest_filters.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/occlusion_tracker.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 2 3 4 5 5 chunks +11 lines, -11 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 3 4 5 6 7 10 chunks +20 lines, -8 lines 0 comments Download
M content/renderer/compositor_bindings/web_layer_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (0 generated)
troyhildebrandt
6 years, 6 months ago (2014-06-13 00:35:09 UTC) #1
Ian Vollick
On 2014/06/13 00:35:09, troyhildebrandt wrote: We actually get the context ids from blink and do ...
6 years, 6 months ago (2014-06-13 02:25:13 UTC) #2
troyhildebrandt
6 years, 6 months ago (2014-06-13 19:10:13 UTC) #3
danakj
https://codereview.chromium.org/332873005/diff/20001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/332873005/diff/20001/cc/layers/layer.cc#newcode758 cc/layers/layer.cc:758: void Layer::SetContextId(int id) { can you give this name ...
6 years, 6 months ago (2014-06-13 19:16:03 UTC) #4
troyhildebrandt
CC unittests and perftests were changed to reflect the lack of SetIs3dSorted(). https://codereview.chromium.org/332873005/diff/20001/cc/layers/layer.cc File cc/layers/layer.cc ...
6 years, 6 months ago (2014-06-13 22:56:36 UTC) #5
danakj
Thanks! A few more comments. https://codereview.chromium.org/332873005/diff/40001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/332873005/diff/40001/cc/layers/layer.cc#newcode902 cc/layers/layer.cc:902: layer->SetRenderingContextId(rendering_context_id_); Don't need to ...
6 years, 6 months ago (2014-06-15 18:15:36 UTC) #6
troyhildebrandt
https://codereview.chromium.org/332873005/diff/40001/cc/layers/layer.cc File cc/layers/layer.cc (right): https://codereview.chromium.org/332873005/diff/40001/cc/layers/layer.cc#newcode902 cc/layers/layer.cc:902: layer->SetRenderingContextId(rendering_context_id_); On 2014/06/15 18:15:35, danakj wrote: > Don't need ...
6 years, 6 months ago (2014-06-17 00:29:43 UTC) #7
enne (OOO)
(Could you also word wrap your patch description at 72 characters?) https://codereview.chromium.org/332873005/diff/60001/cc/layers/layer.h File cc/layers/layer.h (right): ...
6 years, 6 months ago (2014-06-17 00:46:04 UTC) #8
troyhildebrandt
Made the comment changes and wrapped the patch description at 72 characters. https://codereview.chromium.org/332873005/diff/60001/cc/layers/layer.h File cc/layers/layer.h ...
6 years, 6 months ago (2014-06-17 16:33:20 UTC) #9
danakj
Thanks for all the fixes, LGTM
6 years, 6 months ago (2014-06-17 17:48:52 UTC) #10
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-17 18:03:14 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/80001
6 years, 6 months ago (2014-06-17 18:05:23 UTC) #12
troyhildebrandt
The CQ bit was unchecked by [email protected]
6 years, 6 months ago (2014-06-17 18:43:14 UTC) #13
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-17 21:31:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/100001
6 years, 6 months ago (2014-06-17 21:32:06 UTC) #15
troyhildebrandt
cevans: content/common/cc_messages.h OWNERS One addition to the SharedQuadState IPC messages.
6 years, 6 months ago (2014-06-17 21:49:34 UTC) #16
troyhildebrandt
The CQ bit was unchecked by [email protected]
6 years, 6 months ago (2014-06-17 21:53:21 UTC) #17
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-17 21:53:34 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/100001
6 years, 6 months ago (2014-06-17 21:55:09 UTC) #19
troyhildebrandt
The CQ bit was unchecked by [email protected]
6 years, 6 months ago (2014-06-17 22:10:05 UTC) #20
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-17 23:06:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/120001
6 years, 6 months ago (2014-06-17 23:08:43 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by [email protected]
6 years, 6 months ago (2014-06-18 05:18:08 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/74451)
6 years, 6 months ago (2014-06-18 05:18:09 UTC) #24
danakj
https://codereview.chromium.org/332873005/diff/120001/content/common/cc_messages_unittest.cc File content/common/cc_messages_unittest.cc (right): https://codereview.chromium.org/332873005/diff/120001/content/common/cc_messages_unittest.cc#newcode65 content/common/cc_messages_unittest.cc:65: EXPECT_EQ(a->blend_mode, b->blend_mode); Compare the new field here please
6 years, 6 months ago (2014-06-18 15:29:46 UTC) #25
kenrb
ipc lgtm
6 years, 6 months ago (2014-06-18 15:38:45 UTC) #26
troyhildebrandt
On 2014/06/18 at 15:29:46, danakj wrote: > https://codereview.chromium.org/332873005/diff/120001/content/common/cc_messages_unittest.cc > File content/common/cc_messages_unittest.cc (right): > > https://codereview.chromium.org/332873005/diff/120001/content/common/cc_messages_unittest.cc#newcode65 ...
6 years, 6 months ago (2014-06-18 17:06:57 UTC) #27
danakj
Thanks! LGTMagain. +piman for content/ OWNERS
6 years, 6 months ago (2014-06-18 17:08:13 UTC) #28
piman
LGTM for content/
6 years, 6 months ago (2014-06-18 21:08:13 UTC) #29
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-18 21:17:20 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/140001
6 years, 6 months ago (2014-06-18 21:18:47 UTC) #31
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-18 21:55:26 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/160001
6 years, 6 months ago (2014-06-18 21:56:58 UTC) #33
troyhildebrandt
The CQ bit was unchecked by [email protected]
6 years, 6 months ago (2014-06-18 22:14:53 UTC) #34
troyhildebrandt
The CQ bit was checked by [email protected]
6 years, 6 months ago (2014-06-18 23:20:41 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/332873005/160001
6 years, 6 months ago (2014-06-18 23:23:49 UTC) #36
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 06:49:33 UTC) #37
Message was sent while issue was closed.
Change committed as 278288

Powered by Google App Engine
This is Rietveld 408576698