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

Issue 2961633002: cc: HUD handle context lost in Gpu raster.

Created:
3 years, 5 months ago by sohan
Modified:
3 years, 5 months ago
Reviewers:
vmpstr, ericrk
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: HUD handle context lost in Gpu raster. This returns the resource id in case the HUD canvas is invalid, because of context loss while SkSurface creation. The resource is subsequently evicted from quad list. BUG=736127 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel

Patch Set 1 #

Patch Set 2 : update #

Total comments: 9

Patch Set 3 : update #

Patch Set 4 : update #

Total comments: 8

Patch Set 5 : update comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -15 lines) Patch
M cc/layers/heads_up_display_layer_impl.h View 1 2 3 4 2 chunks +9 lines, -3 lines 0 comments Download
M cc/layers/heads_up_display_layer_impl.cc View 1 2 3 4 5 chunks +26 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 1 chunk +6 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
sohan
PTAL. Thanks.
3 years, 5 months ago (2017-06-27 12:04:57 UTC) #8
sohan
On 2017/06/27 12:04:57, sohan wrote: > PTAL. Thanks. Ping! :)
3 years, 5 months ago (2017-06-30 22:41:34 UTC) #9
vmpstr
https://codereview.chromium.org/2961633002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2961633002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode160 cc/layers/heads_up_display_layer_impl.cc:160: uint32_t HeadsUpDisplayLayerImpl::UpdateHudTexture( The actual return type is ResourceId (even ...
3 years, 5 months ago (2017-06-30 23:16:51 UTC) #10
sohan
PTAL. Thanks. https://codereview.chromium.org/2961633002/diff/80001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2961633002/diff/80001/cc/layers/heads_up_display_layer_impl.cc#newcode160 cc/layers/heads_up_display_layer_impl.cc:160: uint32_t HeadsUpDisplayLayerImpl::UpdateHudTexture( On 2017/06/30 23:16:51, vmpstr wrote: ...
3 years, 5 months ago (2017-07-04 16:51:13 UTC) #11
vmpstr
On 2017/07/04 16:51:13, sohan wrote: > PTAL. Thanks. > > https://codereview.chromium.org/2961633002/diff/80001/cc/layers/heads_up_display_layer_impl.cc > File cc/layers/heads_up_display_layer_impl.cc (right): ...
3 years, 5 months ago (2017-07-11 16:42:56 UTC) #12
sohan
On 2017/07/11 16:42:56, vmpstr wrote: > On 2017/07/04 16:51:13, sohan wrote: > > PTAL. Thanks. ...
3 years, 5 months ago (2017-07-12 21:05:25 UTC) #14
vmpstr
This is looking much better, mostly just request for comments. https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_display_layer_impl.cc File cc/layers/heads_up_display_layer_impl.cc (right): https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_display_layer_impl.cc#newcode827 ...
3 years, 5 months ago (2017-07-12 23:39:55 UTC) #15
sohan
3 years, 5 months ago (2017-07-13 11:34:13 UTC) #16
PTAL. Thanks.

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
File cc/layers/heads_up_display_layer_impl.cc (right):

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
cc/layers/heads_up_display_layer_impl.cc:827: ResourceId evict_resource_id =
resources_.back()->id();
On 2017/07/12 23:39:54, vmpstr wrote:
> Leave a detailed comment here please (explain 1. what this is doing and 2. why
> it's doing it)

Done.

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
cc/layers/heads_up_display_layer_impl.cc:830: it !=
render_pass->quad_list.end(); it++) {
On 2017/07/12 23:39:54, vmpstr wrote:
> nit: ++it

Done.

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
File cc/layers/heads_up_display_layer_impl.h (right):

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
cc/layers/heads_up_display_layer_impl.h:46: ResourceId UpdateHudTexture(DrawMode
draw_mode,
On 2017/07/12 23:39:54, vmpstr wrote:
> Leave a comment on what this returns please.

Done.

https://codereview.chromium.org/2961633002/diff/140001/cc/layers/heads_up_dis...
cc/layers/heads_up_display_layer_impl.h:58: void EvictHudQuad(const
RenderPassList& list);
On 2017/07/12 23:39:54, vmpstr wrote:
> Leave a comment for new functions please.

Done.

Powered by Google App Engine
This is Rietveld 408576698