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

Issue 1096703006: cc: Some more cleanup and removing TODOs for validating resources. (Closed)

Created:
5 years, 8 months ago by danakj
Modified:
5 years, 8 months ago
Reviewers:
piman
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org, enne (OOO)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Some more cleanup and removing TODOs for validating resources. This adds a LayerImpl::ValidateQuadResources() that each layer can call on quads that it appends. This function is empty when DCHECKs are off, which means it should be cheap/free in release builds. R=piman@chromium.org BUG=475894 Committed: https://crrev.com/f942757417b8472005abc6ef62dbc18d6d1bf86e Cr-Commit-Position: refs/heads/master@{#326903}

Patch Set 1 #

Total comments: 4

Patch Set 2 : cleanup2: inline #

Patch Set 3 : cleanup2: . #

Patch Set 4 : cleanup2: const #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -66 lines) Patch
M cc/layers/delegated_renderer_layer_impl.cc View 3 chunks +2 lines, -14 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/io_surface_layer_impl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M cc/layers/nine_patch_layer_impl.cc View 10 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/painted_scrollbar_layer_impl.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/texture_layer_impl.cc View 2 chunks +1 line, -2 lines 0 comments Download
M cc/layers/tiled_layer_impl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/ui_resource_layer_impl.cc View 2 chunks +1 line, -3 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 8 chunks +5 lines, -23 lines 0 comments Download
M cc/resources/resource_provider.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
danakj
WDYT?
5 years, 8 months ago (2015-04-23 22:52:20 UTC) #1
piman
LGTM, I like this. https://codereview.chromium.org/1096703006/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/1096703006/diff/1/cc/layers/layer_impl.cc#newcode304 cc/layers/layer_impl.cc:304: void LayerImpl::ValidateQuadResources(const DrawQuad* quad) const ...
5 years, 8 months ago (2015-04-23 22:55:10 UTC) #2
danakj
https://codereview.chromium.org/1096703006/diff/1/cc/resources/resource_provider.cc File cc/resources/resource_provider.cc (right): https://codereview.chromium.org/1096703006/diff/1/cc/resources/resource_provider.cc#newcode868 cc/resources/resource_provider.cc:868: CHECK(it != resources_.end()); On 2015/04/23 22:55:10, piman (Very slow ...
5 years, 8 months ago (2015-04-23 22:57:12 UTC) #3
danakj
https://codereview.chromium.org/1096703006/diff/1/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/1096703006/diff/1/cc/layers/layer_impl.cc#newcode304 cc/layers/layer_impl.cc:304: void LayerImpl::ValidateQuadResources(const DrawQuad* quad) const { On 2015/04/23 22:55:10, ...
5 years, 8 months ago (2015-04-23 22:58:07 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096703006/20001
5 years, 8 months ago (2015-04-23 23:03:01 UTC) #7
piman
awesome. lgtm.
5 years, 8 months ago (2015-04-23 23:12:53 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/81797)
5 years, 8 months ago (2015-04-23 23:16:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096703006/40001
5 years, 8 months ago (2015-04-24 16:44:47 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/82040)
5 years, 8 months ago (2015-04-24 16:57:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1096703006/60001
5 years, 8 months ago (2015-04-24 20:04:53 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 22:19:11 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 22:19:58 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f942757417b8472005abc6ef62dbc18d6d1bf86e
Cr-Commit-Position: refs/heads/master@{#326903}

Powered by Google App Engine
This is Rietveld 408576698