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

Issue 2017473002: cc: Lock resources directly in CALayerOverlay (Closed)

Created:
4 years, 7 months ago by ccameron
Modified:
3 years, 9 months ago
Reviewers:
erikchen
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Lock resources directly in CALayerOverlay When we move the CALayer tree to the browser process, we will want to ensure that we can access the GpuMemoryBuffer for a resource before we commit to representing it as a CALayerOverlay. This patch enables that. BUG=604052 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Patch Set 1 #

Total comments: 3

Patch Set 2 : incorporate review feedback #

Patch Set 3 : Disallow copy assign #

Patch Set 4 : Add operator= #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -27 lines) Patch
M cc/output/ca_layer_overlay.h View 1 2 3 3 chunks +12 lines, -7 lines 0 comments Download
M cc/output/ca_layer_overlay.cc View 1 2 3 6 chunks +16 lines, -11 lines 0 comments Download
M cc/output/gl_renderer.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M cc/output/overlay_candidate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/output/overlay_processor.h View 1 chunk +5 lines, -2 lines 0 comments Download
M cc/output/overlay_processor.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 10 (5 generated)
ccameron
ptal
4 years, 7 months ago (2016-05-26 00:16:38 UTC) #3
erikchen
lgtm https://codereview.chromium.org/2017473002/diff/1/cc/output/ca_layer_overlay.cc File cc/output/ca_layer_overlay.cc (right): https://codereview.chromium.org/2017473002/diff/1/cc/output/ca_layer_overlay.cc#newcode41 cc/output/ca_layer_overlay.cc:41: bool SetResource(ResourceProvider* resource_provider, I think the conditional should ...
4 years, 7 months ago (2016-05-26 00:32:01 UTC) #4
ccameron
Thanks! https://codereview.chromium.org/2017473002/diff/1/cc/output/ca_layer_overlay.cc File cc/output/ca_layer_overlay.cc (right): https://codereview.chromium.org/2017473002/diff/1/cc/output/ca_layer_overlay.cc#newcode41 cc/output/ca_layer_overlay.cc:41: bool SetResource(ResourceProvider* resource_provider, On 2016/05/26 00:32:01, erikchen wrote: ...
4 years, 7 months ago (2016-05-26 18:49:15 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2017473002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2017473002/60001
4 years, 7 months ago (2016-05-26 23:38:39 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-27 00:43:14 UTC) #10
Try jobs failed on following builders:
  win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)

Powered by Google App Engine
This is Rietveld 408576698